Skip to content

Commit 778e9e9

Browse files
authored
Freshen-up cirq dependencies (#6616)
- allow latest scipy because quimb>=1.18 works with scipy-1.13 (context in #6543) - allow latest rstcheck - fix dependency specification for tensorflow-docs so it works with `uv pip compile` - Enable the current latest versions of notebook, ipykernel, papermill which are only used for notebook tests - Add temporary specifications for notebook-related transitive dependencies to help pip dependency resolver (should be redundant after #6281) Partially fixes #6464
1 parent e4b6ab2 commit 778e9e9

File tree

5 files changed

+12
-9
lines changed

5 files changed

+12
-9
lines changed

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ jobs:
107107
- name: Install requirements
108108
run: pip install -r dev_tools/requirements/dev.env.txt
109109
- name: RST check
110-
run: find . -type f -name "*.rst" | xargs rstcheck --report warning --ignore-directives autoclass,automodule
110+
run: find . -type f -name "*.rst" | xargs rstcheck
111111
- name: Doc check
112112
run: check/doctest -q
113113
nbformat:

cirq-core/requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ networkx>=2.4
77
numpy~=1.22
88
pandas
99
sortedcontainers~=2.0
10-
scipy<1.13.0
10+
scipy~=1.0
1111
sympy
1212
typing_extensions>=4.2
1313
tqdm

dev_tools/requirements/deps/dev-tools.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ asv
1414
qiskit-aer~=0.12.0
1515

1616
# For verifying rst
17-
rstcheck~=3.3.1
17+
rstcheck
+8-5
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,19 @@
11
-r ipython.txt
22

3-
# Notebook >=6.4.8 + coverage > 6.2 hangs CI: https://github.com/quantumlib/Cirq/issues/4897
4-
notebook>=6.4.1,<=6.4.7
3+
notebook~=7.0
54

6-
# https://github.com/nteract/papermill/issues/519
7-
ipykernel==5.3.4
5+
ipykernel~=6.29
86

97
# for executing notebooks in tests
10-
papermill~=2.3.2
8+
papermill~=2.6
119

1210
# for notebooks that do `pip install cirq-core[contrib]`
1311
-r ../../../cirq-core/cirq/contrib/requirements.txt
1412

1513
# assumed to be part of colab
1614
seaborn~=0.12
15+
16+
# TODO(#6281) - remove below after the merge of #6281
17+
jupyterlab~=4.0.13
18+
jupyterlab-server~=2.24.0
19+
nbformat~=5.10.4
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
tensorflow-docs@https://github.com/tensorflow/docs/tarball/3a6a7a3322de8620f0031ae3a0a4b62e40d1d7f2
1+
tensorflow-docs@https://github.com/tensorflow/docs/archive/3a6a7a3322de8620f0031ae3a0a4b62e40d1d7f2/master.tar.gz

0 commit comments

Comments
 (0)