-
-
Notifications
You must be signed in to change notification settings - Fork 18.1k
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
ENH: Support Python 3.11 #46680
Comments
Hi @EwoutH, The good news, though is that since the release of Python 3.10, the underlying infrastructure for testing/building wheels on new Pythons has been much improved, so adding testing/wheels should be easier this time around. Do note, though, that wheels will only be uploaded to PyPI only after at least Python 3.11 candidate 1. This is because the ABI is only frozen after the RC, and we don't want already uploaded wheels to be broken because Python decided to change something during the beta period. In the meantime, I've created a new Python 3.11 label and marked this issue as a Master Tracker issue to centralize comments/discussion here for now. Feel free to ping me if you have any more questions. |
Thanks for the extensive response Thomas! Great to hear that the wheel infrastructure is in great shape. To keep track of the dependencies:
|
I took a look at the Python 3.11 CI run in #47032, and the following errors, failures and warnings were listed: Python 3.11 CI Errors
Python 3.11 CI Failures
Python 3.11 CI Warnings
|
The |
Hi all, sorry for the long silence here. Long story short, I got bogged down trying to fix the tests, and then ran out of free time to work on this. At this point, we can probably just xfail the remaining failing tests and get preliminary CI for 3.11 merged in. Wheels will probably follow shortly when the Python 3.11 rc makes its way to GHA/Azure pipelines. |
Update: Python 3.11 testing is in. That's all for this week. I'll make an update next week if I have any. |
Thanks for the update, the hard work is appreciated! |
Update: Wheels for all platforms(manylinux, Windows, macOS) have landed, and will be included in the next nightlies (and for 1.5). |
curious - if pyarrow does not as yet support 3.11, does that mean we are unable to use engine=pyarrow with python 3.11? |
@MSingh00 we can still use pyarrow, but when you try to install it it will be built from source, as there is no prebuilt binary available on pypi.org yet. I've got it to work with |
Created an tracking issue for 3.12: #53665 If you want to contribute towards 3.12 support, please do so and communicate it there! |
Is your feature request related to a problem?
Currently Python 3.11 isn't fully supported.
Describe the solution you'd like
Full support for Python 3.11, including testing in CI and wheels published to PyPI.
Additional context
Python 3.11 is expected to be released as stable in October 2022, with many new features including:
Pandas is one of the most used packages and a package on which many other packages depend, so early support will help speed up Python 3.11 adoption. The last alpha release in the 3.11 series, Python 3.11.0a7, has been release earlier this week, and early May the first beta release will be published, after which no new features will be added.
I think it would be an amazing feat to have full Python 3.11 support in Pandas by the time Python 3.11.0 beta 1 gets released, (expected Friday May 6th, 2022). This includes testing in CI and publishing wheels to PyPI.
The text was updated successfully, but these errors were encountered: