Skip to content

Commit 3e0e213

Browse files
authored
Use "uv pip compile" to check consistency of requirements (#7745)
Problem: pip-tools is compatible with pip-25.3 causing spurious CI failures (jazzband/pip-tools#2252) Solution: use `uv` instead which is self-contained and faster.
1 parent 77035ba commit 3e0e213

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -230,10 +230,10 @@ jobs:
230230
python-version: '3.11'
231231
architecture: 'x64'
232232
- name: Install requirements
233-
run: pip install pip-tools
234-
- name: Test dependencies with pip-compile
233+
run: pip install uv
234+
- name: Test dependencies with uv pip compile
235235
run: |
236-
pip-compile --resolver=backtracking dev_tools/requirements/deps/cirq-all.txt -o-
236+
uv pip compile dev_tools/requirements/deps/cirq-all.txt
237237
build_protos:
238238
if: github.repository_owner == 'quantumlib'
239239
name: Build protos

0 commit comments

Comments
 (0)