🐛 Bug
- I want to install
typing-extensions==4.10.0, no problem, import micropip; await micropip.install(["typing-extensions==4.10.0"]) and I get it from pypi.
- I add pydantic, so I execute:
import micropip; await micropip.install(["typing-extensions==4.10.0", "pydantic"]). In the dev console I first see 4.10.0 fetched from pypi, then pydantic from the cdn, and then (the bug) it fetches an older version from the CDN (https://cdn.jsdelivr.net/pyodide/v0.25.1/full/typing_extensions-4.7.1-py3-none-any.whl)
It seems the loadPackage from pyodide installs the dependencies of pydantic without realizing 4.10.0 is installed. I also see the old install overwrites the 4.10.0 one.
To Reproduce
Go to https://pyodide.org/en/stable/console.html
and execute import micropip; await micropip.install(["typing-extensions==4.10.0", "pydantic"])
Expected behavior
I should not get typing_extensions 4.7.0
Environment
A possible workaround would be to install 1 package at a time, but I don't know if that leads to different behaviour.