Skip to content

Commit

Permalink
SPEC 0: Bump minimum supported version to Python 3.11 (#3606)
Browse files Browse the repository at this point in the history
  • Loading branch information
seisman authored Dec 19, 2024
1 parent 823d9c0 commit fe1547a
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 10 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ['3.10', '3.13']
python-version: ['3.11', '3.13']
os: [ubuntu-latest, macos-latest, windows-latest]
# Is it a draft Pull Request (true or false)?
isDraft:
Expand All @@ -68,8 +68,8 @@ jobs:
- os: windows-latest
isDraft: true
include:
# Python 3.10 + core packages (minimum supported versions) + optional packages (minimum supported versions if any)
- python-version: '3.10'
# Python 3.11 + core packages (minimum supported versions) + optional packages (minimum supported versions if any)
- python-version: '3.11'
numpy-version: '1.24'
pandas-version: '=2.0'
xarray-version: '=2023.04'
Expand All @@ -80,9 +80,9 @@ jobs:
pandas-version: ''
xarray-version: ''
optional-packages: ' contextily geopandas>=1.0 ipython pyarrow rioxarray sphinx-gallery'
# Python 3.11 + core packages (Linux only)
# Python 3.12 + core packages (Linux only)
- os: 'ubuntu-latest'
python-version: '3.11'
python-version: '3.12'
numpy-version: ''
pandas-version: ''
xarray-version: ''
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci_tests_legacy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
- conda-forge
- nodefaults
create-args: >-
python=3.10
python=3.11
gmt=${{ matrix.gmt_version }}
ghostscript<10
numpy<2
Expand Down
2 changes: 1 addition & 1 deletion environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ channels:
- conda-forge
- nodefaults
dependencies:
- python>=3.10
- python>=3.11
# Required dependencies
- gmt=6.5.0
- ghostscript=10.04.0
Expand Down
2 changes: 1 addition & 1 deletion pygmt/tests/test_clib_put_vector.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ def test_put_vector_string_dtype():
"2021-02-03T00:00:00",
"2021-02-03T04:00:00",
"2021-02-03T04:05:06",
f"{datetime.datetime.now(tz=datetime.timezone.utc).strftime('%Y-%m-%d')}T04:50:06",
f"{datetime.datetime.now(tz=datetime.UTC).strftime('%Y-%m-%d')}T04:50:06",
],
]

Expand Down
3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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.10"
requires-python = ">=3.11"
authors = [{name = "The PyGMT Developers", email = "[email protected]"}]
keywords = [
"cartography",
Expand All @@ -24,7 +24,6 @@ classifiers = [
"Intended Audience :: Education",
"Topic :: Scientific/Engineering",
"Topic :: Software Development :: Libraries",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
Expand Down

0 comments on commit fe1547a

Please sign in to comment.