diff --git a/.github/workflows/ci_tests.yaml b/.github/workflows/ci_tests.yaml index b5d85028f43..232d1e5754d 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.14'] + python-version: ['3.12', '3.14'] os: [ubuntu-latest, ubuntu-24.04-arm, macos-latest, windows-latest] # Is it a draft Pull Request (true or false)? isDraft: @@ -70,8 +70,8 @@ jobs: - os: windows-latest isDraft: true include: - # Python 3.11 + core packages (minimum supported versions) + optional packages (minimum supported versions if any) - - python-version: '3.11' + # Python 3.12 + core packages (minimum supported versions) + optional packages (minimum supported versions if any) + - python-version: '3.12' numpy-version: '2.0' pandas-version: '=2.2' xarray-version: '=2024.5' @@ -82,9 +82,9 @@ jobs: pandas-version: '' xarray-version: '' optional-packages: ' contextily geopandas ipython pyarrow-core rioxarray netCDF4 sphinx-gallery' - # Python 3.12 + core packages (Linux only) + # Python 3.13 + core packages (Linux only) - os: 'ubuntu-latest' - python-version: '3.12' + python-version: '3.13' numpy-version: '' pandas-version: '' xarray-version: '' diff --git a/.github/workflows/ci_tests_legacy.yaml b/.github/workflows/ci_tests_legacy.yaml index b9bd3754a1f..7ef03db1bec 100644 --- a/.github/workflows/ci_tests_legacy.yaml +++ b/.github/workflows/ci_tests_legacy.yaml @@ -58,7 +58,7 @@ jobs: with: environment-name: pygmt create-args: >- - python=3.11 + python=3.12 gmt=${{ matrix.gmt_version }} ghostscript numpy=2.0 diff --git a/environment.yml b/environment.yml index c6053ff4e4f..6cf6db8fc15 100644 --- a/environment.yml +++ b/environment.yml @@ -3,7 +3,7 @@ channels: - conda-forge - nodefaults dependencies: - - python>=3.11 + - python>=3.12 # Required dependencies - gmt=6.6.0 - ghostscript=10.06.0 diff --git a/pyproject.toml b/pyproject.toml index 159a058809b..04af1b23ea5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,7 +6,7 @@ build-backend = "setuptools.build_meta" name = "pygmt" description = "A Python interface for the Generic Mapping Tools" readme = "README.md" -requires-python = ">=3.11" +requires-python = ">=3.12" authors = [{name = "The PyGMT Developers", email = "pygmt.team@gmail.com"}] license = "BSD-3-Clause" license-files = ["LICENSE.txt"] @@ -30,7 +30,6 @@ classifiers = [ "Operating System :: Microsoft :: Windows", "Operating System :: POSIX", "Operating System :: Unix", - "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", "Programming Language :: Python :: 3.14",