-
Notifications
You must be signed in to change notification settings - Fork 532
feature: pyenv install latest #507
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
Conversation
Is there a recommended way to upgrade all floating, latest installations? An invocation like |
There is no way to do that either here or in pyenv/pyenv |
I'd love to see this go forward! It's close to impossible to use |
The absence of this feature is blocking our org from using pyenv in CI on Windows. |
Sorry, I should have made time for this sooner. |
Usage and behavior is the same as in the original version of pyenv-latest. Prefix auto-resolution to the latest version also turned on for such commands: install, global, local So, from now user can just execute the following commands without the need of searching for latest patch version (or even minor) pyenv install 3.10 pyenv global 3.10
From now it may pin python version without patch. Also fixed pyenv-install without arguments: it should pick the local/global version and then install it.
a0a5955
to
10a113e
Compare
@bb010g Could you please submit your review. |
@kirankotari do you know if there is any hope this PR will get merged at some point? This is almost 1 year old, and without these changes pyenv-win is not usable in CI setups. Would it be possible to find someone else among the contributors to speed up the review and approval process? |
@kirankotari Could a member of the @pyenv-win org grant access to Reviewable for this organization? (See https://docs.reviewable.io/registration.html.) Just drafted a review on there with a few comments before realizing I couldn't publish it. (At least for me, GitHub's application settings page for Reviewable is https://github.com/settings/connections/applications/7da38b6fb966259af6d5; you might be able to request/grant access from there. Alternatively, https://github.com/orgs/pyenv-win/policies/applications/128315 should work.) |
@nicocvn If your major need is related to GitHub workflows, I wrote a simple composite action to install The example below would install e.g. the latest available Python 3.11:
Internally, the action is using |
Usage and behavior is the same as in the original version of pyenv-latest (refers to this)
Prefix auto-resolution to the latest version also turned on for such commands: install, uninstall, global, local
So, from now user can just execute the following commands without having to search for the latest patch (and even minor) version
Closes #407, closes #372
note: issues above are outdated, pyenv-latest behavior has been changed and my PR fully (i hope so) supports it