Skip to content
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

latest python version not listed on Pyenv for mac os #2952

Open
Trid-collab opened this issue Apr 29, 2024 · 5 comments
Open

latest python version not listed on Pyenv for mac os #2952

Trid-collab opened this issue Apr 29, 2024 · 5 comments

Comments

@Trid-collab
Copy link

I am using pyenv for installing python for wsl -Ubuntu on windows and macos. When I run pyenv install -l it shows the latest python version 3.12.3 whereas the same command on the latest version on mac os doesn't show that 3.12.3- its still at 3.12.2. How do it update that

@ViktorHaag
Copy link
Contributor

ViktorHaag commented Apr 29, 2024

It depends how you install pyenv on MacOS.

The PR to add support for 3.12.3 was merged three weeks ago, but has not yet been built into a release bundle (the latest release bundle currently is 2.4.0).

If you keep track of pyenv via installing via homebrew, for example, that 2.4.0 bundle is the latest one available.

Once this project rolls a new release that includes PR #2941, homebrew will eventually notice that new release and make it available. (See the notes in that PR for more information on this topic, and the workaround I suggest below.)

You might be able to get access to this more recent commit now by installing pyenv --HEAD with homebrew (which effectively means you're building this from source from the latest commit here) or you might want to keep the stability of just tracking releases as they are made and wait for the next release which will likely include support for 3.12.3.

@bulletmark
Copy link

Python 3.12.3 was released nearly a month ago but still not available in the latest release of pyenv. Many people use pyenv because they want the latest and greatest Python version before it is available on their distro. On Arch, stock Python is now 3.12.3 but the latest pyenv (v2.4.0) can give me is 3.12.2. Seems odd that no new pyenv release has been made.

@ViktorHaag
Copy link
Contributor

ViktorHaag commented May 3, 2024

I think it was just unfortunate timing. Reading the comments in PR #2941 suggests that pyenv has scheduled monthly releases, and the change to add support for 3.12.3 was added in immediately after a release was made, so that means waiting a month. In my view, waiting a month for a release is not an onerous burden; perhaps the maintainers could make it more clear what the release schedule is (in the docs perhaps?) so that expectations can be more clearly set.

But in my view, really it’s just a matter of being patient, or using the HEAD version of the code as commented as a workaround (and willing to take the risks that using a tip/dev version of a package entails).

@native-api
Copy link
Member

We're currently collecting feedback on the desired release schedule at https://github.com/orgs/pyenv/discussions/2940

@Trid-collab
Copy link
Author

Trid-collab commented May 5, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants