Skip to content

Dropping Python 3.10 support. #27861

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

Closed
charris opened this issue Nov 26, 2024 · 4 comments · Fixed by #27862
Closed

Dropping Python 3.10 support. #27861

charris opened this issue Nov 26, 2024 · 4 comments · Fixed by #27862

Comments

@charris
Copy link
Member

charris commented Nov 26, 2024

We are scheduled to drop Python 3.10 support in NumPy 2.3. I will make a PR to get started on that, but
have noticed a few issues I have questions about:

@ngoldbaum numpy/_core/src/multiarray/stringdtype/static_string.c has a 3.10 workaround.
@seberg numpy/_core/include/numpy/numpyconfig.h NPY_FEATURE_VERSION needs update.
@r-devulap linux_simd.yml could probably use an update/rework.
@mattip can PyPy support 3.11 yet?

@ngoldbaum
Copy link
Member

I think the comment in static_string.C is referring to the note about Python3.9 here: https://docs.python.org/3.12/c-api/arg.html#strings-and-buffers

But looking at the same docs for 3.13, it looks like I might have misunderstood, and we can actually remove all the Py_SSIZE_T_CLEAN macros after we remove support for Python 3.12.

@charris
Copy link
Member Author

charris commented Nov 26, 2024

@ngoldbaum Feel free to push a comment update to #27862.

@r-devulap
Copy link
Member

rdevulap linux_simd.yml could probably use an update/rework.

Is 3.12 the new recommended version?

@r-devulap
Copy link
Member

Never mind, I just saw your PR :)

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.

3 participants