Skip to content

Commit

Permalink
SPEC 0: Set minimum required version to NumPy 1.24+ (#3286)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
weiji14 committed Jun 17, 2024
1 parent 6c9318b commit 7b09d88
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ jobs:
# Only install optional packages on Python 3.12
include:
- python-version: '3.10'
numpy-version: '1.23'
numpy-version: '1.24'
pandas-version: '=1.5'
xarray-version: '=2022.06'
optional-packages: ''
Expand Down
2 changes: 1 addition & 1 deletion doc/minversions.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ after their initial release.

| PyGMT Version | GMT | Python | NumPy | Pandas | Xarray |
|---|---|---|---|---|---|
| [Dev][]* [[Docs][Docs Dev]] | >=6.3.0 | >=3.10 | >=1.23 | >=1.5 | >=2022.06 |
| [Dev][]* [[Docs][Docs Dev]] | >=6.3.0 | >=3.10 | >=1.24 | >=1.5 | >=2022.06 |
| [v0.12.0][] [[Docs][Docs v0.12.0]] | >=6.3.0 | >=3.10 | >=1.23 | >=1.5 | >=2022.06 |
| [v0.11.0][] [[Docs][Docs v0.11.0]] | >=6.3.0 | >=3.9 | >=1.23 | | |
| [v0.10.0][] [[Docs][Docs v0.10.0]] | >=6.3.0 | >=3.9 | >=1.22 | | |
Expand Down
2 changes: 1 addition & 1 deletion environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ dependencies:
# Required dependencies
- gmt=6.5.0
- ghostscript=10.03.1
- numpy>=1.23
- numpy>=1.24
- pandas>=1.5
- xarray>=2022.06
- netCDF4
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ classifiers = [
"License :: OSI Approved :: BSD License",
]
dependencies = [
"numpy>=1.23",
"numpy>=1.24",
"pandas>=1.5",
"xarray>=2022.06",
"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.23
numpy>=1.24
pandas>=1.5
xarray>=2022.06
netCDF4
Expand Down

0 comments on commit 7b09d88

Please sign in to comment.