Skip to content

Commit

Permalink
NEP29: Set minimum required version to NumPy 1.21+ (#2389)
Browse files Browse the repository at this point in the history
Following NEP29 policy. Bumps minimum supported
NumPy version to 1.21 in the pyproject.toml, requirements.txt
and environment.yml files. Also update installation documentation
to mention NumPy 1.21+ requirement.
  • Loading branch information
weiji14 authored Mar 3, 2023
1 parent b7926ae commit 8f31706
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ Compatibility with GMT/Python/NumPy versions
- `Dev Documentation <https://www.pygmt.org/dev>`_ (reflects `main branch <https://github.com/GenericMappingTools/pygmt>`_)
- >=6.3.0
- >=3.8
- >=1.20
- >=1.21
* - `v0.8.0 <https://github.com/GenericMappingTools/pygmt/releases/tag/v0.8.0>`_ (latest release)
- `v0.8.0 Documentation <https://www.pygmt.org/v0.8.0>`_
- >=6.3.0
Expand Down
2 changes: 1 addition & 1 deletion ci/requirements/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ dependencies:
# Required dependencies
- pip
- gmt=6.4.0
- numpy>=1.20
- numpy>=1.21
- pandas
- xarray
- netCDF4
Expand Down
2 changes: 1 addition & 1 deletion doc/install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ Dependencies

PyGMT requires the following libraries to be installed:

* `numpy <https://numpy.org>`__ (>= 1.20)
* `numpy <https://numpy.org>`__ (>= 1.21)
* `pandas <https://pandas.pydata.org>`__
* `xarray <https://xarray.dev/>`__
* `netCDF4 <https://unidata.github.io/netcdf4-python>`__
Expand Down
2 changes: 1 addition & 1 deletion environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ dependencies:
# Required dependencies
- pip
- gmt=6.4.0
- numpy>=1.20
- numpy>=1.21
- pandas
- xarray
- netCDF4
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ classifiers = [
"License :: OSI Approved :: BSD License",
]
dependencies = [
"numpy>=1.20",
"numpy>=1.21",
"pandas",
"xarray",
"netCDF4",
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Required packages
numpy>=1.20
numpy>=1.21
pandas
xarray
netCDF4
Expand Down

0 comments on commit 8f31706

Please sign in to comment.