From 4b19cb74296c04051da4be893fe7c9b1b1ce9c88 Mon Sep 17 00:00:00 2001 From: Michael Grund <23025878+michaelgrund@users.noreply.github.com> Date: Sun, 19 Dec 2021 13:35:48 +0100 Subject: [PATCH 1/6] Drop NumPy 1.18 on Dec. 22, 2021 --- .github/workflows/ci_tests.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci_tests.yaml b/.github/workflows/ci_tests.yaml index c725cb3e30b..806aa20545e 100644 --- a/.github/workflows/ci_tests.yaml +++ b/.github/workflows/ci_tests.yaml @@ -44,11 +44,11 @@ jobs: # - os: ubuntu-latest # python-version: 3.7 # isDraft: true - # Pair Python 3.7 with NumPy 1.18 and Python 3.9 with NumPy 1.21 + # Pair Python 3.7 with NumPy 1.19 and Python 3.9 with NumPy 1.21 # Only install optional packages on Python 3.9/NumPy 1.21 include: - python-version: 3.7 - numpy-version: '1.18' + numpy-version: '1.19' optional-packages: '' - python-version: 3.9 numpy-version: '1.21' From a67e6fc189a483c198329eb608040d7a07aa056e Mon Sep 17 00:00:00 2001 From: Michael Grund Date: Sun, 19 Dec 2021 13:37:57 +0100 Subject: [PATCH 2/6] update install.rst --- doc/install.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/install.rst b/doc/install.rst index 3afd27a77d3..41fc0e05fa2 100644 --- a/doc/install.rst +++ b/doc/install.rst @@ -69,7 +69,7 @@ Dependencies PyGMT requires the following libraries to be installed: -* `numpy `__ (>= 1.18) +* `numpy `__ (>= 1.19) * `pandas `__ * `xarray `__ * `netCDF4 `__ From e0b6543354d58226775614f3ec111d08e7498af4 Mon Sep 17 00:00:00 2001 From: Michael Grund Date: Sun, 19 Dec 2021 13:39:19 +0100 Subject: [PATCH 3/6] update environment.yml --- environment.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/environment.yml b/environment.yml index 6adf71b8ba6..3fb89717c7f 100644 --- a/environment.yml +++ b/environment.yml @@ -6,7 +6,7 @@ dependencies: # Required dependencies - pip - gmt=6.3.0 - - numpy>=1.18 + - numpy>=1.19 - pandas - xarray - netCDF4 From 5a0ff454ffbfc064d2042fd5cbf42b50ead31a3f Mon Sep 17 00:00:00 2001 From: Michael Grund Date: Sun, 19 Dec 2021 13:39:49 +0100 Subject: [PATCH 4/6] update requirements.txt --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 37e10658db7..526478cea2c 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ # Required packages -numpy>=1.18 +numpy>=1.19 pandas xarray netCDF4 From 7c3097cd7a7206cbe88769d9102f6bb2249549e4 Mon Sep 17 00:00:00 2001 From: Michael Grund Date: Sun, 19 Dec 2021 13:40:29 +0100 Subject: [PATCH 5/6] update setup.py --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 3a2e261af3f..264f06355a3 100644 --- a/setup.py +++ b/setup.py @@ -35,7 +35,7 @@ ] PLATFORMS = "Any" PYTHON_REQUIRES = ">=3.7" -INSTALL_REQUIRES = ["numpy>=1.18", "pandas", "xarray", "netCDF4", "packaging"] +INSTALL_REQUIRES = ["numpy>=1.19", "pandas", "xarray", "netCDF4", "packaging"] # Configuration for setuptools-scm SETUP_REQUIRES = ["setuptools_scm"] USE_SCM_VERSION = {"local_scheme": "node-and-date", "fallback_version": "unknown"} From 44645372c0873afc325b0d46f841ce2dc0b3982a Mon Sep 17 00:00:00 2001 From: Michael Grund Date: Sun, 19 Dec 2021 13:42:39 +0100 Subject: [PATCH 6/6] update README.rst --- README.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.rst b/README.rst index bbee9d6fad8..3ddb963e25f 100644 --- a/README.rst +++ b/README.rst @@ -219,7 +219,7 @@ Compatibility with GMT/Python/NumPy versions - `Dev Documentation `_ (reflects `main branch `_) - >=6.3.0 - >=3.7 - - >=1.18 + - >=1.19 * - `v0.5.0 `_ (latest release) - `v0.5.0 Documentation `_ - >=6.2.0