New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add an option to resolve to prereleases in pyenv install
/pyenv latest
#2622
Comments
That's intended. In fact, not excluding alphas from the get-go was an oversight. |
We excluded unstable versions from auto-resolution on an assumption that otherwise, it would always resolve to an unstable version -- as the closest to the bleeding edge -- while most people are rather interested in the latest stable release. |
Good to know!
I didn't think about that. That wouldn't be a problem for most CPython versions (e.g., I guess my thought is that something should be done in the case where there is no stable version available. If I enter |
I agree that for the likes of To make further argument either way productive, could you describe your use case? Then we can assess what can and cannot work for you. |
My specific use case is installing the latest version of all minor CPython versions. I use the following command: pyenv install --skip-existing 3.{7,8,9,10,11,12} Without
I guess my assumption is that the user knows whether a Python version has been officially released or not. If they don't know, the
That's exactly what I would want. Once |
My best idea is a |
Maybe we should even only include prereleases. |
I think that Sorry for the long time to respond. I lost track of this issue. |
pyenv install 3.12
no longer resolves to alpha versionspyenv install
/pyenv latest
Description
Apple clang version 14.0.0 (clang-1400.0.29.202)
After the update to 2.3.13, I tried running
pyenv install 3.12
to install the latest alpha,3.12.0a5
, but it failed with the errorpython-build: definition not found: 3.12
. At some point after installing pyenv 2.3.11, I was able to use the same command to install3.12.0a4
. This therefore appears to be a regression.The text was updated successfully, but these errors were encountered: