File: remove_tomllib.patch

package info (click to toggle)
veusz 4.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 13,824 kB
  • sloc: python: 42,130; cpp: 11,268; ansic: 1,256; javascript: 788; makefile: 246; xml: 84
file content (16 lines) | stat: -rw-r--r-- 408 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Description: tomli is not needed for newer Pythons, so use tomllib instead
Author: Jeremy Sanders <jeremy@jeremysanders.net>
Forwarded: not-needed
Last-Update: 2025-06-19

--- a/pyqt_setuptools.py
+++ b/pyqt_setuptools.py
@@ -8,7 +8,7 @@
 import os
 import shutil
 import subprocess
-import tomli
+import tomllib as tomli
 
 from sysconfig import get_path
 from setuptools.command.build_ext import build_ext