diff options
Diffstat (limited to 'debian/patches/0002-use-system-tomli.patch')
-rw-r--r-- | debian/patches/0002-use-system-tomli.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/debian/patches/0002-use-system-tomli.patch b/debian/patches/0002-use-system-tomli.patch new file mode 100644 index 0000000..5d9fa65 --- /dev/null +++ b/debian/patches/0002-use-system-tomli.patch @@ -0,0 +1,23 @@ +From: Scott Kitterman <scott@kitterman.com> +Date: Thu, 30 Dec 2021 09:10:52 -0500 +Subject: use system tomli in python lt 3_11 + +Origin: vendor +Forwarded: not-needed +--- + flit_core/flit_core/config.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/flit_core/flit_core/config.py b/flit_core/flit_core/config.py +index 1292956..3fd0bd5 100644 +--- a/flit_core/flit_core/config.py ++++ b/flit_core/flit_core/config.py +@@ -11,7 +11,7 @@ try: + import tomllib + except ImportError: + try: +- from .vendor import tomli as tomllib ++ import tomli as tomllib + # Some downstream distributors remove the vendored tomli. + # When that is removed, import tomli from the regular location. + except ImportError: |