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

Support Python 3.11 by default #3190

Closed
Tracked by #700
johnnynunez opened this issue Oct 26, 2022 · 15 comments
Closed
Tracked by #700

Support Python 3.11 by default #3190

johnnynunez opened this issue Oct 26, 2022 · 15 comments

Comments

@johnnynunez
Copy link

Yeah! Python 3.11 support please. It should be the default.
Python 3.11 is between 10-60% faster than Python 3.10. On average, we measured a 1.25x speedup on the standard benchmark suite. See Faster CPython for details.
https://docs.python.org/3.11/whatsnew/3.11.html
https://www.phoronix.com/news/Python-3.11-Released

Benchmark https://www.phoronix.com/review/python-311-performance

@mayankmalik-colab
Copy link
Contributor

We are working on Python upgrade, along with some other imp features. We will be more consistent with upgrades going forward.

@adamjstewart
Copy link

PyTorch doesn't even support Python 3.11 yet. 3.10 is more realistic.

@johnnynunez
Copy link
Author

PyTorch doesn't even support Python 3.11 yet. 3.10 is more realistic.

PyTorch is support python 3.11 partially. The problem is that torchvision among other libraries are blocked from updating because they depend on anaconda (which has already expressly said that it is working on adding python 3.11), since there are libraries like libpng that are in anaconda and torchvision makes use of them.

@adamjstewart
Copy link

Ah true, it's supported on Linux, which is all we really care about. I still think the second most recent minor version is a better default. That's what package managers like Conda/Homebrew/Spack default to.

@adamjstewart
Copy link

TensorFlow does not yet support 3.11, which Google is probably more concerned about 😆

@johnnynunez
Copy link
Author

Ah true, it's supported on Linux, which is all we really care about. I still think the second most recent minor version is a better default. That's what package managers like Conda/Homebrew/Spack default to.

Screenshot 2023-01-17 at 23 45 59

https://pytorch.org/blog/PyTorch-1.13-release/
It's on PyTorch documentation.

@johnnynunez
Copy link
Author

TensorFlow does not yet support 3.11, which Google is probably more concerned about 😆

if you look at the issues the next version will already be compatible.

@johnnynunez
Copy link
Author

@mayankmalik-colab Python 3.11 is out in anaconda
ContinuumIO/anaconda-issues#13082 (comment)

conda create -n py311 python=3.11

@earlev4
Copy link

earlev4 commented Feb 5, 2023

We are working on Python upgrade, along with some other imp features. We will be more consistent with upgrades going forward.

Hi @mayankmalik-colab. Is there any status on the Python upgrade and/or other improved features. Thanks so much!

@ZetiMente
Copy link

ZetiMente commented Dec 11, 2023

Hi! It is now December and would love to have Python 3.11 in Colab...
Is this in the works to be released soon or is there an easy way for me to upgrade on my own?
Thanks!

@ChristopherEeles
Copy link

Any updates on this? Python 3.10 is pretty old now.

@cameronraysmith
Copy link

Maybe we should imagine we need to help users migrate to Project IDX to get this support going forward.

@ZetiMente
Copy link

wen!?

@jhamman
Copy link

jhamman commented Oct 8, 2024

@metrizable, @mayankmalik-colab, @cperry-goog - Much of the Scientific Python ecosystem (numpy, scipy, etc.) will start dropping support for Python 3.10 this quarter based on Spec 0000. Perhaps this is the time to bump Colab to 3.11?

@EvanWiederspan
Copy link

We will be updating to Python 3.11 in early January, see #4935

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

No branches or pull requests

10 participants