Skip to content

Commit

Permalink
DEP: Add Python 3.12 support (#1341)
Browse files Browse the repository at this point in the history
  • Loading branch information
snowman2 committed Sep 17, 2023
1 parent 76b77c8 commit dd80043
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 5 deletions.
1 change: 1 addition & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ concurrency:

env:
PROJ_VERSION: "9.3.0"
DEBIAN_FRONTEND: noninteractive

jobs:
make_sdist:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/test_proj_latest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
cancel-in-progress: true

env:
DEBIAN_FRONTEND: noninteractive

jobs:
test_proj_latest:
name: PROJ Latest
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ concurrency:

env:
PYPROJ_FULL_COVERAGE: YES
DEBIAN_FRONTEND: noninteractive

jobs:
linting:
Expand All @@ -39,9 +40,11 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ['3.9', '3.10', '3.11']
proj-version: ['9.2.0']
python-version: ['3.9', '3.10', '3.11', '3.12']
proj-version: ['9.3.0']
include:
- python-version: '3.9'
proj-version: '9.2.1'
- python-version: '3.9'
proj-version: '9.1.1'
- python-version: '3.9'
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ classifiers = [
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3 :: Only",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: GIS",
Expand Down
6 changes: 3 additions & 3 deletions requirements-test.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ packaging
pytest>3.6
pytest-cov
numpy
pandas
shapely
xarray
pandas; python_version<'3.12'
shapely; python_version<'3.12'
xarray; python_version<'3.12'

0 comments on commit dd80043

Please sign in to comment.