-
Notifications
You must be signed in to change notification settings - Fork 119
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
Python 3.13 support #2640
Comments
This is an already known problem. It should not be really long to fix this. Thanks for the report. |
I was giving a try, and I was not able to install the dependencies of nrn with python 3.13. We depend on
Here we are. |
@sanjayankur31 The removal of the initialization functions was fixed in #2317, can you try to re-build with the latest |
As Python 3.13 is just around the corner, I've done some preliminary testing in this PR of compatibility of NEURON with 3.13. The notable findings are:
It seems most (or even all) of them fail due to issues with the thread sanitizer (tsan), which is also reproducible locally (on MacOS 13 w/ 3.13 rc3):
My guess is that the changes to the threading C API have something to do with this... |
Filing this early because the Fedora Python maintainers have started to test all our packages with Python 3.13, and NEURON does not currently build with it.
https://bugzilla.redhat.com/show_bug.cgi?id=2254189
neuron fails to build with Python 3.13.0a2.
According to https://docs.python.org/3.13/whatsnew/3.13.html:
Remove the following old functions to configure the Python initialization, deprecated in Python 3.11:
https://docs.python.org/3.13/whatsnew/3.13.html
For the build logs, see:
https://copr-be.cloud.fedoraproject.org/results/@python/python3.13/fedora-rawhide-x86_64/06712032-neuron/
For all our attempts to build neuron with Python 3.13, see:
https://copr.fedorainfracloud.org/coprs/g/python/python3.13/package/neuron/
The text was updated successfully, but these errors were encountered: