Bump the minimum Python version to 3.12 (#2933)
This commit is contained in:
parent
6c37ba68e2
commit
46e4e28294
|
|
@ -12,4 +12,4 @@ sphinx:
|
||||||
build:
|
build:
|
||||||
os: "ubuntu-22.04"
|
os: "ubuntu-22.04"
|
||||||
tools:
|
tools:
|
||||||
python: "3.11"
|
python: "3.12"
|
||||||
|
|
|
||||||
|
|
@ -11,10 +11,10 @@ authors = [
|
||||||
]
|
]
|
||||||
license = {text = "GPL-3.0-only"}
|
license = {text = "GPL-3.0-only"}
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
requires-python = ">=3.11"
|
requires-python = ">=3.12"
|
||||||
keywords = ["linux", "arch", "archinstall", "installer"]
|
keywords = ["linux", "arch", "archinstall", "installer"]
|
||||||
classifiers = [
|
classifiers = [
|
||||||
"Programming Language :: Python :: 3.11",
|
"Programming Language :: Python :: 3.12",
|
||||||
"Operating System :: POSIX :: Linux",
|
"Operating System :: POSIX :: Linux",
|
||||||
]
|
]
|
||||||
dependencies = [
|
dependencies = [
|
||||||
|
|
@ -63,7 +63,7 @@ include-package-data = true
|
||||||
archinstall = "archinstall"
|
archinstall = "archinstall"
|
||||||
|
|
||||||
[tool.mypy]
|
[tool.mypy]
|
||||||
python_version = "3.11"
|
python_version = "3.12"
|
||||||
files = "."
|
files = "."
|
||||||
exclude = "^build/"
|
exclude = "^build/"
|
||||||
check_untyped_defs = true
|
check_untyped_defs = true
|
||||||
|
|
@ -131,7 +131,7 @@ ignore-paths = [
|
||||||
]
|
]
|
||||||
load-plugins = ["pylint_pydantic"]
|
load-plugins = ["pylint_pydantic"]
|
||||||
persistent = false
|
persistent = false
|
||||||
py-version = "3.11"
|
py-version = "3.12"
|
||||||
recursive = true
|
recursive = true
|
||||||
|
|
||||||
[tool.pylint.format]
|
[tool.pylint.format]
|
||||||
|
|
@ -168,7 +168,7 @@ score = false
|
||||||
additional-builtins = ["_"]
|
additional-builtins = ["_"]
|
||||||
|
|
||||||
[tool.ruff]
|
[tool.ruff]
|
||||||
target-version = "py311"
|
target-version = "py312"
|
||||||
builtins = ["_"]
|
builtins = ["_"]
|
||||||
line-length = 160
|
line-length = 160
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue