We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6975f07 commit 6145f24Copy full SHA for 6145f24
src/hooks/usePyodide.tsx
@@ -412,8 +412,9 @@ async def _install_requirements_from_dir(dir: str) -> None:
412
extras.update({e.strip() for e in match_extras.group(2).split(",")})
413
414
if pkg_name not in micropip.list():
415
- print(f"Installing {req} ...")
416
- await micropip.install(req)
+ # Install package req without extras, which we handle ourselves
+ # because micropip.install() doesn't actually install extras
417
+ await micropip.install(re.sub(r"\\[[^\\]]*\\]", "", req))
418
419
if len(extras) == 0:
420
continue
0 commit comments