Skip to content

Commit

Permalink
CI - test cirq compatibility under Python 3.10 (#673)
Browse files Browse the repository at this point in the history
CI - test cirq compatibility using Python 3.10

cirq requires minimum Python version 3.10.  Running under
Python 3.7 installs cirq from June 2023.

Also change the pip3 command to install a pre-release of cirq
with stable dependencies.

Run the "Format check" job under Python 3.10 as well.
  • Loading branch information
pavoljuhas authored Sep 16, 2024
1 parent cd646a9 commit c4eab57
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cirq_compatibility.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.7'
python-version: '3.10'
architecture: 'x64'
- name: Install Cirq nightly
run: pip3 install -U cirq --pre
run: pip3 install --upgrade cirq~=1.0.dev
- name: Install qsim requirements
run: pip3 install -r requirements.txt
- name: Install test requirements
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/python_format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
fetch-depth: 0
- uses: actions/setup-python@v5
with:
python-version: '3.7'
python-version: '3.10'
architecture: 'x64'
- name: Install dev requirements
run: pip install -r dev-requirements.txt
Expand Down

0 comments on commit c4eab57

Please sign in to comment.