-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Python 3.11 support #11170
Comments
Python 3.11 is now in beta, which means no new features will be added. |
In response to this issue, I have created the following draft CEP (Conda Enhancement Proposal): After finishing and adopting this CEP, conda will have an official policy surrounding new (C)Python version adoption. |
Any update on this effort? Python 3.11 is now in the release candidate phase and will be released in two weeks. Many projects already support Python 3.11 and have wheels available, including NumPy, Pandas, SciPy, Matplotlib and Seaborn. |
@EwoutH, thanks for checking in. This issue is high on our priority list, and we hope to begin working on it in an upcoming sprint. I can not say for certain when this will be completed though. |
Thanks for getting back! Great to hear the team is working on this, keep us in the loop :) |
Yeah! Python 3.11 support please. It should be the default. |
Python 3.11.0 support please 🙏🏼 |
Hi @travishathaway! Do you have anything to share as of this moment? |
Anxious expectation python 3.11.0 |
We're now over 4 months over rc1 and almost two months after stable release. It's blocking many major projects. Could we get an update on 3.11 support? |
Preliminary PR for adding Python 3.11 support, mapping out various dependencies, fixing issues. ### Main changes - Upgrade cython to 0.29.32 - Add CI/CD steps for 3.11 wheel - Change cython code to not use `recursion_depth` - Update cloudpickle to latest - Use newer manylinux2014 which has python3.11 - Condition certain python packages in requirements.txt on <3.11 that don't yet have a 3.11 version ### Checklist: - cython - [x] remove deprecated `recursion_depth` - [x] exc_type cython/cython#4500 - [ ] package dependencies https://pyreadiness.org/3.11/ - [ ] llvmlite numba/llvmlite#869 - [ ] numba numba/numba#8304 - [ ] pyarrow - [ ] scikit-learn - [ ] pydantic - [x] cloudpickle - [x] upgrade cython to 0.29.32 - [ ] tensorflow tensorflow/tensorflow#58032 - [ ] torch pytorch/pytorch#86566 - [ ] miniconda conda/conda#11170 - [ ] `docker/base-deps/Dockerfile` - [x] claim to support 3.11 in setup.py - [ ] cicd - [ ] .buildkite/ - [ ] .buildkite/pipeline.build.yml - [ ] ci/ - [ ] ci/build/test-wheels.sh - [ ] ci/build/build-docker-images.py - [ ] release tests - [ ] docker/retag-lambda/python_versions.txt - [ ] download_wheels.sh - [ ] wheels - [ ] `python/build-wheel-macos.sh` - [ ] `python/build-wheel-windows.sh` - [ ] Tests - [ ] pytest ray/serve/tests - [ ] python python/ray/serve/examples/echo_full.py - [ ] bazel test //:core_worker_test - [ ] bazel test --build_tests_only //:all - [ ] //python/ray/tests:test_pydantic_serialization tiangolo/fastapi#5048 - [ ] //python/ray/train:test_torch_utils - [ ] Documentation - [x] installation.rst Current status: Linux and mac wheels build in CICD. Docker images will come in a separate PR.
Preliminary PR for adding Python 3.11 support, mapping out various dependencies, fixing issues. ### Main changes - Upgrade cython to 0.29.32 - Add CI/CD steps for 3.11 wheel - Change cython code to not use `recursion_depth` - Update cloudpickle to latest - Use newer manylinux2014 which has python3.11 - Condition certain python packages in requirements.txt on <3.11 that don't yet have a 3.11 version ### Checklist: - cython - [x] remove deprecated `recursion_depth` - [x] exc_type cython/cython#4500 - [ ] package dependencies https://pyreadiness.org/3.11/ - [ ] llvmlite numba/llvmlite#869 - [ ] numba numba/numba#8304 - [ ] pyarrow - [ ] scikit-learn - [ ] pydantic - [x] cloudpickle - [x] upgrade cython to 0.29.32 - [ ] tensorflow tensorflow/tensorflow#58032 - [ ] torch pytorch/pytorch#86566 - [ ] miniconda conda/conda#11170 - [ ] `docker/base-deps/Dockerfile` - [x] claim to support 3.11 in setup.py - [ ] cicd - [ ] .buildkite/ - [ ] .buildkite/pipeline.build.yml - [ ] ci/ - [ ] ci/build/test-wheels.sh - [ ] ci/build/build-docker-images.py - [ ] release tests - [ ] docker/retag-lambda/python_versions.txt - [ ] download_wheels.sh - [ ] wheels - [ ] `python/build-wheel-macos.sh` - [ ] `python/build-wheel-windows.sh` - [ ] Tests - [ ] pytest ray/serve/tests - [ ] python python/ray/serve/examples/echo_full.py - [ ] bazel test //:core_worker_test - [ ] bazel test --build_tests_only //:all - [ ] //python/ray/tests:test_pydantic_serialization tiangolo/fastapi#5048 - [ ] //python/ray/train:test_torch_utils - [ ] Documentation - [x] installation.rst Current status: Linux and mac wheels build in CICD. Docker images will come in a separate PR.
Due to be released on March 14, fingers crossed! |
Didn't see relevant info of 3.11 in the release note: https://github.com/conda/conda/releases/tag/23.3.0 But are we having 3.11 support officially? |
there are binaries for python 3.11 but not all |
This PR adds 3.11 in the allowed runtime env conda version which was made available during the recent conda 2.23.0 release. conda/conda#11170 (comment) It also fixes a a wheel rename for mac osx wheels from "*_intel.whl" to "*x86_64.whl" in recent builds. A previous intel wheel build for mac:https://buildkite.com/ray-project/oss-ci-build-branch/builds/1268#0184a81c-6dd7-4cd2-8534-b6f763b8ce24 A more recent x86_64 name wheel build: https://buildkite.com/ray-project/oss-ci-build-branch/builds/2599#0186badf-4b95-44fd-b57d-6e42d5462c1d Signed-off-by: rickyyx <rickyx@anyscale.com> Co-authored-by: scv119 <scv119@gmail.com>
This PR adds 3.11 in the allowed runtime env conda version which was made available during the recent conda 2.23.0 release. conda/conda#11170 (comment) It also fixes a a wheel rename for mac osx wheels from "*_intel.whl" to "*x86_64.whl" in recent builds. A previous intel wheel build for mac:https://buildkite.com/ray-project/oss-ci-build-branch/builds/1268#0184a81c-6dd7-4cd2-8534-b6f763b8ce24 A more recent x86_64 name wheel build: https://buildkite.com/ray-project/oss-ci-build-branch/builds/2599#0186badf-4b95-44fd-b57d-6e42d5462c1d Signed-off-by: rickyyx <rickyx@anyscale.com> Co-authored-by: scv119 <scv119@gmail.com> Signed-off-by: Jack He <jackhe2345@gmail.com>
This PR adds 3.11 in the allowed runtime env conda version which was made available during the recent conda 2.23.0 release. conda/conda#11170 (comment) It also fixes a a wheel rename for mac osx wheels from "*_intel.whl" to "*x86_64.whl" in recent builds. A previous intel wheel build for mac:https://buildkite.com/ray-project/oss-ci-build-branch/builds/1268#0184a81c-6dd7-4cd2-8534-b6f763b8ce24 A more recent x86_64 name wheel build: https://buildkite.com/ray-project/oss-ci-build-branch/builds/2599#0186badf-4b95-44fd-b57d-6e42d5462c1d Signed-off-by: rickyyx <rickyx@anyscale.com> Co-authored-by: scv119 <scv119@gmail.com>
When will the python3.11 image be available for testing? ghcr.io/conda/conda-ci:main-linux-python3.11 |
This PR adds 3.11 in the allowed runtime env conda version which was made available during the recent conda 2.23.0 release. conda/conda#11170 (comment) It also fixes a a wheel rename for mac osx wheels from "*_intel.whl" to "*x86_64.whl" in recent builds. A previous intel wheel build for mac:https://buildkite.com/ray-project/oss-ci-build-branch/builds/1268#0184a81c-6dd7-4cd2-8534-b6f763b8ce24 A more recent x86_64 name wheel build: https://buildkite.com/ray-project/oss-ci-build-branch/builds/2599#0186badf-4b95-44fd-b57d-6e42d5462c1d Signed-off-by: rickyyx <rickyx@anyscale.com> Co-authored-by: scv119 <scv119@gmail.com> Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>
This PR adds 3.11 in the allowed runtime env conda version which was made available during the recent conda 2.23.0 release. conda/conda#11170 (comment) It also fixes a a wheel rename for mac osx wheels from "*_intel.whl" to "*x86_64.whl" in recent builds. A previous intel wheel build for mac:https://buildkite.com/ray-project/oss-ci-build-branch/builds/1268#0184a81c-6dd7-4cd2-8534-b6f763b8ce24 A more recent x86_64 name wheel build: https://buildkite.com/ray-project/oss-ci-build-branch/builds/2599#0186badf-4b95-44fd-b57d-6e42d5462c1d Signed-off-by: rickyyx <rickyx@anyscale.com> Co-authored-by: scv119 <scv119@gmail.com>
This PR adds 3.11 in the allowed runtime env conda version which was made available during the recent conda 2.23.0 release. conda/conda#11170 (comment) It also fixes a a wheel rename for mac osx wheels from "*_intel.whl" to "*x86_64.whl" in recent builds. A previous intel wheel build for mac:https://buildkite.com/ray-project/oss-ci-build-branch/builds/1268#0184a81c-6dd7-4cd2-8534-b6f763b8ce24 A more recent x86_64 name wheel build: https://buildkite.com/ray-project/oss-ci-build-branch/builds/2599#0186badf-4b95-44fd-b57d-6e42d5462c1d Signed-off-by: rickyyx <rickyx@anyscale.com> Co-authored-by: scv119 <scv119@gmail.com>
This PR adds 3.11 in the allowed runtime env conda version which was made available during the recent conda 2.23.0 release. conda/conda#11170 (comment) It also fixes a a wheel rename for mac osx wheels from "*_intel.whl" to "*x86_64.whl" in recent builds. A previous intel wheel build for mac:https://buildkite.com/ray-project/oss-ci-build-branch/builds/1268#0184a81c-6dd7-4cd2-8534-b6f763b8ce24 A more recent x86_64 name wheel build: https://buildkite.com/ray-project/oss-ci-build-branch/builds/2599#0186badf-4b95-44fd-b57d-6e42d5462c1d Signed-off-by: rickyyx <rickyx@anyscale.com> Co-authored-by: scv119 <scv119@gmail.com> Signed-off-by: chaowang <chaowang@anyscale.com>
Python 3.11 support added via #12256, this will be included in the May release of |
Awesome, great to hear! Maybe this process can now be documented, while it's still fresh in everyones memory, so that it doesn't take so long for future Python releases. |
This PR adds 3.11 in the allowed runtime env conda version which was made available during the recent conda 2.23.0 release. conda/conda#11170 (comment) It also fixes a a wheel rename for mac osx wheels from "*_intel.whl" to "*x86_64.whl" in recent builds. A previous intel wheel build for mac:https://buildkite.com/ray-project/oss-ci-build-branch/builds/1268#0184a81c-6dd7-4cd2-8534-b6f763b8ce24 A more recent x86_64 name wheel build: https://buildkite.com/ray-project/oss-ci-build-branch/builds/2599#0186badf-4b95-44fd-b57d-6e42d5462c1d Signed-off-by: rickyyx <rickyx@anyscale.com> Co-authored-by: scv119 <scv119@gmail.com> Signed-off-by: elliottower <elliot@elliottower.com>
This PR adds 3.11 in the allowed runtime env conda version which was made available during the recent conda 2.23.0 release. conda/conda#11170 (comment) It also fixes a a wheel rename for mac osx wheels from "*_intel.whl" to "*x86_64.whl" in recent builds. A previous intel wheel build for mac:https://buildkite.com/ray-project/oss-ci-build-branch/builds/1268#0184a81c-6dd7-4cd2-8534-b6f763b8ce24 A more recent x86_64 name wheel build: https://buildkite.com/ray-project/oss-ci-build-branch/builds/2599#0186badf-4b95-44fd-b57d-6e42d5462c1d Signed-off-by: rickyyx <rickyx@anyscale.com> Co-authored-by: scv119 <scv119@gmail.com> Signed-off-by: Jack He <jackhe2345@gmail.com>
Since miniconda hasn't released Python 3.11 support yet as per conda/conda#11170 (comment)
* Add initial test workflow * Add decorator as test dependency * Move test dependencies into extras_require * Add environment.yml with packages taken from .travis.yml * Limit concurrency * Only trigger on PRs to default branch * Only upgrade packages if needed * Use conda-incubator/setup-miniconda instead of actions/setup-python * Remove atlas * Rename test.yaml to test.yml * `python -m pip` * Use login shell so conda environment gets activated * Remove dependencies * Remove upper bound on matplotlib * Expand build matrix 1. Use both flexible and strict channel priority for conda environment. 2. Include macOS and Windows for latest Python version. * Set use-only-tar-bz2 for caching As per https://github.com/conda-incubator/setup-miniconda/tree/v2/#caching-packages * Remove redundant dependency mention SciPy is already part of install_requires so not necessary to have it in extras_require as well. * mpl_ic.image_comparison -> pytest.mark.mpl_image_compare * Use Python 3.10 as the latest version Since miniconda hasn't released Python 3.11 support yet as per conda/conda#11170 (comment) * Install pytest with conda * Log package and dependency information
Description
We need to investigate the changes necessary to support Python 3.11. Because this release cycle happens every year. It would also make sense for us to have a policy in place guiding the work that we need to regularly complete for this.
Good to know
There is currently a rough draft of this document that could be used as a starting point for the work:
conda/ceps#24
Tasks
The text was updated successfully, but these errors were encountered: