Skip to content

Commit 46eab2d

Browse files
authored
Support Python 3.12 (#6516)
- Fix attribute error in `engine_test.py::test_create_context` - Adjust package presence assertion in `test_isolated_env_cloning` - Bump up to virtualenv>=20.23, filelock~=3.1, pylatex~=1.4 - Bump up to grpcio-tools~=1.59.0 and recompile protos - Relax qiskit-aer requirement to qiskit-aer~=0.12.0. Allow qiskit-aer-0.12.0 which has source archive on PyPI and can be installed for Python 3.12. - Bump up to quimb~=1.7 which installs correctly with Python 3.12 Remove quimb-only dependencies from our requirements, let quimb sort out its dependencies itself. - CI - add pytest jobs with Python 3.12 - Skip mysteriously failing test of Contract-a-Grid-Circuit.ipynb Fixes #6460
1 parent bfba965 commit 46eab2d

File tree

16 files changed

+17
-24
lines changed

16 files changed

+17
-24
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ jobs:
149149
name: Pytest Ubuntu
150150
strategy:
151151
matrix:
152-
python-version: [ '3.10', '3.11' ]
152+
python-version: ['3.10', '3.11', '3.12']
153153
runs-on: ubuntu-20.04
154154
steps:
155155
- uses: actions/checkout@v4
@@ -234,7 +234,7 @@ jobs:
234234
name: Pytest Windows
235235
strategy:
236236
matrix:
237-
python-version: [ '3.10', '3.11' ]
237+
python-version: ['3.10', '3.11', '3.12']
238238
runs-on: windows-2019
239239
steps:
240240
- uses: actions/checkout@v4
@@ -259,7 +259,7 @@ jobs:
259259
name: Pytest MacOS
260260
strategy:
261261
matrix:
262-
python-version: [ '3.10', '3.11' ]
262+
python-version: ['3.10', '3.11', '3.12']
263263
# TODO(#6577): upgrade to macos-latest when it runs Python 3.10
264264
runs-on: macos-13
265265
steps:
Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,8 @@
11
# Runtime requirements for contrib.
22

33
ply>=3.6
4-
pylatex~=1.3.0
4+
pylatex~=1.4
55

66
# quimb
7-
quimb~=1.6.0
7+
quimb~=1.7
88
opt_einsum
9-
autoray
10-
# required for py39 opcodes.
11-
numba~=0.58.0

cirq-google/cirq_google/api/v1/operations_pb2.py

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

cirq-google/cirq_google/api/v1/params_pb2.py

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

cirq-google/cirq_google/api/v1/program_pb2.py

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

cirq-google/cirq_google/api/v2/device_pb2.py

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

cirq-google/cirq_google/api/v2/metrics_pb2.py

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

cirq-google/cirq_google/api/v2/program_pb2.py

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

cirq-google/cirq_google/api/v2/result_pb2.py

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

cirq-google/cirq_google/api/v2/run_context_pb2.py

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)