Skip to content

Commit 621d6da

Browse files
authored
NEP29: Set minimum required version to NumPy 1.23+ (#2991)
1 parent 545aabf commit 621d6da

File tree

7 files changed

+8
-8
lines changed

7 files changed

+8
-8
lines changed

.github/workflows/ci_tests.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,11 +62,11 @@ jobs:
6262
isDraft: true
6363
- os: windows-latest
6464
isDraft: true
65-
# Pair Python 3.9 with NumPy 1.22 and Python 3.12 with NumPy 1.26
65+
# Pair Python 3.9 with NumPy 1.23 and Python 3.12 with NumPy 1.26
6666
# Only install optional packages on Python 3.12/NumPy 1.26
6767
include:
6868
- python-version: '3.9'
69-
numpy-version: '1.22'
69+
numpy-version: '1.23'
7070
optional-packages: ''
7171
- python-version: '3.12'
7272
numpy-version: '1.26'

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ Compatibility with GMT/Python/NumPy versions
271271
- `Dev Documentation <https://www.pygmt.org/dev>`_ (reflects `main branch <https://github.com/GenericMappingTools/pygmt>`_)
272272
- >=6.3.0
273273
- >=3.9
274-
- >=1.22
274+
- >=1.23
275275
* - `v0.10.0 <https://github.com/GenericMappingTools/pygmt/releases/tag/v0.10.0>`_ (latest release)
276276
- `v0.10.0 Documentation <https://www.pygmt.org/v0.10.0>`_
277277
- >=6.3.0

ci/requirements/docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ dependencies:
77
- python=3.12
88
- gmt=6.5.0
99
- ghostscript=10.02.1
10-
- numpy>=1.22
10+
- numpy
1111
- pandas
1212
- xarray
1313
- netCDF4

doc/install.rst

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

9595
PyGMT requires the following libraries to be installed:
9696

97-
* `numpy <https://numpy.org>`__ (>= 1.22)
97+
* `numpy <https://numpy.org>`__ (>= 1.23)
9898
* `pandas <https://pandas.pydata.org>`__
9999
* `xarray <https://xarray.dev/>`__
100100
* `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
- python=3.12
77
# Required dependencies
88
- gmt=6.5.0
9-
- numpy>=1.22
9+
- numpy>=1.23
1010
- pandas
1111
- xarray
1212
- netCDF4

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ classifiers = [
3131
"License :: OSI Approved :: BSD License",
3232
]
3333
dependencies = [
34-
"numpy>=1.22",
34+
"numpy>=1.23",
3535
"pandas",
3636
"xarray",
3737
"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.22
2+
numpy>=1.23
33
pandas
44
xarray
55
netCDF4

0 commit comments

Comments
 (0)