Skip to content

Commit

Permalink
go back to installing all deps at once
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelcolvin committed Feb 8, 2025
1 parent da25f21 commit cfbe6f8
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/frontend/src/prepare_env.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,10 +123,7 @@ def custom_find_wheel(metadata: Any, req: Any) -> Any:

with _micropip_logging() as logs_filename:
try:
# await micropip.install(install_dependencies, keep_going=True)
# allows a workaround for https://github.com/pyodide/micropip/issues/201
for dep in install_dependencies:
await micropip.install(dep)
await micropip.install(install_dependencies, keep_going=True)
importlib.invalidate_caches()
except Exception:
with open(logs_filename) as f:
Expand Down

0 comments on commit cfbe6f8

Please sign in to comment.