You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
File "/session/metadata/entry.py", line 31, in root
micropip.freeze()
File "/session/lib/python3.12/site-packages/micropip/_commands/freeze.py", line 37, in freeze
fix_package_dependencies(name)
File "/session/lib/python3.12/site-packages/micropip/_utils.py", line 255, in fix_package_dependencies
fix_package_dependencies(req_name, extras=list(req_extras))
File "/session/lib/python3.12/site-packages/micropip/_utils.py", line 214, in fix_package_dependencies
dist = Distribution.from_name(package_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/lib/python312.zip/importlib/metadata/__init__.py", line 399, in from_name
raise PackageNotFoundError(name)
importlib.metadata.PackageNotFoundError: No package metadata was found for click
The text was updated successfully, but these errors were encountered:
Hi @mscolnick, thanks for the report!! I think this is the same issue as #180, as the installation failed when the deps argument was set to False, and no metadata was found for the package as it wasn't installed. This should be fixed with #187 (I double-checked in a CI environment via #196), which has been released with version 0.9.0 today.
I'm trying to update micropip to the new version in Pyodide via pyodide/pyodide#5404.
Please let me know in case any other problems arise when micropip 0.9 is available. I'll mark this issue as closed for now. :)
Repro code:
Stack trace:
The text was updated successfully, but these errors were encountered: