Skip to content

Commit dd80043

Browse files
authored
DEP: Add Python 3.12 support (#1341)
1 parent 76b77c8 commit dd80043

File tree

5 files changed

+13
-5
lines changed

5 files changed

+13
-5
lines changed

.github/workflows/release.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ concurrency:
1616

1717
env:
1818
PROJ_VERSION: "9.3.0"
19+
DEBIAN_FRONTEND: noninteractive
1920

2021
jobs:
2122
make_sdist:

.github/workflows/test_proj_latest.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ concurrency:
1414
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
1515
cancel-in-progress: true
1616

17+
env:
18+
DEBIAN_FRONTEND: noninteractive
19+
1720
jobs:
1821
test_proj_latest:
1922
name: PROJ Latest

.github/workflows/tests.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ concurrency:
1414

1515
env:
1616
PYPROJ_FULL_COVERAGE: YES
17+
DEBIAN_FRONTEND: noninteractive
1718

1819
jobs:
1920
linting:
@@ -39,9 +40,11 @@ jobs:
3940
strategy:
4041
fail-fast: false
4142
matrix:
42-
python-version: ['3.9', '3.10', '3.11']
43-
proj-version: ['9.2.0']
43+
python-version: ['3.9', '3.10', '3.11', '3.12']
44+
proj-version: ['9.3.0']
4445
include:
46+
- python-version: '3.9'
47+
proj-version: '9.2.1'
4548
- python-version: '3.9'
4649
proj-version: '9.1.1'
4750
- python-version: '3.9'

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ classifiers = [
3232
"Programming Language :: Python :: 3.9",
3333
"Programming Language :: Python :: 3.10",
3434
"Programming Language :: Python :: 3.11",
35+
"Programming Language :: Python :: 3.12",
3536
"Programming Language :: Python :: 3 :: Only",
3637
"Topic :: Scientific/Engineering",
3738
"Topic :: Scientific/Engineering :: GIS",

requirements-test.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ packaging
22
pytest>3.6
33
pytest-cov
44
numpy
5-
pandas
6-
shapely
7-
xarray
5+
pandas; python_version<'3.12'
6+
shapely; python_version<'3.12'
7+
xarray; python_version<'3.12'

0 commit comments

Comments
 (0)