Skip to content

Commit 7b09d88

Browse files
authored
SPEC 0: Set minimum required version to NumPy 1.24+ (#3286)
Following SPEC 0 policy. Bumps minimum supported NumPy version to 1.24 in the pyproject.toml, requirements.txt and environment.yml files. Also update doc/minversions.md to mention NumPy 1.24+ requirement.
1 parent 6c9318b commit 7b09d88

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

.github/workflows/ci_tests.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ jobs:
7070
# Only install optional packages on Python 3.12
7171
include:
7272
- python-version: '3.10'
73-
numpy-version: '1.23'
73+
numpy-version: '1.24'
7474
pandas-version: '=1.5'
7575
xarray-version: '=2022.06'
7676
optional-packages: ''

doc/minversions.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ after their initial release.
1212

1313
| PyGMT Version | GMT | Python | NumPy | Pandas | Xarray |
1414
|---|---|---|---|---|---|
15-
| [Dev][]* [[Docs][Docs Dev]] | >=6.3.0 | >=3.10 | >=1.23 | >=1.5 | >=2022.06 |
15+
| [Dev][]* [[Docs][Docs Dev]] | >=6.3.0 | >=3.10 | >=1.24 | >=1.5 | >=2022.06 |
1616
| [v0.12.0][] [[Docs][Docs v0.12.0]] | >=6.3.0 | >=3.10 | >=1.23 | >=1.5 | >=2022.06 |
1717
| [v0.11.0][] [[Docs][Docs v0.11.0]] | >=6.3.0 | >=3.9 | >=1.23 | | |
1818
| [v0.10.0][] [[Docs][Docs v0.10.0]] | >=6.3.0 | >=3.9 | >=1.22 | | |

environment.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ dependencies:
77
# Required dependencies
88
- gmt=6.5.0
99
- ghostscript=10.03.1
10-
- numpy>=1.23
10+
- numpy>=1.24
1111
- pandas>=1.5
1212
- xarray>=2022.06
1313
- netCDF4

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ classifiers = [
3030
"License :: OSI Approved :: BSD License",
3131
]
3232
dependencies = [
33-
"numpy>=1.23",
33+
"numpy>=1.24",
3434
"pandas>=1.5",
3535
"xarray>=2022.06",
3636
"netCDF4",

requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Required packages
2-
numpy>=1.23
2+
numpy>=1.24
33
pandas>=1.5
44
xarray>=2022.06
55
netCDF4

0 commit comments

Comments
 (0)