conda-incubator / conda-pypi

Better PyPI interoperability for the conda ecosystem
https://conda-incubator.github.io/conda-pypi/
MIT License
12 stars 1 forks source link

Handle `python` upgrades #11

Open jaimergp opened 7 months ago

jaimergp commented 7 months ago

When an environment changes python versions (e.g. from 3.9 to 3.10), the conda-pip installed packages will have to be reinstalled for the new version too. Usually, conda does that automatically as part of the solve and noarch: python handling, but since right now we are not injecting that metadata, then they will be missed.

I see two solutions:

Maybe the solution is a hybrid approach, but for now I think the first option is more robust.