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

Support Python 3.13 #9668

Closed
2 of 13 tasks
Tracked by #9753
musicinmybrain opened this issue Jun 15, 2024 · 2 comments · Fixed by #9743
Closed
2 of 13 tasks
Tracked by #9753

Support Python 3.13 #9668

musicinmybrain opened this issue Jun 15, 2024 · 2 comments · Fixed by #9743
Assignees

Comments

@musicinmybrain
Copy link
Contributor

Initial Checks

  • I have searched Google & GitHub for similar requests and couldn't find anything
  • I have read and followed the docs and still think this feature is missing

Description

Please consider supporting Python 3.13 soon – or at least commenting on a timeline for doing so.


In Fedora, we’ve managed to rebuild the python-pydantic-core package with Python 3.13, and all of its tests pass.

However:

It’s currently possible to test Pydantic in a Python 3.13 virtualenv with:

$ gh repo clone pydantic/pydantic
$ cd pydantic
$ python3.13 -m venv _e
$ . _e/bin/activate
(_e) $ UNSAFE_PYO3_SKIP_VERSION_CHECK=1 pip install -e .
(_e) $ pip install cloudpickle coverage[toml] dirty-equals eval-type-backport pytest pytest-mock pytest-pretty pytest-examples faker pytest-benchmark pytest-codspeed packaging
(_e) $ python -m pytest

Affected Components

@sydney-runkle
Copy link
Member

@musicinmybrain,

Thanks for opening this feature request. Support for 3.13 is definitely something we want to do explicitly soon. I'll chat with the team re timeline and update here afterwards.

@sydney-runkle
Copy link
Member

Definitely something we're prioritizing.

I'll pull this in once we get the new version of pyo3 into pydantic-core with 3.13 support. Hoping to have this included in v2.8 around the end of the month assuming we don't hit any major blockers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants