File: 0002-patch-out-zipp.patch

package info (click to toggle)
python-importlib-metadata 8.7.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 496 kB
  • sloc: python: 2,021; sh: 7; makefile: 3
file content (24 lines) | stat: -rw-r--r-- 565 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
--- a/importlib_metadata/__init__.py
+++ b/importlib_metadata/__init__.py
@@ -836,8 +836,7 @@
         return []
 
     def zip_children(self):
-        # deferred for performance (python/importlib_metadata#502)
-        from zipp.compat.overlay import zipfile
+        import zipfile
 
         zip_path = zipfile.Path(self.root)
         names = zip_path.root.namelist()
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -22,9 +22,6 @@
 ]
 requires-python = ">=3.9"
 license = "Apache-2.0"
-dependencies = [
-	"zipp>=3.20",
-]
 dynamic = ["version"]
 
 [project.urls]