News for hackers. Stuff that matters.
Re:Pyenv – lets you easily switch between multiple versions ... by codethief on Monday March 25, 2024 @08:07AM (#39815263)
asdf can be used as an alternative to pyenv. (In fact, it is not only meant for the Python ecosystem, so it can also replace nvm and others.)

For me, the combination of asdf and Poetry has worked quite well recently: I use asdf to pin the Python & Poetry version and then use Poetry to pin everything else.

Re:Pyenv – lets you easily switch between multiple versions ... by leetrout on Monday March 25, 2024 @08:37AM (#39815556)
Point of clarification: asdf uses python-build which is from pyenv.

https://github.com/asdf-community/asdf-python?tab=readme-ov-...

Re:Pyenv – lets you easily switch between multiple versions ... by codethief on Monday March 25, 2024 @01:07PM (#39818753)
True. I mentioned asdf mainly because it can be used with many languages & tools and is not restricted to the Python ecosystem.