Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NEP29: Set minimum required version to NumPy 1.20+ #1985

Merged
merged 2 commits into from
Jul 2, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/ci_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,11 @@ jobs:
isDraft: true
- os: windows-latest
isDraft: true
# Pair Python 3.8 with NumPy 1.19 and Python 3.10 with NumPy 1.22
# Pair Python 3.8 with NumPy 1.20 and Python 3.10 with NumPy 1.22
# Only install optional packages on Python 3.10/NumPy 1.22
include:
- python-version: '3.8'
numpy-version: '1.19'
numpy-version: '1.20'
optional-packages: ''
- python-version: '3.10'
numpy-version: '1.22'
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,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.8
- >=1.19
- >=1.20
* - `v0.6.1 <https://github.com/GenericMappingTools/pygmt/releases/tag/v0.6.1>`_ (latest release)
- `v0.6.1 Documentation <https://www.pygmt.org/v0.6.1>`_
- >=6.3.0
Expand Down
2 changes: 1 addition & 1 deletion doc/install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ Dependencies

PyGMT requires the following libraries to be installed:

* `numpy <https://numpy.org>`__ (>= 1.19)
* `numpy <https://numpy.org>`__ (>= 1.20)
* `pandas <https://pandas.pydata.org>`__
* `xarray <https://xarray.pydata.org>`__
* `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:
# Required dependencies
- pip
- gmt=6.3.0
- numpy>=1.19
- numpy>=1.20
- 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.19
numpy>=1.20
pandas
xarray
netCDF4
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
]
PLATFORMS = "Any"
PYTHON_REQUIRES = ">=3.8"
INSTALL_REQUIRES = ["numpy>=1.19", "pandas", "xarray", "netCDF4", "packaging"]
INSTALL_REQUIRES = ["numpy>=1.20", "pandas", "xarray", "netCDF4", "packaging"]

if __name__ == "__main__":
setup(
Expand Down