Bump minimum NumPy version to 1.23 by oscargus · Pull Request #26800 · matplotlib/matplotlib · GitHub
Skip to content

Bump minimum NumPy version to 1.23 - #26800

Merged
ksunden merged 1 commit into
matplotlib:mainfrom
oscargus:numpy122bump
Feb 9, 2024
Merged

Bump minimum NumPy version to 1.23#26800
ksunden merged 1 commit into
matplotlib:mainfrom
oscargus:numpy122bump

Conversation

@oscargus

Copy link
Copy Markdown
Member

PR summary

I take it that we will stick with 1.22 for MPL 3.9. Probably we could have gone to 1.23, but I recall that we are a bit conservative here: https://numpy.org/neps/nep-0029-deprecation_policy.html

PR checklist

@oscargus oscargus added Maintenance PR: dependencies Pull requests that update a dependency file labels Sep 17, 2023
@oscargus oscargus added this to the v3.9.0 milestone Sep 17, 2023
@oscargus oscargus added the CI: Run cygwin Run cygwin tests on a PR label Sep 17, 2023
@oscargus
oscargus force-pushed the numpy122bump branch 5 times, most recently from ffc43e7 to 5366eab Compare September 17, 2023 13:17
@oscargus

Copy link
Copy Markdown
Member Author

@oscargus oscargus mentioned this pull request Sep 18, 2023
4 tasks
QuLogic pushed a commit to QuLogic/matplotlib that referenced this pull request Sep 27, 2023
QuLogic pushed a commit to QuLogic/matplotlib that referenced this pull request Sep 27, 2023
Cherry-picked out of matplotlib#26800; also unpin setuptools.
QuLogic pushed a commit to QuLogic/matplotlib that referenced this pull request Oct 3, 2023
Cherry-picked out of matplotlib#26800; also unpin setuptools.
QuLogic pushed a commit to QuLogic/matplotlib that referenced this pull request Oct 3, 2023
Cherry-picked out of matplotlib#26800; also unpin setuptools.
issamarabi pushed a commit to issamarabi/matplotlib that referenced this pull request Oct 5, 2023
Cherry-picked out of matplotlib#26800; also unpin setuptools.
Vashesh08 pushed a commit to Vashesh08/matplotlib that referenced this pull request Oct 6, 2023
Cherry-picked out of matplotlib#26800; also unpin setuptools.
@oscargus

oscargus commented Oct 15, 2023

Copy link
Copy Markdown
Member Author

Seems like there are two floating-point related errors with 1.22. Since these are really small, should I just add a bit of tolerance (and a note that these are for NumPy 1..2)?

An option is, I guess, to try 1.22.1 etc to see if this is a regression that was fixed. (Have checked the change log briefly, but not really sure what the underlying problem is anyway...)

@QuLogic

QuLogic commented Oct 16, 2023

Copy link
Copy Markdown
Member

I've had to bump tolerance on at least one of those failing tests in Fedora fedora-python@d429c3d (though I cheated a little bit and put it in the non-x86 commit). I think it's likely to be the SIMD optimization issue that we've run into with newer NumPy.

@github-actions github-actions Bot added Documentation: devdocs files in doc/devel Documentation: user guide files in galleries/users_explain or doc/users and removed CI: Run cygwin Run cygwin tests on a PR status: needs rebase labels Feb 9, 2024
@QuLogic

QuLogic commented Feb 9, 2024

Copy link
Copy Markdown
Member

@QuLogic QuLogic changed the title Bump minimum NumPy version to 1.22 Bump minimum NumPy version to 1.23 Feb 9, 2024
@ksunden
ksunden merged commit d2cc4d0 into matplotlib:main Feb 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Documentation: devdocs files in doc/devel Documentation: user guide files in galleries/users_explain or doc/users Maintenance PR: dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants