Description
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:
- PEP 657 -- Include Fine-Grained Error Locations in Tracebacks
- PEP 654 -- Exception Groups and except*
- PEP 673 -- Self Type
- PEP 646-- Variadic Generics
- PEP 680-- tomllib: Support for Parsing TOML in the Standard Library
- PEP 675-- Arbitrary Literal String Type
- PEP 655-- Marking individual TypedDict items as required or potentially-missing
- bpo-46752-- Introduce task groups to asyncio
- The Faster Cpython Project is already yielding some exciting results: this version of CPython 3.11 is ~ 19% faster on the geometric mean of the PyPerformance benchmarks, compared to 3.10.0.
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.