Skip to content

Commit e5ad426

Browse files
authored
Fix ci-daily workflow failures on Mac OS X (#6532)
Install development version of cirq, but with stable dependencies. Avoid using the pip-install `--pre` option because it installs pre-release of every direct and transitive dependency. Example failure: https://github.com/quantumlib/Cirq/actions/runs/8444592307/job/23130415923 Pass with this change: https://github.com/quantumlib/Cirq/actions/runs/8460206027/job/23179852811 Related to #6336
1 parent 46e4483 commit e5ad426

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/ci-daily.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
key: ${{ env.pythonLocation }}-${{ hashFiles('**/requirements.txt', 'dev_tools/requirements/**/*.txt') }}
2929
- name: Install requirements
3030
run: |
31-
pip install --pre cirq &&
31+
pip install cirq~=1.0.dev &&
3232
pip install \
3333
-r dev_tools/requirements/deps/format.txt \
3434
-r dev_tools/requirements/deps/pylint.txt \
@@ -58,7 +58,7 @@ jobs:
5858
key: ${{ env.pythonLocation }}-${{ hashFiles('**/requirements.txt', 'dev_tools/requirements/**/*.txt') }}
5959
- name: Install requirements
6060
run: |
61-
pip install --pre cirq &&
61+
pip install cirq~=1.0.dev &&
6262
pip install -r dev_tools/requirements/deps/format.txt &&
6363
pip install -r dev_tools/requirements/deps/pylint.txt &&
6464
pip install -r dev_tools/requirements/deps/pytest.txt &&
@@ -84,7 +84,7 @@ jobs:
8484
key: ${{ env.pythonLocation }}-${{ hashFiles('**/requirements.txt', 'dev_tools/requirements/**/*.txt') }}
8585
- name: Install requirements
8686
run: |
87-
pip install --pre cirq &&
87+
pip install cirq~=1.0.dev &&
8888
pip install \
8989
-r dev_tools/requirements/deps/format.txt \
9090
-r dev_tools/requirements/deps/pylint.txt \

0 commit comments

Comments
 (0)