Skip to content

Commit 2a556ab

Browse files
authored
Turn off parallel docs build and pin dependencies (#1097)
### Summary The docs build is suddenly breaking with ``` File "/home/runner/work/qiskit-experiments/qiskit-experiments/.tox/docs-parallel/lib/python3.8/site-packages/sphinx/util/parallel.py", line 126, in _join_one raise SphinxParallelError(*result) sphinx.errors.SphinxParallelError: sphinx.errors.ExtensionError: Unable to find kernel (exception: No such kernel named python3) ``` Turning off the parallel flag didn't solve the problem, but pinning `ipykernel` and `jupyter-client`, both of which put out new releases yesterday, solved the problem. I'm keeping the parallel flag off since it tends to cause issues until this compatibility issue is resolved.
1 parent ab4e90f commit 2a556ab

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ jobs:
9797
python -m pip install -U tox
9898
sudo apt-get install -y pandoc graphviz
9999
- name: Build Docs
100-
run: tox -edocs-parallel -- -W
100+
run: tox -edocs -- -W
101101
- name: Compress Artifacts
102102
run: |
103103
mkdir artifacts

requirements-dev.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,6 @@ pylatexenc
2121
importlib-metadata==4.13.0;python_version<'3.8'
2222
scikit-learn
2323
sphinx-copybutton
24+
# Pin versions below because of build errors
25+
ipykernel<=6.21.3
26+
jupyter-client<=8.0.3

0 commit comments

Comments
 (0)