Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
pyenv: init at 1.2.20 #94769
Motivation for this change
pyenv is a pure shell (i.e., it does not depend on Python) Python version manager. Spiritually, it is similar to rbenv. The anticipated use case is to ease Python development when one is already using nixpkgs to configure one's system.
Of note, this PR does for
There are some thorny challenges. For example,
All in all, it seems pyenv will be difficult to effectively wire up with Nix.
https://nixos.org/nixos/packages.html?attr=poetry&channel=nixpkgs-unstable&query=poetry manages to bring along Python in a way that works, so I'm going to leave that link here for future searches.
Of course, this means you can't use an arbitrary Python version (via the linked Poetry Nix package).