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

New release of pyenv to support Python 3.9.1 #1760

Closed
bryanculbertson opened this issue Dec 21, 2020 · 22 comments
Closed

New release of pyenv to support Python 3.9.1 #1760

bryanculbertson opened this issue Dec 21, 2020 · 22 comments

Comments

@bryanculbertson
Copy link

There has only been 6 commits since v1.2.21, but crucially one of them is support for Python 3.9.1. Would it be possible to cut a release and push to pypi?

v1.2.21...master

@00willo
Copy link

00willo commented Dec 30, 2020

This would be fantastic, this also impacts those who have installed pyenv via homebrew, which just needs the release in github.

@quantumferret
Copy link

Yes please! It's frustrating to not have access to the latest python release through pyenv.

@Dr-ZeeD
Copy link

Dr-ZeeD commented Jan 3, 2021

You can always do brew reinstall --HEAD pyenv when using homebrew :)

@cclauss
Copy link
Contributor

cclauss commented Jan 4, 2021

@joshfriend Can you please help us understand how to achieve this release?

@bryanculbertson
Copy link
Author

Hi @yyuu 👋 since you have managed previous releases I am tagging you to see if we could get a v1.2.22 release for CPython 3.9.1. Thanks!

@Achimh3011
Copy link

You can always do brew reinstall --HEAD pyenv when using homebrew :)

Actually it is

$ brew unlink pyenv
$ brew install --HEAD pyenv

@cclauss
Copy link
Contributor

cclauss commented Jan 6, 2021

Yeah @Achimh3011 The HEAD hack is fine for individual developers but is not really recommended for production projects.

@Esgrove
Copy link

Esgrove commented Jan 7, 2021

Is there something blocking this? Python 3.9.1 has already been out for a full month so it is sad to see this has still not been added.

@bryanculbertson
Copy link
Author

Hi @poad 👋 I am tagging you since you submitted the PR to add support for Python 3.9.1. Could you assist in assembling a v1.2.22 release of pyenv to release your change to PyPi. Thanks!

@poad
Copy link
Contributor

poad commented Jan 8, 2021

Hi @bryanculbertson.
I would like to assist, what exactly do I need to do?

Do I just need to make sure that the changes in plugins/python-build/share/python-build/3.9.1 are identical to #1752?

@bryanculbertson
Copy link
Author

Hi @poad thank you for responding!

I don't know how to conduct a release, and if you don't know how to either, then we are probably stuck waiting on one of the pyenv maintainers to chime in @yyuu @joshfriend or @blueyed

From a little bit of research of looking at a previous release (v1.2.12...v1.2.13), it looks like you update https://github.com/pyenv/pyenv/blob/master/CHANGELOG.md and https://github.com/pyenv/pyenv/blob/master/libexec/pyenv---version and then create a new github release.

This all seems simple, but probably need a maintainer to do the steps.

@poad
Copy link
Contributor

poad commented Jan 8, 2021

Hi @bryanculbertson thank you for responding!

I don't know either, so I'll wait for a response from pyenv maintainers.

Thanks for letting me know.

@yyuu yyuu closed this as completed in dc70546 Jan 10, 2021
@cclauss
Copy link
Contributor

cclauss commented Jan 10, 2021

Well done @yyuu Thanks!

@ssbarnea
Copy link
Contributor

ssbarnea commented Jan 26, 2021

Something is wrong here as 1.2.21 does not list 3.9.1

pyenv --version
pyenv 1.2.21

Both pytenv-update and brew upgrade do not bring a newer version and pyenv install --list|grep 3.9 still does not list 3.9.1

Uninstalling and installing from head is clearly not what I would call a release process.

@dbowring
Copy link

@ssbarnea This issue was resolved for 1.2.22:

$ pyenv --version
pyenv 1.2.22

$ pyenv install --list | grep 3.9
  3.9.0
  3.9-dev
  3.9.1
  miniconda-3.9.1
  miniconda3-3.9.1

@cclauss
Copy link
Contributor

cclauss commented Jan 26, 2021

@muthukumars
Copy link

my pyenv is 2.0.7. python 3.9.1 is not available in pyenv install --list. any help?

@native-api
Copy link
Member

@muthukumars It's available in 2.0.7. Check which Pyenv you're using, you might have two copies on your system.

@muthukumars
Copy link

@native-api thank you for responding. I have checked pyenv --version. it shows 2.0.7.

when I do pyenv install --list | grep 3.9

I get

3.9.0a4
3.9-dev
miniconda-3.9.1
miniconda3-3.9.1

for some reason, I do not see 3.9.1

Please suggest

@native-api
Copy link
Member

Check the contents of $(pyenv root)/plugins/pyenv-build/share/pyenv-build and $(which pyenv)/../plugins/pyenv-build/share/pyenv-build (if exists). There should be script files for all versions available for install.

@native-api
Copy link
Member

I get

3.9.0a4

This definitely means that you have an older version installed -- most probably, one via Homebrew and another via Git checkout in ~/.pyenv. Assuming the more recent version is the Homebrew one, clean out everything from ~/.pyenv (except ~/.pyenv/versions if you wish to preserve the alt versions) and restart the terminal.

@muthukumars
Copy link

Super.. @native-api - Yes. I did that now I am able to see it. you are right. after cleaning, I am able to see it. thank you so much. I am just wondering what has happened in my laptop. thank you so much for helping.

if you can let me know after cleaning up ~./.pyenv - I am able to get the options. wondering what is happening in my laptop.

thank you
Muthukumar

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