Skip to content

Commit d2b0c39

Browse files
authored
NEP29: Set minimum required version to Python 3.9+ (#2487)
1 parent ba5cb77 commit d2b0c39

File tree

5 files changed

+8
-9
lines changed

5 files changed

+8
-9
lines changed

.github/workflows/ci_tests.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -28,21 +28,21 @@ jobs:
2828
strategy:
2929
fail-fast: false
3030
matrix:
31-
python-version: ['3.8', '3.11']
31+
python-version: ['3.9', '3.11']
3232
os: [ubuntu-latest, macOS-latest, windows-latest]
3333
# Is it a draft Pull Request (true or false)?
3434
isDraft:
3535
- ${{ github.event.pull_request.draft }}
36-
# Only run two jobs (Ubuntu + Python 3.8/3.11) for draft PRs
36+
# Only run two jobs (Ubuntu + Python 3.9/3.11) for draft PRs
3737
exclude:
3838
- os: macOS-latest
3939
isDraft: true
4040
- os: windows-latest
4141
isDraft: true
42-
# Pair Python 3.8 with NumPy 1.21 and Python 3.11 with NumPy 1.24
42+
# Pair Python 3.9 with NumPy 1.21 and Python 3.11 with NumPy 1.24
4343
# Only install optional packages on Python 3.11/NumPy 1.24
4444
include:
45-
- python-version: '3.8'
45+
- python-version: '3.9'
4646
numpy-version: '1.21'
4747
optional-packages: ''
4848
- python-version: '3.11'

.github/workflows/ci_tests_legacy.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
strategy:
2626
fail-fast: false
2727
matrix:
28-
python-version: ['3.8']
28+
python-version: ['3.9']
2929
os: [ubuntu-20.04, macOS-11, windows-2019]
3030
gmt_version: ['6.3']
3131
timeout-minutes: 30

README.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ Compatibility with GMT/Python/NumPy versions
262262
* - `Dev <https://github.com/GenericMappingTools/pygmt/milestones>`_ (upcoming release)
263263
- `Dev Documentation <https://www.pygmt.org/dev>`_ (reflects `main branch <https://github.com/GenericMappingTools/pygmt>`_)
264264
- >=6.3.0
265-
- >=3.8
265+
- >=3.9
266266
- >=1.21
267267
* - `v0.9.0 <https://github.com/GenericMappingTools/pygmt/releases/tag/v0.9.0>`_ (latest release)
268268
- `v0.9.0 Documentation <https://www.pygmt.org/v0.9.0>`_

doc/install.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ Start by looking at the tutorials on our sidebar, good luck!
6464
Which Python?
6565
-------------
6666

67-
PyGMT is tested to run on **Python 3.8 or greater**.
67+
PyGMT is tested to run on **Python 3.9 or greater**.
6868

6969
We recommend using the `Mambaforge <https://github.com/conda-forge/miniforge#mambaforge>`__
7070
Python distribution to ensure you have all dependencies installed and the

pyproject.toml

+1-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ build-backend = "setuptools.build_meta"
66
name = "pygmt"
77
description = "A Python interface for the Generic Mapping Tools"
88
readme = "README.rst"
9-
requires-python = ">=3.8"
9+
requires-python = ">=3.9"
1010
license = {text = "BSD License"}
1111
authors = [{name = "The PyGMT Developers", email = "[email protected]"}]
1212
keywords = [
@@ -25,7 +25,6 @@ classifiers = [
2525
"Intended Audience :: Education",
2626
"Topic :: Scientific/Engineering",
2727
"Topic :: Software Development :: Libraries",
28-
"Programming Language :: Python :: 3.8",
2928
"Programming Language :: Python :: 3.9",
3029
"Programming Language :: Python :: 3.10",
3130
"Programming Language :: Python :: 3.11",

0 commit comments

Comments
 (0)