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 9d50496 commit 223649bCopy full SHA for 223649b
micropip/wheelinfo.py
@@ -152,9 +152,11 @@ def requires(self, extras: set[str]) -> list[Requirement]:
152
return requires
153
154
async def _fetch_bytes(self, fetch_kwargs: dict[str, Any]):
155
- if self.parsed_url.scheme not in ("https", "http"):
+ if self.parsed_url.scheme not in ("https", "http", "emfs"):
156
# Don't raise ValueError it gets swallowed
157
- raise TypeError(f"Cannot download from a non-remote location: {self.url!r}")
+ raise TypeError(
158
+ f"Cannot download from a non-remote location: {self.url!r} ({self.parsed_url!r})"
159
+ )
160
try:
161
logger.debug("Fetching URL %r", self.url)
162
bytes = await fetch_bytes(self.url, fetch_kwargs)
0 commit comments