Skip to content

Commit cea24f7

Browse files
authored
Support and test Python 3.12 (#286)
1 parent c6f45f6 commit cea24f7

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ jobs:
7575
fail-fast: true
7676
matrix:
7777
os: ['ubuntu-latest', 'macos-latest', 'windows-latest']
78-
python-version: ['3.8', '3.9', '3.10', '3.11']
78+
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
7979
sidx-version: ['1.8.5','1.9.3']
8080

8181
steps:
@@ -104,7 +104,7 @@ jobs:
104104
strategy:
105105
fail-fast: true
106106
matrix:
107-
python-version: ['3.8', '3.9', '3.10', '3.11']
107+
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
108108

109109
steps:
110110
- uses: actions/checkout@v4
@@ -153,7 +153,7 @@ jobs:
153153
choco install vcpython27 -f -y
154154
ci\install_libspatialindex.bat
155155
- name: Build wheels
156-
uses: pypa/[email protected].1
156+
uses: pypa/[email protected].2
157157
- uses: actions/upload-artifact@v3
158158
with:
159159
name: ${{ matrix.os }}-whl

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ classifiers = [
2626
"Programming Language :: Python :: 3.9",
2727
"Programming Language :: Python :: 3.10",
2828
"Programming Language :: Python :: 3.11",
29+
"Programming Language :: Python :: 3.12",
2930
"Topic :: Scientific/Engineering :: GIS",
3031
"Topic :: Database",
3132
]
@@ -46,7 +47,7 @@ version = {attr = "rtree.__version__"}
4647
rtree = ["lib", "py.typed"]
4748

4849
[tool.black]
49-
target-version = ["py38", "py39", "py310", "py311"]
50+
target-version = ["py38", "py39", "py310", "py311", "py312"]
5051
color = true
5152
skip_magic_trailing_comma = true
5253

0 commit comments

Comments
 (0)