Skip to content

Commit bbbf952

Browse files
authored
Indicate that docs/simulate/virtual_engine_interface.ipynb depends on unreleased features (#7528)
Closes #7517 Follow up to #7500, which listed this notebook in `SKIP_NOTEBOOKS` in order to get past CI breakages due to the fact that the notebook tests install the fully-released version of Cirq. Once the parameter renaming is released, this can be removed.
1 parent f9489cd commit bbbf952

File tree

2 files changed

+13
-3
lines changed

2 files changed

+13
-3
lines changed

dev_tools/notebooks/isolated_notebook_test.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,9 @@
4848
'docs/simulate/noisy_simulation.ipynb',
4949
'docs/simulate/quantum_virtual_machine.ipynb',
5050
'docs/simulate/qvm_basic_example.ipynb',
51+
# Remove once the renaming of `whitelisted_users` -> `allowlisted_users`
52+
# throughout cirq_google is released.
53+
'docs/simulate/virtual_engine_interface.ipynb',
5154
]
5255

5356
# By default all notebooks should be tested, however, this list contains exceptions to the rule
@@ -66,8 +69,6 @@
6669
# temporary: need to fix QVM metrics and device spec
6770
'docs/tutorials/google/spin_echoes.ipynb',
6871
'docs/tutorials/google/visualizing_calibration_metrics.ipynb',
69-
# temporary: allow name changes of keyword arguments in quantum engine interfaces to stabilize
70-
'docs/simulate/virtual_engine_interface.ipynb',
7172
]
7273
SKIP_NOTEBOOKS += [
7374
# notebooks that import the examples module which is not installed with cirq

docs/simulate/virtual_engine_interface.ipynb

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,15 @@
3131
"# limitations under the License."
3232
]
3333
},
34+
{
35+
"cell_type": "markdown",
36+
"metadata": {
37+
"id": "ff0101ac0724"
38+
},
39+
"source": [
40+
"Note: this notebook relies on unreleased Cirq features. If you want to try these features, make sure you install cirq-google via `pip install --upgrade cirq-google~=1.0.dev`."
41+
]
42+
},
3443
{
3544
"cell_type": "markdown",
3645
"metadata": {
@@ -97,7 +106,7 @@
97106
" import cirq_google\n",
98107
"except ImportError:\n",
99108
" print(\"installing cirq...\")\n",
100-
" !pip install --quiet cirq~=1.0.dev cirq-google~=1.0.dev\n",
109+
" !pip install --upgrade --quiet cirq~=1.0.dev cirq-google~=1.0.dev\n",
101110
" print(\"installed cirq.\")\n",
102111
" import cirq\n",
103112
" import cirq_google\n",

0 commit comments

Comments
 (0)