Skip to content

Commit 1513e30

Browse files
authored
Add python==3.12 support (#229)
1 parent d9a8b98 commit 1513e30

File tree

5 files changed

+11
-7
lines changed

5 files changed

+11
-7
lines changed

.github/workflows/deploy.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ jobs:
2020
- uses: paddyroddy/.github/actions/python/deployment@3135c318562994eafc62974821c6f80aa64b35da # v0
2121
with:
2222
pyproject-toml: ./pyproject.toml
23-
python-version: "3.11"
23+
python-version: "3.12"

.github/workflows/documentation.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,5 @@ jobs:
2020
github-token: ${{ secrets.GITHUB_TOKEN }}
2121
project-directory: ./src/sleplet
2222
pyproject-toml: ./pyproject.toml
23-
python-version: "3.11"
23+
python-version: "3.12"
2424
template-directory: ./documentation

.github/workflows/examples.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
- name: Set up python
2525
uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5
2626
with:
27-
python-version: "3.11"
27+
python-version: "3.12"
2828
cache: pip
2929
cache-dependency-path: pyproject.toml
3030

@@ -49,7 +49,7 @@ jobs:
4949
- name: Set up python
5050
uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5
5151
with:
52-
python-version: "3.11"
52+
python-version: "3.12"
5353
cache: pip
5454
cache-dependency-path: pyproject.toml
5555

.github/workflows/test.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ jobs:
2121
python-version:
2222
- "3.10"
2323
- "3.11"
24+
- "3.12"
2425
steps:
2526
# yamllint disable-line rule:line-length
2627
- uses: paddyroddy/.github/actions/python/tox@e59369bbd745ef1eae9b8327fba32a4f87ff13ca # v0
@@ -54,5 +55,6 @@ jobs:
5455
run-macos-latest-3.10,\
5556
run-ubuntu-latest-3.10,\
5657
run-macos-latest-3.11,\
57-
run-ubuntu-latest-3.11\
58-
"
58+
run-ubuntu-latest-3.11,\
59+
run-macos-latest-3.12,\
60+
run-ubuntu-latest-3.12"

pyproject.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ classifiers = [
1616
"Programming Language :: Python :: 3 :: Only",
1717
"Programming Language :: Python :: 3.10",
1818
"Programming Language :: Python :: 3.11",
19+
"Programming Language :: Python :: 3.12",
1920
"Topic :: Scientific/Engineering :: Image Processing",
2021
"Topic :: Scientific/Engineering :: Mathematics",
2122
"Topic :: Scientific/Engineering :: Physics",
@@ -211,6 +212,7 @@ legacy_tox_ini = """
211212
python =
212213
3.10: py310
213214
3.11: py311
215+
3.12: py312
214216
215217
[gh-actions:env]
216218
OS =
@@ -224,5 +226,5 @@ legacy_tox_ini = """
224226
pytest-cov
225227
226228
[tox]
227-
env_list = py{310,311}-{linux,macos}
229+
env_list = py{310,311,312}-{linux,macos}
228230
"""

0 commit comments

Comments
 (0)