Skip to content

Commit 1b5a60d

Browse files
author
Max Jones
authored
NEP29: Set minimum required version to NumPy 1.20+ (#1985)
1 parent 499db31 commit 1b5a60d

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

.github/workflows/ci_tests.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,11 @@ jobs:
4040
isDraft: true
4141
- os: windows-latest
4242
isDraft: true
43-
# Pair Python 3.8 with NumPy 1.19 and Python 3.10 with NumPy 1.22
43+
# Pair Python 3.8 with NumPy 1.20 and Python 3.10 with NumPy 1.22
4444
# Only install optional packages on Python 3.10/NumPy 1.22
4545
include:
4646
- python-version: '3.8'
47-
numpy-version: '1.19'
47+
numpy-version: '1.20'
4848
optional-packages: ''
4949
- python-version: '3.10'
5050
numpy-version: '1.22'

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ Compatibility with GMT/Python/NumPy versions
235235
- `Dev Documentation <https://www.pygmt.org/dev>`_ (reflects `main branch <https://github.com/GenericMappingTools/pygmt>`_)
236236
- >=6.3.0
237237
- >=3.8
238-
- >=1.19
238+
- >=1.20
239239
* - `v0.6.1 <https://github.com/GenericMappingTools/pygmt/releases/tag/v0.6.1>`_ (latest release)
240240
- `v0.6.1 Documentation <https://www.pygmt.org/v0.6.1>`_
241241
- >=6.3.0

doc/install.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ Dependencies
9898

9999
PyGMT requires the following libraries to be installed:
100100

101-
* `numpy <https://numpy.org>`__ (>= 1.19)
101+
* `numpy <https://numpy.org>`__ (>= 1.20)
102102
* `pandas <https://pandas.pydata.org>`__
103103
* `xarray <https://xarray.pydata.org>`__
104104
* `netCDF4 <https://unidata.github.io/netcdf4-python>`__

environment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ dependencies:
66
# Required dependencies
77
- pip
88
- gmt=6.3.0
9-
- numpy>=1.19
9+
- numpy>=1.20
1010
- pandas
1111
- xarray
1212
- netCDF4

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Required packages
2-
numpy>=1.19
2+
numpy>=1.20
33
pandas
44
xarray
55
netCDF4

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
]
3535
PLATFORMS = "Any"
3636
PYTHON_REQUIRES = ">=3.8"
37-
INSTALL_REQUIRES = ["numpy>=1.19", "pandas", "xarray", "netCDF4", "packaging"]
37+
INSTALL_REQUIRES = ["numpy>=1.20", "pandas", "xarray", "netCDF4", "packaging"]
3838

3939
if __name__ == "__main__":
4040
setup(

0 commit comments

Comments
 (0)