News for hackers. Stuff that matters.
Re:Pyenv – lets you easily switch between multiple versions ... by _dain_ on Monday March 25, 2024 @07:31AM (#39814947)
>The other part is OS state

And that's the whole problem. "The same Python environment" doesn't mean much because it underspecifies the full runtime dependency chain.

Re:Pyenv – lets you easily switch between multiple versions ... by bvrmn on Monday March 25, 2024 @07:37AM (#39815001)
It's inherit problem for all languages based on some runtime. Java, PHP, Ruby, whatever have the same issue. And TBH it's not very major issue to start with.

No other solution besides fixed OS (containers, nix) could solve this problem.

Re:Pyenv – lets you easily switch between multiple versions ... by _dain_ on Monday March 25, 2024 @07:40AM (#39815028)
>No other solution besides fixed OS (containers, nix) could solve this problem.

You don't have to use NixOS to use Nix. You can install it on any Linux distro, or MacOS, and use it as your build system.

Re:Pyenv – lets you easily switch between multiple versions ... by jitl on Monday March 25, 2024 @10:04AM (#39816471)
The link posted solved this problem without containers
Re:Pyenv – lets you easily switch between multiple versions ... by bvrmn on Monday March 25, 2024 @11:19AM (#39817413)
Github issues for pyenv show a slightly opposite picture.