We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 19b5dcc commit 1f8a2f2Copy full SHA for 1f8a2f2
pypi_browser/packaging.py
@@ -128,7 +128,7 @@ async def entries(self) -> typing.Set[PackageEntry]:
128
@contextlib.asynccontextmanager
129
async def open_from_archive(self, path: str) -> typing.AsyncIterator[AsyncArchiveFile]:
130
if self.package_format is PackageFormat.ZIPFILE:
131
- zf = await asyncio.to_thread(zipfile.ZipFile, self.path, metadata_encoding=None)
+ zf = await asyncio.to_thread(zipfile.ZipFile, self.path) # type: ignore
132
try:
133
zip_archive_file = await asyncio.to_thread(zf.open, path)
134
async with AsyncArchiveFile(zip_archive_file) as wrapped:
0 commit comments