Skip to content

ENH: Python 3.12 support #53665

Closed
Closed
@EwoutH

Description

@EwoutH

Feature Type

  • Adding platform support

Problem Description

Currently, Python 3.12 isn't fully supported in the Pandas library.

Feature Description

The solution we'd like to see is full support for Python 3.12, including testing in Continuous Integration (CI) and the publishing of compatible wheels to PyPI.

Alternative Solutions

Not applicable in this case, as the goal is specific to supporting a new version of Python.

Additional Context

Python 3.12 is expected to be released as stable later this year, bringing several new features and deprecations that can impact the Pandas library, including:

  • New grammar features:
    • PEP 701: Syntactic formalization of f-strings
  • New typing features:
    • PEP 688: Making the buffer protocol accessible in Python
    • PEP 692: Using TypedDict for more precise **kwargs typing
    • PEP 695: Type Parameter Syntax
    • PEP 698: Override Decorator for Static Typing
  • Important deprecations, removals, or restrictions:
    • PEP 623: Remove wstr from Unicode
    • PEP 632: Remove the distutils package

These changes may have implications for the usage and operation of the Pandas library, making it necessary for the library to adapt to this new version.

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.12 adoption. It would be beneficial to have full Python 3.12 support in Pandas by the time Python 3.12.0 beta 1 gets released. This includes testing in CI and publishing wheels to PyPI.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Compatpandas objects compatability with Numpy or Python functionsEnhancementPython 3.12

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions