Skip to content

Commit

Permalink
NEP29: Set minimum required version to NumPy 1.23+
Browse files Browse the repository at this point in the history
  • Loading branch information
seisman committed Jan 12, 2024
1 parent 9b19167 commit 1b7aef6
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,11 @@ jobs:
isDraft: true
- os: windows-latest
isDraft: true
# Pair Python 3.9 with NumPy 1.22 and Python 3.12 with NumPy 1.26
# Pair Python 3.9 with NumPy 1.23 and Python 3.12 with NumPy 1.26
# Only install optional packages on Python 3.12/NumPy 1.26
include:
- python-version: '3.9'
numpy-version: '1.22'
numpy-version: '1.23'
optional-packages: ''
- python-version: '3.12'
numpy-version: '1.26'
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,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.9
- >=1.22
- >=1.23
* - `v0.10.0 <https://github.com/GenericMappingTools/pygmt/releases/tag/v0.10.0>`_ (latest release)
- `v0.10.0 Documentation <https://www.pygmt.org/v0.10.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 @@ -7,7 +7,7 @@ dependencies:
- python=3.12
- gmt=6.5.0
- ghostscript=10.02.1
- numpy>=1.22
- numpy
- 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 @@ -94,7 +94,7 @@ Dependencies

PyGMT requires the following libraries to be installed:

* `numpy <https://numpy.org>`__ (>= 1.22)
* `numpy <https://numpy.org>`__ (>= 1.23)
* `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:
- python=3.12
# Required dependencies
- gmt=6.5.0
- numpy>=1.22
- numpy>=1.23
- 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 @@ -31,7 +31,7 @@ classifiers = [
"License :: OSI Approved :: BSD License",
]
dependencies = [
"numpy>=1.22",
"numpy>=1.23",
"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.22
numpy>=1.23
pandas
xarray
netCDF4
Expand Down

0 comments on commit 1b7aef6

Please sign in to comment.