Skip to content

Commit 58d149d

Browse files
committed
Add python 3.12 support
Python 3.12 was released a while ago and is now used mainly in Ubuntu Noble. Also remove support for Python <= 3.8 because these are already in EOL status.
1 parent 245ece9 commit 58d149d

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

pyproject.toml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
[project]
2+
requires-python = ">= 3.9"
3+
14
[tool]
25

36
[tool.poetry]
@@ -21,18 +24,17 @@ classifiers = [
2124
"Intended Audience :: Developers",
2225
"Operating System :: OS Independent",
2326
"License :: OSI Approved :: MIT License",
24-
"Programming Language :: Python :: 3.7",
25-
"Programming Language :: Python :: 3.8",
2627
"Programming Language :: Python :: 3.9",
2728
"Programming Language :: Python :: 3.10",
2829
"Programming Language :: Python :: 3.11",
30+
"Programming Language :: Python :: 3.12",
2931
]
3032
packages = [
3133
{ include = "sherlock" },
3234
]
3335

3436
[tool.poetry.dependencies]
35-
python = "^3.7"
37+
python = "^3.9"
3638

3739
filelock = { version = "^3.7.1", optional = true }
3840
kubernetes = { version = "^24.2.0", optional = true }

tox.ini

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,11 +66,10 @@ healthcheck_start_period = 0
6666

6767
[gh-actions]
6868
python =
69-
3.7: py37
70-
3.8: py38
7169
3.9: py39
7270
3.10: py310
7371
3.11: py311
72+
3.12: py312
7473
fail_on_no_env = True
7574

7675
[flake8]

0 commit comments

Comments
 (0)