From e0d1e1f69193a08902b2bff7033b9eb159e796d3 Mon Sep 17 00:00:00 2001 From: Matthew Harrigan Date: Thu, 21 Dec 2023 16:23:43 -0500 Subject: [PATCH] Bump cirq version to 1.2 (#332) * Bump cirq version * Bump requirements.txt Change-Id: Ib7d760f114d0c1199916a8cae9a4630eb18df7a9 --- .github/workflows/pythonpackage.yml | 4 ++-- dev_tools/write-ci-requirements.py | 6 +++--- requirements.txt | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/pythonpackage.yml b/.github/workflows/pythonpackage.yml index e9f20d7c..9202d94b 100644 --- a/.github/workflows/pythonpackage.yml +++ b/.github/workflows/pythonpackage.yml @@ -34,7 +34,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-python@v2 with: - python-version: '3.9' + python-version: '3.10' - name: Install dependencies run: | python -m pip install --upgrade pip @@ -62,6 +62,6 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-python@v2 with: - python-version: '3.9' + python-version: '3.10' - name: Doc check run: dev_tools/nbfmt diff --git a/dev_tools/write-ci-requirements.py b/dev_tools/write-ci-requirements.py index 1896491f..32a674d0 100644 --- a/dev_tools/write-ci-requirements.py +++ b/dev_tools/write-ci-requirements.py @@ -8,9 +8,9 @@ print('Repo dir:', REPO_DIR) CIRQ_VERSIONS = { - 'previous': '==0.15.0', - 'current': '==1.0.0', - 'next': '>=1.1.0.dev', + 'previous': '~=1.1.0', + 'current': '~=1.2.0', + 'next': '>=1.3.0.dev', } """Give names to relative Cirq versions so CI can have consistent names while versions get incremented.""" diff --git a/requirements.txt b/requirements.txt index def41e70..4977fb39 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ -cirq-core>=0.13.0 -cirq-google>=0.13.0 +cirq-core>=1.1.0 +cirq-google>=1.1.0 # When changing Cirq requirements be sure to update dev_tools/write-ci-requirements.py seaborn