fix: set 3.12 as python fallback if no version explicitely set

This commit is contained in:
Ruben Fiszel
2026-01-26 15:15:48 +00:00
parent 5e56d751f3
commit f880655e32
3 changed files with 19 additions and 9 deletions
@@ -2396,7 +2396,7 @@ for line in sys.stdin:
PyV::parse_from_requirements(&split_python_requirements(requirements.as_str()))
} else {
tracing::warn!(workspace_id = %w_id, "lockfile is empty for dedicated worker, thus python version cannot be inferred. Fallback to 3.11");
PyVAlias::Py311.into()
PyVAlias::default().into()
};
let python_path = py_version