diff --git a/.github/workflows/benchmarks.yml b/.github/workflows/benchmarks.yml index 78061354e03..31d3308ae44 100644 --- a/.github/workflows/benchmarks.yml +++ b/.github/workflows/benchmarks.yml @@ -56,7 +56,7 @@ jobs: cache-environment-key: micromamba-environment-${{ steps.date.outputs.date }} create-args: >- gmt=6.6.0 - python=3.13 + python=3.14 numpy pandas xarray diff --git a/.github/workflows/cache_data.yaml b/.github/workflows/cache_data.yaml index 8a7d26fcb37..760663025d3 100644 --- a/.github/workflows/cache_data.yaml +++ b/.github/workflows/cache_data.yaml @@ -50,7 +50,7 @@ jobs: with: environment-name: pygmt create-args: >- - python=3.13 + python=3.14 gmt=6.6.0 numpy pandas diff --git a/.github/workflows/ci_docs.yml b/.github/workflows/ci_docs.yml index e41a805c5c5..14f35214050 100644 --- a/.github/workflows/ci_docs.yml +++ b/.github/workflows/ci_docs.yml @@ -90,7 +90,7 @@ jobs: # environment cache is persistent for one week. cache-environment-key: micromamba-environment-${{ steps.date.outputs.date }} create-args: >- - python=3.13 + python=3.14 gmt=6.6.0 ghostscript=10.06.0 numpy diff --git a/.github/workflows/ci_doctests.yaml b/.github/workflows/ci_doctests.yaml index 38ca30ae301..07da96c3593 100644 --- a/.github/workflows/ci_doctests.yaml +++ b/.github/workflows/ci_doctests.yaml @@ -49,7 +49,7 @@ jobs: with: environment-name: pygmt create-args: >- - python=3.13 + python=3.14 gmt=6.6.0 numpy pandas diff --git a/.github/workflows/ci_tests.yaml b/.github/workflows/ci_tests.yaml index 976d080ccfa..6fec7469c8d 100644 --- a/.github/workflows/ci_tests.yaml +++ b/.github/workflows/ci_tests.yaml @@ -56,7 +56,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ['3.11', '3.13'] + python-version: ['3.11', '3.14'] os: [ubuntu-latest, ubuntu-24.04-arm, macos-latest, windows-latest] # Is it a draft Pull Request (true or false)? isDraft: @@ -76,8 +76,8 @@ jobs: pandas-version: '=2.2' xarray-version: '=2023.10' optional-packages: ' contextily geopandas ipython pyarrow-core rioxarray netCDF4 sphinx-gallery' - # Python 3.13 + core packages (latest versions) + optional packages - - python-version: '3.13' + # Python 3.14 + core packages (latest versions) + optional packages + - python-version: '3.14' numpy-version: '2.3' pandas-version: '' xarray-version: '' diff --git a/.github/workflows/ci_tests_dev.yaml b/.github/workflows/ci_tests_dev.yaml index c52413dad37..91cf8fbe112 100644 --- a/.github/workflows/ci_tests_dev.yaml +++ b/.github/workflows/ci_tests_dev.yaml @@ -67,7 +67,7 @@ jobs: # environment cache is persistent for one week. cache-environment-key: micromamba-environment-${{ steps.date.outputs.date }} create-args: >- - python=3.13 + python=3.14 cmake make ninja diff --git a/.github/workflows/format-command.yml b/.github/workflows/format-command.yml index d00b88b084f..1f2e2fc17b3 100644 --- a/.github/workflows/format-command.yml +++ b/.github/workflows/format-command.yml @@ -34,7 +34,7 @@ jobs: # Setup Python environment - uses: actions/setup-python@v6.0.0 with: - python-version: '3.13' + python-version: '3.14' # Install formatting tools - name: Install formatting tools diff --git a/.github/workflows/publish-to-pypi.yml b/.github/workflows/publish-to-pypi.yml index e6692fa6f66..55d1fab5402 100644 --- a/.github/workflows/publish-to-pypi.yml +++ b/.github/workflows/publish-to-pypi.yml @@ -52,7 +52,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v6.0.0 with: - python-version: '3.13' + python-version: '3.14' - name: Install dependencies run: python -m pip install build diff --git a/.github/workflows/style_checks.yaml b/.github/workflows/style_checks.yaml index dee573a9fab..32dcd41c9eb 100644 --- a/.github/workflows/style_checks.yaml +++ b/.github/workflows/style_checks.yaml @@ -34,7 +34,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v6.0.0 with: - python-version: '3.13' + python-version: '3.14' - name: Install packages run: | diff --git a/.github/workflows/type_checks.yml b/.github/workflows/type_checks.yml index 02a06d30a36..7f528746ae2 100644 --- a/.github/workflows/type_checks.yml +++ b/.github/workflows/type_checks.yml @@ -43,7 +43,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v6.0.0 with: - python-version: '3.13' + python-version: '3.14' - name: Install packages run: | diff --git a/ci/requirements/docs.yml b/ci/requirements/docs.yml index 879ea6bc7bf..6ecdc6b6670 100644 --- a/ci/requirements/docs.yml +++ b/ci/requirements/docs.yml @@ -4,7 +4,7 @@ channels: - nodefaults dependencies: # Required dependencies - - python=3.13 + - python=3.14 - gmt=6.6.0 - ghostscript=10.06.0 - numpy diff --git a/doc/install.md b/doc/install.md index db03ffdec50..cbbc2afa14b 100644 --- a/doc/install.md +++ b/doc/install.md @@ -127,14 +127,14 @@ installed (we'll call it `pygmt` but feel free to change it to whatever you want ::: {tab-item} mamba :sync: mamba ``` -mamba create --name pygmt python=3.13 numpy pandas xarray packaging gmt +mamba create --name pygmt python=3.14 numpy pandas xarray packaging gmt ``` ::: ::: {tab-item} conda :sync: conda ``` -conda create --name pygmt python=3.13 numpy pandas xarray packaging gmt +conda create --name pygmt python=3.14 numpy pandas xarray packaging gmt ``` ::: :::: diff --git a/pyproject.toml b/pyproject.toml index 8dd8a656f01..15bbfe3166a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -33,6 +33,7 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", + "Programming Language :: Python :: 3.14", ] dependencies = [ "numpy>=1.26",