-
Notifications
You must be signed in to change notification settings - Fork 235
NEP29: Set minimum required version to NumPy 1.18+ #1430
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
Conversation
Following NEP29 policy. Bumps minimum supported NumPy version to 1.18 in the setup.py, requirements.txt and environment.yml files. Also update installation documentation and set CI tests to run on NumPy 1.18.
|
Following the discussions in #1074, I think we should add the dev version to the "compatibility table" in the README file, right? |
Also link to v0.5.0 milestone and development documentation page.
1febbb3 to
d1d359b
Compare
Co-Authored-By: Meghan Jones <[email protected]>
|
Merge this in directly or wait 24hours? Note that I'll also need to update the branch protection rules at https://github.com/GenericMappingTools/pygmt/settings/branches to require |
|
I think it's OK to merge now. |
…ls#1430) Following NEP29 policy. Bumps minimum supported NumPy version to 1.18 in the setup.py, requirements.txt and environment.yml files. Also update installation documentation and set CI tests to run on NumPy 1.18. * List NumPy >= 1.18 in compatibility table on main README.rst * Mention dev docs directly in compatibility table Co-authored-by: Meghan Jones <[email protected]>

Description of proposed changes
Following NEP29 policy where NumPy 1.17 is to be dropped on or after 26 July 2021 (in a minor version increment, i.e. for PyGMT v0.5.0). Bumps minimum supported NumPy version to 1.18 in the setup.py, requirements.txt and environment.yml files. Also update installation documentation and set CI tests to run on NumPy 1.18.
This is in line with PyGMT's policy on NEP29 at https://www.pygmt.org/v0.4.1/maintenance.html#dependencies-policy, xref #1074.
Around the PyData ecosystem, it looks like
pandas1.4 (pandas-dev/pandas#41989) andgeopandas0.10.0 (geopandas/geopandas#1877) will be using Numpy 1.18+ too.Fixes #
Reminders
make formatandmake checkto make sure the code follows the style guide.doc/api/index.rst.Slash Commands
You can write slash commands (
/command) in the first line of a comment to performspecific operations. Supported slash commands are:
/format: automatically format and lint the code/test-gmt-dev: run full tests on the latest GMT development version