Skip to content

Commit 185afd3

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 185afd3

File tree

2 files changed

+5
-8
lines changed

2 files changed

+5
-8
lines changed

pyproject.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,18 +21,17 @@ classifiers = [
2121
"Intended Audience :: Developers",
2222
"Operating System :: OS Independent",
2323
"License :: OSI Approved :: MIT License",
24-
"Programming Language :: Python :: 3.7",
25-
"Programming Language :: Python :: 3.8",
2624
"Programming Language :: Python :: 3.9",
2725
"Programming Language :: Python :: 3.10",
2826
"Programming Language :: Python :: 3.11",
27+
"Programming Language :: Python :: 3.12",
2928
]
3029
packages = [
3130
{ include = "sherlock" },
3231
]
3332

3433
[tool.poetry.dependencies]
35-
python = "^3.7"
34+
python = "^3.9"
3635

3736
filelock = { version = "^3.7.1", optional = true }
3837
kubernetes = { version = "^24.2.0", optional = true }

tox.ini

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
[tox]
22
envlist =
3-
py37,
4-
py38,
53
py39,
64
py310,
7-
py311
5+
py311,
6+
py312
87
isolated_build = true
98

109
[testenv]
@@ -66,11 +65,10 @@ healthcheck_start_period = 0
6665

6766
[gh-actions]
6867
python =
69-
3.7: py37
70-
3.8: py38
7168
3.9: py39
7269
3.10: py310
7370
3.11: py311
71+
3.12: py312
7472
fail_on_no_env = True
7573

7674
[flake8]

0 commit comments

Comments
 (0)