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

DOC: Clarification on Python 3.13 support #61139

Closed
hoodmane opened this issue Mar 17, 2025 · 2 comments
Closed

DOC: Clarification on Python 3.13 support #61139

hoodmane opened this issue Mar 17, 2025 · 2 comments
Labels
Closing Candidate May be closeable, needs more eyeballs Docs

Comments

@hoodmane
Copy link
Contributor

hoodmane commented Mar 17, 2025

Pandas version checks

The issue doesn't still exist on the latest versions of the docs on main since
https://pandas.pydata.org/docs/dev/getting_started/install.html#python-version-support
refers to https://scientific-python.org/specs/spec-0000/ which says Python 3.13 is supported. So the question is about the released version 2.2.3

Location of the documentation

https://pandas.pydata.org/docs/getting_started/install.html#python-version-support

Documentation problem

In this issue @StanFromIreland pointed out that Pandas docs say:

Python version support

Officially Python 3.9, 3.10, 3.11 and 3.12.

I see that there are Python 3.13 wheels, that it is tested in CI, and pyproject.toml includes the Programming Language :: Python :: 3.13 classifier. Is it an accidental omission that Python 3.13 isn't included in the officially supported list? If it isn't officially supported, it would be good to call this out more obviously.

Suggested fix for documentation

Perhaps the new text in the dev docs should be backported?

@hoodmane hoodmane added Docs Needs Triage Issue that has not been reviewed by a pandas team member labels Mar 17, 2025
@rhshadrach
Copy link
Member

Thanks for the report. Indeed pandas supports 3.13, although our last release was from prior to 3.13. I expect the 3.13 wheels on PyPI to be functional.

Perhaps the new text in the dev docs should be backported?

I do not think this is worth the effort. We generally do not update the docs once a release is published.

I also want to highlight from the CPython thread the comment:

However: this'll be because you're trying to build Pandas with an older Cython version. This has been fixed in Cython for a while.

@rhshadrach rhshadrach added Closing Candidate May be closeable, needs more eyeballs and removed Needs Triage Issue that has not been reviewed by a pandas team member labels Mar 19, 2025
@hoodmane
Copy link
Contributor Author

Thanks for the clarification @rhshadrach, it makes sense to me.

I also want to highlight from the CPython thread python/cpython#131354 (comment):

To be clear, I have not had any trouble building pandas with Python 3.13, presumably because I am building with an up to date version of Cython. I only got involved in that thread because I saw that @StanFromIreland claimed that pandas did not support Python 3.13 and I am hoping to start distributing a Python 3.13 pandas soon so I was concerned by that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Closing Candidate May be closeable, needs more eyeballs Docs
Projects
None yet
Development

No branches or pull requests

2 participants