Skip to content

Commit

Permalink
Merge branch 'pep-658-take2' of https://github.com/ryanking13/micropip
Browse files Browse the repository at this point in the history
…into pep-658-take2
  • Loading branch information
ryanking13 committed Dec 12, 2024
2 parents a2dabb4 + dfd6336 commit e1ed75c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions micropip/wheelinfo.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,9 +142,9 @@ async def download(self, fetch_kwargs: dict[str, Any]):
if self._metadata is None:
with zipfile.ZipFile(io.BytesIO(self._data)) as zf:
metadata_path = (
wheel_dist_info_dir(zf, self.name) + "/" + Metadata.PKG_INFO
Path(wheel_dist_info_dir(zf, self.name)) / Metadata.PKG_INFO
)
self._metadata = Metadata(zipfile.Path(zf, metadata_path))
self._metadata = Metadata(zipfile.Path(zf, str(metadata_path)))

def pep658_metadata_available(self) -> bool:
"""
Expand Down

0 comments on commit e1ed75c

Please sign in to comment.