From 967bdea0ea276fb25644990a231fa95054199f4c Mon Sep 17 00:00:00 2001 From: Michael Grund <23025878+michaelgrund@users.noreply.github.com> Date: Sun, 19 Dec 2021 13:51:27 +0100 Subject: [PATCH 1/5] Drop Python 3.7 on Dec. 26, 2021 --- .github/workflows/ci_tests.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci_tests.yaml b/.github/workflows/ci_tests.yaml index c725cb3e30b..d8223b86e5f 100644 --- a/.github/workflows/ci_tests.yaml +++ b/.github/workflows/ci_tests.yaml @@ -30,7 +30,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: [3.7, 3.9] + python-version: [3.8, 3.9] os: [ubuntu-latest, macOS-latest, windows-latest] # Is it a draft Pull Request (true or false)? isDraft: @@ -44,10 +44,10 @@ 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.8 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 + - python-version: 3.8 numpy-version: '1.18' optional-packages: '' - python-version: 3.9 From 064769a3ad85157f25dbb95d1156dd4b63a4f224 Mon Sep 17 00:00:00 2001 From: Michael Grund Date: Sun, 19 Dec 2021 13:54:06 +0100 Subject: [PATCH 2/5] 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..7d975c2308d 100644 --- a/doc/install.rst +++ b/doc/install.rst @@ -35,7 +35,7 @@ Start by looking at the tutorials on our sidebar, good luck! Which Python? ------------- -PyGMT is tested to run on **Python 3.7 or greater**. +PyGMT is tested to run on **Python 3.8 or greater**. We recommend using the `Anaconda `__ Python distribution to ensure you have all dependencies installed and the From a29e80e8a16e0f8c33a913261cc1ea5347f8b04f Mon Sep 17 00:00:00 2001 From: Michael Grund Date: Sun, 19 Dec 2021 13:55:00 +0100 Subject: [PATCH 3/5] update setup.py --- setup.py | 1 - 1 file changed, 1 deletion(-) diff --git a/setup.py b/setup.py index 3a2e261af3f..f35e7ea9f8b 100644 --- a/setup.py +++ b/setup.py @@ -27,7 +27,6 @@ "Intended Audience :: Education", "Topic :: Scientific/Engineering", "Topic :: Software Development :: Libraries", - "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", From aaad79f578049bc33a1fb67756c2f339c27eac47 Mon Sep 17 00:00:00 2001 From: Michael Grund <23025878+michaelgrund@users.noreply.github.com> Date: Mon, 20 Dec 2021 08:37:16 +0100 Subject: [PATCH 4/5] Apply suggestions from code review Co-authored-by: Wei Ji <23487320+weiji14@users.noreply.github.com> --- .github/workflows/ci_tests.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci_tests.yaml b/.github/workflows/ci_tests.yaml index d8223b86e5f..a86146426ff 100644 --- a/.github/workflows/ci_tests.yaml +++ b/.github/workflows/ci_tests.yaml @@ -30,7 +30,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: [3.8, 3.9] + python-version: ['3.8', '3.9'] os: [ubuntu-latest, macOS-latest, windows-latest] # Is it a draft Pull Request (true or false)? isDraft: @@ -47,10 +47,10 @@ jobs: # Pair Python 3.8 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.8 + - python-version: '3.8' numpy-version: '1.18' optional-packages: '' - - python-version: 3.9 + - python-version: '3.9' numpy-version: '1.21' optional-packages: 'geopandas ipython' timeout-minutes: 30 From 67c1e8afd246460593511c4358d0a3b7e3618a4d Mon Sep 17 00:00:00 2001 From: Michael Grund Date: Mon, 20 Dec 2021 08:40:23 +0100 Subject: [PATCH 5/5] update setup.py --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index f35e7ea9f8b..4b575c3ec2c 100644 --- a/setup.py +++ b/setup.py @@ -33,7 +33,7 @@ f"License :: OSI Approved :: {LICENSE}", ] PLATFORMS = "Any" -PYTHON_REQUIRES = ">=3.7" +PYTHON_REQUIRES = ">=3.8" INSTALL_REQUIRES = ["numpy>=1.18", "pandas", "xarray", "netCDF4", "packaging"] # Configuration for setuptools-scm SETUP_REQUIRES = ["setuptools_scm"]