fix: state and check the 3.12 build floor

This commit is contained in:
Abdessamad Derraz committed 2026-10-16 16:05:10 +02:00
1 parent aeb1f73098
commit 0408c5d359
6 files changed
+45 -5

No files matched your search

+6
View File
@@ -33,6 +33,12 @@ import sys
import time
from pathlib import Path
# The build scripts use syntax CPython 3.12 introduced (generate_readme's
# f-strings, generate_pack's parenthesized context managers). On an older
# interpreter the run got through the packs and failed hours in, at step 7.
if sys.version_info < (3, 12):
sys.exit(f"pipeline.py needs Python 3.12 or newer, this is {sys.version.split()[0]}")
sys.path.insert(0, str(Path(__file__).parent))
from common import ArtifactLockBusy, artifact_lock, hold_artifact_lock