-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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 #4883
Comments
Based on my experimentation, Biopython works perfectly fine (successfully builds and passes tests) on Python 3.13 if experimental free-threading is turned off. If it is turned on, Biopython successfully builds and passes tests, but modules with C extensions raise a warning about not specifying whether or not they are safe without the GIL. Also, features that require SciPy to be installed are unavailable because SciPy doesn't support free-threading mode (scipy/scipy#21675). Based on conda-forge/biopython-feedstock#49, it looks like conda-forge is waiting for the 1.85 release of Biopython since the current 1.84 doesn't build on Python 3.13 |
As discussed on the conda-forge issue, all that blocks Python 3.13 with the current release of Biopython 1.64 is a C compilation issue which is fixed on the master branch - https://patch-diff.githubusercontent.com/raw/biopython/biopython/pull/4706.patch - BioConda using that as a path is looking wise in the very short term. Or waiting for Biopython 1.65, which I would have liked to have out already. I had time in September https://lists.open-bio.org/pipermail/biopython/2024-September/017067.html but don't in the short term - maybe next week? |
I am seeing a bunch of errors with Python 3.13 with the current master branch. I am not sure if these are bugs in Biopython, or issues with Python 3.13.0. |
As far as I know, everything is fine with Python 3.13. There is a new issue with NumPy 2.2 (recently released). I hope to do the Biopython 1.85 release next week (once work has shut for the Christmas break). |
Currently it looks like Biopython doesn't yet support Python 3.13 which has been out for ~1 month. Would be great to add it in the next release!
While I couldn't find specific mentions of Biopython being pinned to <3.13, the fact that conda-forge does not have any builds for 3.13 means it's effectively out of bounds for us.
The text was updated successfully, but these errors were encountered: