Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

API: bump minimum supported version of Python and numpy #29904

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

Merged
merged 5 commits into from
Apr 18, 2025

Conversation

tacaswell
Copy link
Member

In accordance with our policy, the minimum supported Python for the next release will be Python 3.11.

@tacaswell tacaswell added this to the v3.11.0 milestone Apr 11, 2025
@github-actions github-actions bot added the CI: Run cibuildwheel Run wheel building tests on a PR label Apr 11, 2025
Copy link
Member

@timhoffm timhoffm left a comment

Choose a reason for hiding this comment

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

https://matplotlib.org/devdocs/devel/min_dep_policy.html#list-of-dependency-versions should also be updated

Optional: Maybe add a section there to list all places that needs updating so that we do not forget things (on average we'll have to do the bump once a year)

@github-actions github-actions bot added the Documentation: devdocs files in doc/devel label Apr 11, 2025
@tacaswell
Copy link
Member Author

I violated the docs I added on how to do this by adding the docs on how to do this as part of the PR to do the bump.

@tacaswell tacaswell changed the title API: bump minimum supported version of Python API: bump minimum supported version of Python and numpy Apr 11, 2025
Copy link
Member

@dstansby dstansby left a comment

Choose a reason for hiding this comment

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

There's also at least one other 310 reference in cibuildwheel.yml that I can't comment on directly here.

azure-pipelines.yml Outdated Show resolved Hide resolved
@tacaswell
Copy link
Member Author

I was searching for 3.10 and missed 310 🤦🏻 . At least the auto-labeler worked and we got the cibulidwheel failures to catch it!

Looks like pypy does not support py311 yet, but there is a beta version (https://pypy.org/posts/2025/02/pypy-v7319-release.html). Hopefully that will be released by the time we do a release.

@tacaswell
Copy link
Member Author

It looks like cibuildwheel does already support it! https://cibuildwheel.pypa.io/en/stable/options/

@tacaswell
Copy link
Member Author

Hopefully this will also make Azure more stable as the py310 on windows seemed to have the most (but not all) of the subprocess communication timeout issues.

Copy link
Member

@dstansby dstansby left a comment

Choose a reason for hiding this comment

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

I think there's one more file that needs updating when min numpy is update - sorry for missing this on first review.

requirements/testing/extra.txt Outdated Show resolved Hide resolved
doc/devel/min_dep_policy.rst Show resolved Hide resolved
@tacaswell
Copy link
Member Author

Thank you far catching that @dstansby ! I had minver in both lists, decided I didn't want to put it in the Python bump for the comment and then apparently removed it in both places 🤦🏻 .

doc/devel/min_dep_policy.rst Outdated Show resolved Hide resolved
doc/devel/min_dep_policy.rst Outdated Show resolved Hide resolved
doc/devel/min_dep_policy.rst Outdated Show resolved Hide resolved
doc/devel/min_dep_policy.rst Show resolved Hide resolved
doc/devel/min_dep_policy.rst Show resolved Hide resolved
In accordance with our policy, the minimum supported Python for the next
release will be Python 3.11.

Co-authored-by: David Stansby <dstansby@gmail.com>
tacaswell and others added 3 commits April 17, 2025 15:01
Co-authored-by: David Stansby <dstansby@gmail.com>
Co-authored-by: David Stansby <dstansby@gmail.com>
Co-authored-by: Elliott Sales de Andrade <quantum.analyst@gmail.com>
Copy link
Member

@QuLogic QuLogic left a comment

Choose a reason for hiding this comment

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

Small typo.

doc/devel/min_dep_policy.rst Outdated Show resolved Hide resolved
Co-authored-by: Elliott Sales de Andrade <quantum.analyst@gmail.com>
@ksunden ksunden merged commit 3274d6a into matplotlib:main Apr 18, 2025
40 of 43 checks passed
@tacaswell tacaswell deleted the api/py311_min branch April 18, 2025 19:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI: Run cibuildwheel Run wheel building tests on a PR Documentation: devdocs files in doc/devel
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.