Skip to content

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.

@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.

@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 🤦🏻 .

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.

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