[Package Issue Report]: python312Packages.pip missing
The documentation of devbox indicates that Python with pip should be setup by adapting the snippet with the actual version number of Python
{
"packages": [
"python312",
"python312Packages.pip"
],
"shell": {
"init_hook": ". $VENV_DIR/bin/activate"
}
}
but the python312Packages.pip package does not exist. In fact, no python312Packages.xxx exists at all. Is there a reason why these packages are missing for Python 3.12?
@mdomke thanks for reporting this. It's not clear to me why those packages do not exist for python312 -- it looks like they were never added or surfaced in the core nixpkgs repo.
I think a better way to work around this is to use the pip binary that is bundled with [email protected]. Our current plugin only creates a virtual environment if you explicitly add a pip package, but we could make it work with the python package as well. I can link a PR once I finish testing this
@Lagoja thank you for the quick response and also for providing a fix. I think your pull-request has been approved so that you could merge it, what do you think?
Merged now! Will work on getting a release out with this in the next week.
@Lagoja close task?