From 6e236dfdfb628a2f23163856bc87d9544fcb64bc Mon Sep 17 00:00:00 2001 From: Miguel Angel Ajo Pelayo Date: Wed, 9 Sep 2026 17:46:59 +0200 Subject: [PATCH] ci: add uv lock --check to catch stale lockfiles When uv.lock is regenerated with a different Python version than CI uses (e.g., local 3.13 vs CI 3.14), package resolutions can differ, leading to missing wheels at test time. Adding 'uv lock --check' before pytest catches this early with a clear error message instead of cryptic install failures. --- .github/workflows/python-tests.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/python-tests.yaml b/.github/workflows/python-tests.yaml index 60fb81392..0f4898f69 100644 --- a/.github/workflows/python-tests.yaml +++ b/.github/workflows/python-tests.yaml @@ -167,6 +167,11 @@ jobs: "https://iad.mirror.rackspace.com/fedora/releases/${FEDORA_RELEASE}/Cloud/${arch}/images/Fedora-Cloud-Base-Generic-${FEDORA_CLOUD_VERSION}.${arch}.qcow2" done + - name: Verify uv.lock is up-to-date + working-directory: python + run: | + uv lock --check + - name: Run pytest working-directory: python env: