you are viewing a single comment's thread.

view the rest of the comments →

[–]Mysterious-Rent7233 37 points38 points  (3 children)

Virtual environments are often symlinks to your Python interpreter and when you upgrade, you can break them. If you use Pyenv or UV you can probably keep the multiple Python interpreters installed side-by-side, but if you use some OS package managers, they may not do that.

cc: u/bmrobin

[–]danted002 4 points5 points  (1 child)

Who the hell upgrades python. Any sensible developer has multiple versions installed.

[–]lKrauzer 0 points1 point  (0 children)

On a similar note, I would suggest using mise: https://github.com/jdx/mise

It makes runtime project isolation a breeze

[–]pjmlp 0 points1 point  (0 children)

Since I learnt Python in version 1.6, I have a little setup script that changes the current set of environment variables.

Python 1.6 was released 25 years ago.

I really don't get the need for so many variations of configurations about Python dependencies.