Skip to content

Commit 9fcda1b

Browse files
authored
SPEC 0: Bump minimum supported version to Python 3.12 (#4248)
1 parent a97dff2 commit 9fcda1b

File tree

4 files changed

+8
-9
lines changed

4 files changed

+8
-9
lines changed

.github/workflows/ci_tests.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656
strategy:
5757
fail-fast: false
5858
matrix:
59-
python-version: ['3.11', '3.14']
59+
python-version: ['3.12', '3.14']
6060
os: [ubuntu-latest, ubuntu-24.04-arm, macos-latest, windows-latest]
6161
# Is it a draft Pull Request (true or false)?
6262
isDraft:
@@ -70,8 +70,8 @@ jobs:
7070
- os: windows-latest
7171
isDraft: true
7272
include:
73-
# Python 3.11 + core packages (minimum supported versions) + optional packages (minimum supported versions if any)
74-
- python-version: '3.11'
73+
# Python 3.12 + core packages (minimum supported versions) + optional packages (minimum supported versions if any)
74+
- python-version: '3.12'
7575
numpy-version: '2.0'
7676
pandas-version: '=2.2'
7777
xarray-version: '=2024.5'
@@ -82,9 +82,9 @@ jobs:
8282
pandas-version: ''
8383
xarray-version: ''
8484
optional-packages: ' contextily geopandas ipython pyarrow-core rioxarray netCDF4 sphinx-gallery'
85-
# Python 3.12 + core packages (Linux only)
85+
# Python 3.13 + core packages (Linux only)
8686
- os: 'ubuntu-latest'
87-
python-version: '3.12'
87+
python-version: '3.13'
8888
numpy-version: ''
8989
pandas-version: ''
9090
xarray-version: ''

.github/workflows/ci_tests_legacy.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
with:
5959
environment-name: pygmt
6060
create-args: >-
61-
python=3.11
61+
python=3.12
6262
gmt=${{ matrix.gmt_version }}
6363
ghostscript
6464
numpy=2.0

environment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ channels:
33
- conda-forge
44
- nodefaults
55
dependencies:
6-
- python>=3.11
6+
- python>=3.12
77
# Required dependencies
88
- gmt=6.6.0
99
- ghostscript=10.06.0

pyproject.toml

Lines changed: 1 addition & 2 deletions
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.md"
9-
requires-python = ">=3.11"
9+
requires-python = ">=3.12"
1010
authors = [{name = "The PyGMT Developers", email = "pygmt.team@gmail.com"}]
1111
license = "BSD-3-Clause"
1212
license-files = ["LICENSE.txt"]
@@ -30,7 +30,6 @@ classifiers = [
3030
"Operating System :: Microsoft :: Windows",
3131
"Operating System :: POSIX",
3232
"Operating System :: Unix",
33-
"Programming Language :: Python :: 3.11",
3433
"Programming Language :: Python :: 3.12",
3534
"Programming Language :: Python :: 3.13",
3635
"Programming Language :: Python :: 3.14",

0 commit comments

Comments
 (0)