Skip to content

Commit

Permalink
Update micropip/wheelinfo.py
Browse files Browse the repository at this point in the history
Co-authored-by: Agriya Khetarpal <[email protected]>
  • Loading branch information
ryanking13 and agriyakhetarpal authored Dec 12, 2024
1 parent 884fc24 commit dfd6336
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 dfd6336

Please sign in to comment.