From 5b92798beae4f1f375d5a1afb06f5642dad24f5e Mon Sep 17 00:00:00 2001 From: Michael Hucka Date: Fri, 12 Sep 2025 21:03:24 -0700 Subject: [PATCH] Don't use `--pre` for pip install Cirq Pavol Juhas taught me that the `--pre` flag carries over to other packages installed as transitive dependencies. This can cause unexpected compatibility issues. Switch to using `cirq~=1.0.dev`, which is more limited in its scope and gets us the latest dev release. --- .github/workflows/ci-nightly-cirq-test.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci-nightly-cirq-test.yaml b/.github/workflows/ci-nightly-cirq-test.yaml index 235a7bdb4..be26629ed 100644 --- a/.github/workflows/ci-nightly-cirq-test.yaml +++ b/.github/workflows/ci-nightly-cirq-test.yaml @@ -95,7 +95,7 @@ jobs: run: | echo 'numpy<2.0.0' > constraint.txt export PIP_CONSTRAINT=constraint.txt - pip install -U cirq --pre + pip install --upgrade cirq~=1.0.dev - name: Configure Bazel options run: |