8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 023d2c1 commit d3a7f69Copy full SHA for d3a7f69
importlib_resources/tests/zip.py
@@ -7,6 +7,8 @@
7
import pathlib
8
import zipfile
9
10
+import zipp
11
+
12
13
def make_zip_file(src, dst):
14
"""
@@ -16,6 +18,7 @@ def make_zip_file(src, dst):
16
18
for src_path, rel in walk(src):
17
19
dst_name = src.name / pathlib.PurePosixPath(rel.as_posix())
20
zf.write(src_path, dst_name)
21
+ zipp.CompleteDirs.inject(zf)
22
return dst
23
24
setup.cfg
@@ -44,6 +44,7 @@ testing =
44
pytest-ruff
45
46
# local
47
+ zipp >= 3.17
48
49
docs =
50
# upstream
0 commit comments