Skip to content

Commit 921e8a4

Browse files
committed
Update to Python 3.12
1 parent 1338998 commit 921e8a4

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

pyproject.toml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
[build-system]
2-
requires = ["setuptools>=68", "wheel"]
2+
requires = ["setuptools>=77", "wheel"]
33
build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "httk-website"
77
version = "0.1.0"
88
description = "The httk.org website, generated with the httk-web (httk.web) static site generator."
99
readme = "README.md"
10-
license = "AGPL-3.0+"
11-
requires-python = ">=3.11"
10+
license = "AGPL-3.0-or-later"
11+
requires-python = ">=3.12"
1212
authors = [{ name = "Rickard Armiento", email = "gitcommits@armiento.net" }]
1313
dependencies = [
1414
"httk-web @ git+https://github.com/httk/httk-web@develop",
@@ -26,7 +26,7 @@ dev = [
2626
"ruff",
2727
"isort",
2828
"pyright",
29-
"mypy"
29+
"mypy",
3030
]
3131

3232
[tool.setuptools]
@@ -36,20 +36,20 @@ py-modules = []
3636
profile = "black"
3737

3838
[tool.ruff]
39-
target-version = "py311"
39+
target-version = "py312"
4040

4141
[tool.black]
42-
target-version = ["py311"]
42+
target-version = ["py312"]
4343
line-length = 120
4444
skip-string-normalization = true
4545

4646
[tool.pyright]
47-
pythonVersion = "3.11"
47+
pythonVersion = "3.12"
4848
include = ["serve_dynamic.py", "publish_static.py"]
4949
reportMissingImports = true
5050

5151
[tool.mypy]
52-
python_version = "3.11"
52+
python_version = "3.12"
5353
files = ["serve_dynamic.py", "publish_static.py"]
5454
namespace_packages = true
5555
explicit_package_bases = true

0 commit comments

Comments
 (0)