chore: bump target Python from 3.12 to 3.14 and use 3.13 for venv

This commit is contained in:
2026-07-26 13:56:11 +02:00
parent aa9bb5dc24
commit c287e12b65
2 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -5,5 +5,5 @@
# Owner style: 100-character lines (applies to both the linter and the formatter).
line-length = 100
# Scripts target Python 3.12+ (stdlib only).
target-version = "py312"
# Scripts target Python 3.14+ (stdlib only).
target-version = "py314"
+3 -3
View File
@@ -46,7 +46,7 @@ GREEN = "\033[32m"
YELLOW = "\033[33m"
DIM = "\033[2m"
RESET = "\033[0m"
VERSION = "1.2.0"
VERSION = "1.2.1"
SUPPORTED_OS: dict[str, str] = {
"fedora": "Fedora",
@@ -851,7 +851,7 @@ def setup_venv(
else:
_status_done("exists")
# Create venv if missing. ROCm wheels require Python 3.12 exactly.
# Create venv if missing. Stable ROCm wheels support Python 3.13 (uv downloads it automatically).
_status("Creating Python venv")
uv = _find_uv()
if _dir_exists(venv_dir):
@@ -867,7 +867,7 @@ def setup_venv(
_fail("uv is not installed — cannot create the venv")
results["venv_created"] = False
return results
venv_result = run([uv, "venv", "--python", "3.12", venv_dir], timeout=300)
venv_result = run([uv, "venv", "--python", "3.13", venv_dir], timeout=300)
if venv_result.returncode == 0:
_status_done("created")
results["venv_created"] = True