Skip to content

Commit 90df7b2

Browse files
NEP29: Set minimum required version to Python 3.8+ (#1676)
Co-authored-by: Wei Ji <23487320+weiji14@users.noreply.github.com>
1 parent 3477ceb commit 90df7b2

3 files changed

Lines changed: 6 additions & 7 deletions

File tree

.github/workflows/ci_tests.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
strategy:
3131
fail-fast: false
3232
matrix:
33-
python-version: [3.7, 3.9]
33+
python-version: ['3.8', '3.9']
3434
os: [ubuntu-latest, macOS-latest, windows-latest]
3535
# Is it a draft Pull Request (true or false)?
3636
isDraft:
@@ -44,13 +44,13 @@ jobs:
4444
# - os: ubuntu-latest
4545
# python-version: 3.7
4646
# isDraft: true
47-
# Pair Python 3.7 with NumPy 1.19 and Python 3.9 with NumPy 1.21
47+
# Pair Python 3.8 with NumPy 1.19 and Python 3.9 with NumPy 1.21
4848
# Only install optional packages on Python 3.9/NumPy 1.21
4949
include:
50-
- python-version: 3.7
50+
- python-version: '3.8'
5151
numpy-version: '1.19'
5252
optional-packages: ''
53-
- python-version: 3.9
53+
- python-version: '3.9'
5454
numpy-version: '1.21'
5555
optional-packages: 'geopandas ipython'
5656
timeout-minutes: 30

doc/install.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Start by looking at the tutorials on our sidebar, good luck!
3535
Which Python?
3636
-------------
3737

38-
PyGMT is tested to run on **Python 3.7 or greater**.
38+
PyGMT is tested to run on **Python 3.8 or greater**.
3939

4040
We recommend using the `Anaconda <https://www.anaconda.com/distribution>`__
4141
Python distribution to ensure you have all dependencies installed and the

setup.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,13 @@
2727
"Intended Audience :: Education",
2828
"Topic :: Scientific/Engineering",
2929
"Topic :: Software Development :: Libraries",
30-
"Programming Language :: Python :: 3.7",
3130
"Programming Language :: Python :: 3.8",
3231
"Programming Language :: Python :: 3.9",
3332
"Programming Language :: Python :: 3.10",
3433
f"License :: OSI Approved :: {LICENSE}",
3534
]
3635
PLATFORMS = "Any"
37-
PYTHON_REQUIRES = ">=3.7"
36+
PYTHON_REQUIRES = ">=3.8"
3837
INSTALL_REQUIRES = ["numpy>=1.19", "pandas", "xarray", "netCDF4", "packaging"]
3938
# Configuration for setuptools-scm
4039
SETUP_REQUIRES = ["setuptools_scm"]

0 commit comments

Comments
 (0)