Skip to content

Commit 4e86de1

Browse files
authored
Update to Python 3.12 (#73)
1 parent 8657ff1 commit 4e86de1

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

.github/workflows/test_and_deploy.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,15 @@ jobs:
2828
matrix:
2929
# Run all supported Python versions on linux
3030
os: [ubuntu-latest]
31-
python-version: ["3.10", "3.11"]
31+
python-version: ["3.10", "3.11", "3.12"]
3232
# Include one windows and two macOS (intel based and arm based) runs
3333
include:
3434
- os: macos-13
35-
python-version: "3.11"
35+
python-version: "3.12"
3636
- os: macos-latest
37-
python-version: "3.11"
37+
python-version: "3.12"
3838
- os: windows-latest
39-
python-version: "3.11"
39+
python-version: "3.12"
4040

4141
steps:
4242
# Run tests

pyproject.toml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ classifiers = [
2929
"Programming Language :: Python :: 3",
3030
"Programming Language :: Python :: 3.10",
3131
"Programming Language :: Python :: 3.11",
32+
"Programming Language :: Python :: 3.12",
3233
"Operating System :: OS Independent",
3334
"License :: OSI Approved :: MIT License",
3435
]
@@ -71,7 +72,7 @@ exclude = ["tests*", "examples*"]
7172
addopts = "--cov=morphapi"
7273

7374
[tool.black]
74-
target-version = ['py310','py311']
75+
target-version = ['py310','py311', 'py312']
7576
skip-string-normalization = false
7677
line-length = 79
7778

@@ -97,13 +98,14 @@ select = ["I", "E", "F"]
9798
[tool.tox]
9899
legacy_tox_ini = """
99100
[tox]
100-
envlist = py{310,311}
101+
envlist = py{310,311,312}
101102
isolated_build = True
102103
103104
[gh-actions]
104105
python =
105106
3.10: py310
106107
3.11: py311
108+
3.12: py312
107109
108110
[testenv]
109111
extras =

0 commit comments

Comments
 (0)