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
Of note, when trying to freeze a conda environment, the normal pip freeze doesn't work as it includes Conda package details. python -m pip list --format=freeze > requirements.txt is the trick.
Ok, pretty much all taken care of, but I started pondering if we could remove the need for having different environments instead and then got distracted and never finished writing the issue...
It really nicely helps manage a lock file for Conda and PyPI dependencies, and can track various tasks, so we could capture the docs serving and requirements freezing commands. I think we could automate requirements freezing reasonably with Github Actions (or at least checking), and getting Read the Docs to use it
Activity
abkfenris commentedon May 2, 2023
It might be worth making a 'locked environment' too, so that we have a known state that we can always pin to if needed.
conda env exportI believe.abkfenris commentedon May 24, 2023
Largely taken care of via #246
Of note, when trying to freeze a conda environment, the normal
pip freezedoesn't work as it includes Conda package details.python -m pip list --format=freeze > requirements.txtis the trick.emiliom commentedon May 25, 2023
Woo-hoo! Thanks!
Largely? Is what remains this?
BTW, pinning to Python 3.8: not terrible, but yikes.
abkfenris commentedon May 25, 2023
Ok, pretty much all taken care of, but I started pondering if we could remove the need for having different environments instead and then got distracted and never finished writing the issue...
abkfenris commentedon Apr 25, 2024
Have you tried Pixi?
It really nicely helps manage a lock file for Conda and PyPI dependencies, and can track various tasks, so we could capture the docs serving and requirements freezing commands. I think we could automate requirements freezing reasonably with Github Actions (or at least checking), and getting Read the Docs to use it
emiliom commentedon Apr 25, 2024
I haven't, but my curiosity was piqued when you mentioned at the last SC meeting how it had matured.