Skip to content

Commit fc3f315

Browse files
committed
Replace zipp dependency with stdlib
1 parent 0734928 commit fc3f315

File tree

3 files changed

+1
-8
lines changed

3 files changed

+1
-8
lines changed

importlib_metadata/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -821,7 +821,7 @@ def children(self):
821821

822822
def zip_children(self):
823823
# deferred for performance (python/importlib_metadata#502)
824-
from zipp.compat.overlay import zipfile
824+
import zipfile
825825

826826
zip_path = zipfile.Path(self.root)
827827
names = zip_path.root.namelist()

mypy.ini

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,6 @@ disable_error_code =
1818
[mypy-pytest_perf.*]
1919
ignore_missing_imports = True
2020

21-
# jaraco/zipp#123
22-
[mypy-zipp.*]
23-
ignore_missing_imports = True
24-
2521
# jaraco/jaraco.test#7
2622
[mypy-jaraco.test.*]
2723
ignore_missing_imports = True

pyproject.toml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,6 @@ classifiers = [
2222
]
2323
requires-python = ">=3.9"
2424
license = "Apache-2.0"
25-
dependencies = [
26-
"zipp>=3.20",
27-
]
2825
dynamic = ["version"]
2926

3027
[project.urls]

0 commit comments

Comments
 (0)