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

release/8.2 can use Python 3.13 #3317

Open
wants to merge 27 commits into
base: release/8.2
Choose a base branch
from
Open

release/8.2 can use Python 3.13 #3317

wants to merge 27 commits into from

Conversation

nrnhines
Copy link
Member

Closes #3316

@@ -110,5 +94,5 @@ workflows:
- manylinux2014-aarch64:
matrix:
parameters:
NRN_PYTHON_VERSION: ["37", "38", "39", "310", "311"]
NRN_PYTHON_VERSION_MINOR: ["9", "10", "11", "12", "13"]
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's our policy on supporting deprecated Python versions? I think we shouldn't drop support for a patch release, maybe for a minor one it'd be justified, but for a patch it seems a bit much since one could argue dropping support for a Python version is a breaking change.

On the other hand, I don't know if any of the CI providers we are currently using actually have support for 3.7 and 3.8; if they don't, we would kind of be forced to either 1) drop support for them as well, or 2) build any missing releases manually. Here's to hoping that they are still supported in all relevant CIs so we can avoid either of the options above 😅

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I probably have taken the wrong path to adding python3.13 to 8.2. I.e. attempting a complete switch to master way of dealing with github actions and ci. The 3.13 build problems with respect to NEURON source files are pretty well in hand. Perhaps on top of that, minimal additions to existing 8.2 ci,etc. are in order which merely add 313 to the list of additional pythons (surprise that 312 is missing above!). I was just perplexed by the cython/numpy version issue.

Copy link

@JCGoran
Copy link
Collaborator

JCGoran commented Jan 26, 2025

From my testing in #3319, I think we must backport at least these changes to make things work:

The CI is still broken on #3319, with a weird error on the code coverage one (missing symbols for some reason), and Numpy complaints on the Windows one (since we're using dynamic Python, and 3.8 and below don't support numpy 2).

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

Successfully merging this pull request may close these issues.

2 participants