From ab0574fa6b44e8f7b5bc6c6f34c5177bf92b531f Mon Sep 17 00:00:00 2001 From: Pavol Juhas Date: Mon, 10 Nov 2025 11:27:55 -0800 Subject: [PATCH] Use "uv pip compile" to check consistency of requirements Problem: pip-tools is compatible with pip-25.3 causing spurious CI failures (https://github.com/jazzband/pip-tools/issues/2252) Solution: use `uv` instead which is self-contained and faster. --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index abec9ba95ec..c302c6fa0cc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -230,10 +230,10 @@ jobs: python-version: '3.11' architecture: 'x64' - name: Install requirements - run: pip install pip-tools - - name: Test dependencies with pip-compile + run: pip install uv + - name: Test dependencies with uv pip compile run: | - pip-compile --resolver=backtracking dev_tools/requirements/deps/cirq-all.txt -o- + uv pip compile dev_tools/requirements/deps/cirq-all.txt build_protos: if: github.repository_owner == 'quantumlib' name: Build protos