Skip to content

Commit a97dff2

Browse files
authored
Add support for Python 3.14 (#4150)
1 parent 558789c commit a97dff2

File tree

13 files changed

+19
-21
lines changed

13 files changed

+19
-21
lines changed

.github/workflows/benchmarks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656
cache-environment-key: micromamba-environment-${{ steps.date.outputs.date }}
5757
create-args: >-
5858
gmt=6.6.0
59-
python=3.13
59+
python=3.14
6060
numpy
6161
pandas
6262
xarray

.github/workflows/cache_data.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
with:
5151
environment-name: pygmt
5252
create-args: >-
53-
python=3.13
53+
python=3.14
5454
gmt=6.6.0
5555
numpy
5656
pandas

.github/workflows/ci_docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ jobs:
9191
# environment cache is persistent for one week.
9292
cache-environment-key: micromamba-environment-${{ steps.date.outputs.date }}
9393
create-args: >-
94-
python=3.13
94+
python=3.14
9595
gmt=6.6.0
9696
ghostscript=10.06.0
9797
numpy

.github/workflows/ci_doctests.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
with:
5050
environment-name: pygmt
5151
create-args: >-
52-
python=3.13
52+
python=3.14
5353
gmt=6.6.0
5454
numpy
5555
pandas

.github/workflows/ci_tests.yaml

Lines changed: 3 additions & 3 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.13']
59+
python-version: ['3.11', '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:
@@ -76,8 +76,8 @@ jobs:
7676
pandas-version: '=2.2'
7777
xarray-version: '=2024.5'
7878
optional-packages: ' contextily geopandas ipython pyarrow-core rioxarray netCDF4 sphinx-gallery'
79-
# Python 3.13 + core packages (latest versions) + optional packages
80-
- python-version: '3.13'
79+
# Python 3.14 + core packages (latest versions) + optional packages
80+
- python-version: '3.14'
8181
numpy-version: '2.3'
8282
pandas-version: ''
8383
xarray-version: ''

.github/workflows/ci_tests_dev.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ jobs:
6767
# environment cache is persistent for one week.
6868
cache-environment-key: micromamba-environment-${{ steps.date.outputs.date }}
6969
create-args: >-
70-
python=3.13
70+
python=3.14
7171
cmake
7272
make
7373
ninja

.github/workflows/format-command.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
- name: Set up Python and install dependencies
3636
uses: actions/setup-python@v6.1.0
3737
with:
38-
python-version: '3.13'
38+
python-version: '3.14'
3939
pip-install: ruff prek
4040

4141
- name: List installed packages

.github/workflows/publish-to-pypi.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
- name: Set up Python and install dependencies
5353
uses: actions/setup-python@v6.1.0
5454
with:
55-
python-version: '3.13'
55+
python-version: '3.14'
5656
pip-install: build
5757

5858
# This step is only necessary for testing purposes and for TestPyPI

.github/workflows/style_checks.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
- name: Set up Python and install dependencies
3434
uses: actions/setup-python@v6.1.0
3535
with:
36-
python-version: '3.13'
36+
python-version: '3.14'
3737
pip-install: ruff prek
3838

3939
- name: List installed packages

.github/workflows/type_checks.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -43,17 +43,14 @@ jobs:
4343
- name: Set up Python
4444
uses: actions/setup-python@v6.1.0
4545
with:
46-
python-version: '3.13'
47-
# Need to install four groups of packages:
46+
python-version: '3.14'
47+
# Need to install following packages:
4848
# 1. required packages
49-
# 2. optional packages
50-
# 3. type checker and stub packages
51-
# 4. other packages that are used somewhere in PyGMT
49+
# 2. type checker and stub packages
50+
# 3. other packages that are used somewhere in PyGMT
5251
pip-install: |
5352
numpy pandas xarray packaging
54-
contextily geopandas ipython pyarrow rioxarray
5553
mypy pandas-stubs pyarrow-stubs
56-
matplotlib pytest
5754
5855
- name: List install packages
5956
run: python -m pip list

0 commit comments

Comments
 (0)