Skip to content

CI: Test NumPy 2.1 in the GMT Tests workflow - #3401

Merged
seisman merged 2 commits into
mainfrom
numpy/2.1
Aug 20, 2024
Merged

CI: Test NumPy 2.1 in the GMT Tests workflow#3401
seisman merged 2 commits into
mainfrom
numpy/2.1

Conversation

@seisman

Copy link
Copy Markdown
Member

Description of proposed changes

Bumps numpy from 2.0 to 2.1. NumPy 2.1.0 was released on 8 Aug 2024.

This is in line with PyGMT's policy on SPEC0 at https://www.pygmt.org/v0.12.0/maintenance.html#dependencies-policy, xref #2863.

Note that the branch protection rules at GenericMappingTools/pygmt/settings/branches will need to be changed to use Python 3.12/Numpy 2.1 instead of Python 3.12/Numpy 1.0 before this Pull Request is merged.

Supersedes #3292

@seismanseisman added the maintenance Boring but important stuff for the core devs label Aug 19, 2024
@seismanseisman added this to the 0.13.0 milestone Aug 19, 2024
@seisman

Copy link
Copy Markdown
MemberAuthor

Need to note that shapely 2.0.5 is not compatible with numpy 2.1, so shapely 2.0.6 is needed, xref shapely/shapely#2099.

@seisman
seisman merged commit f250545 into mainAug 20, 2024
@seisman
seisman deleted the numpy/2.1 branch August 20, 2024 23:00
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintenanceBoring but important stuff for the core devs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@seisman@weiji14