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
xref duckdb/duckdb-pyodide#6. This is reproducible when using PyScript and Pyoddie. I've filed this issue here as a reminder for us to investigate, as it concerns our behaviour with custom wheels and isn't an issue with PyScript.
Stack trace:
Uncaught (in promise) PythonError: Traceback (most recent call last):
File "/lib/python3.12/site-packages/micropip/package_manager.py", line 175, in freeze
return freeze_lockfile(self.repodata_packages, self.repodata_info)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/lib/python3.12/site-packages/micropip/freeze.py", line 16, in freeze_lockfile
return json.dumps(freeze_data(lockfile_packages, lockfile_info))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/lib/python3.12/site-packages/micropip/freeze.py", line 27, in freeze_data
packages = dict(sorted(package_items))
^^^^^^^^^^^^^^^^^^^^^
TypeError: '<' not supported between instances of 'dict' and 'dict'
The text was updated successfully, but these errors were encountered:
Testing this a bit: I can't reproduce it on the stable Pyodide console (the latest one won't work as we've broken the ABI now), but I can do so with the linked reproducer in the issue.
xref duckdb/duckdb-pyodide#6. This is reproducible when using PyScript and Pyoddie. I've filed this issue here as a reminder for us to investigate, as it concerns our behaviour with custom wheels and isn't an issue with PyScript.
Stack trace:
The text was updated successfully, but these errors were encountered: