Skip to content

Commit

Permalink
Fix ci-daily workflow failures on Mac OS X (#6532)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
pavoljuhas authored Mar 28, 2024
1 parent 46e4483 commit e5ad426
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci-daily.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
key: ${{ env.pythonLocation }}-${{ hashFiles('**/requirements.txt', 'dev_tools/requirements/**/*.txt') }}
- name: Install requirements
run: |
pip install --pre cirq &&
pip install cirq~=1.0.dev &&
pip install \
-r dev_tools/requirements/deps/format.txt \
-r dev_tools/requirements/deps/pylint.txt \
Expand Down Expand Up @@ -58,7 +58,7 @@ jobs:
key: ${{ env.pythonLocation }}-${{ hashFiles('**/requirements.txt', 'dev_tools/requirements/**/*.txt') }}
- name: Install requirements
run: |
pip install --pre cirq &&
pip install cirq~=1.0.dev &&
pip install -r dev_tools/requirements/deps/format.txt &&
pip install -r dev_tools/requirements/deps/pylint.txt &&
pip install -r dev_tools/requirements/deps/pytest.txt &&
Expand All @@ -84,7 +84,7 @@ jobs:
key: ${{ env.pythonLocation }}-${{ hashFiles('**/requirements.txt', 'dev_tools/requirements/**/*.txt') }}
- name: Install requirements
run: |
pip install --pre cirq &&
pip install cirq~=1.0.dev &&
pip install \
-r dev_tools/requirements/deps/format.txt \
-r dev_tools/requirements/deps/pylint.txt \
Expand Down

0 comments on commit e5ad426

Please sign in to comment.