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

Add Python 3.13 support #4636

Closed
yookoala opened this issue Oct 21, 2024 · 7 comments
Closed

Add Python 3.13 support #4636

yookoala opened this issue Oct 21, 2024 · 7 comments

Comments

@yookoala
Copy link

Python 3.13 has been released in 7th Oct 2024. It is already scheduled to be shipped by some upcoming distro (e.g. Fedora 41). And since #3821, it is unable to be installed in Python 3.13. Please help to test and implement Python 3.13 support.

Related issue: ModelTC/lightllm#575

@PyO3 PyO3 deleted a comment Oct 21, 2024
@alex
Copy link
Contributor

alex commented Oct 21, 2024

It's already supported: https://pyo3.rs/v0.22.5/changelog#packaging-1

@davidhewitt
Copy link
Member

davidhewitt commented Oct 21, 2024

Yes, it looks like downstream just needs to bump their PyO3 version.

@yookoala
Copy link
Author

How may I install the latest PyO3 with pip?

@alex
Copy link
Contributor

alex commented Oct 21, 2024 via email

@yookoala
Copy link
Author

I believe the project in question is tokenizers: https://github.com/huggingface/tokenizers

It is depending on pyo3 version 0.21. Which version should it depend on instead so it supports Python 3.13?

@davidhewitt
Copy link
Member

It looks like you are waiting on huggingface/tokenizers#1639

@yookoala
Copy link
Author

Seems to be waiting for huggingface/tokenizers#1646 for that.

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

No branches or pull requests

3 participants