Work around github actions python failure

github actions runners have python 3.12, so the upgrade to debian
stable's 3.13 broke things:

	+ env UV_PYTHON=python uv --no-managed-python lock --check --exclude-newer=2026-02-01T13:00:00Z
	Using CPython 3.12.3 interpreter at: /usr/bin/python
	error: The requested interpreter resolved to Python 3.12.3, which is incompatible with the project's Python requirement: `>=3.13` (from `project.requires-python`)
	Error: Process completed with exit code 2.

Steps:
1. edit pyproject.toml and
2. uv lock --upgrade --exclude-newer="$(awk -F'"' <uv.lock '/^exclude-newer[[:space:]]*=/ {print $2}')"

In future we should maybe use managed python?
This commit is contained in:
Johannes Altmanninger
2026-02-08 13:57:46 +11:00
parent 28c7e7173f
commit fe3c42af9e
3 changed files with 30 additions and 2 deletions

View File

@@ -5,6 +5,7 @@ sources:
kind: shell
spec:
command: |
# TODO github actions might not have this
build_tools/version-available-in-debian.sh stable python3-defaults
sphinx_version:
kind: shell