Skip to content

Commit

Permalink
Turn off parallel docs build and pin dependencies (#1097)
Browse files Browse the repository at this point in the history
### 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.
  • Loading branch information
coruscating authored Mar 21, 2023
1 parent ab4e90f commit 2a556ab
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ jobs:
python -m pip install -U tox
sudo apt-get install -y pandoc graphviz
- name: Build Docs
run: tox -edocs-parallel -- -W
run: tox -edocs -- -W
- name: Compress Artifacts
run: |
mkdir artifacts
Expand Down
3 changes: 3 additions & 0 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,6 @@ pylatexenc
importlib-metadata==4.13.0;python_version<'3.8'
scikit-learn
sphinx-copybutton
# Pin versions below because of build errors
ipykernel<=6.21.3
jupyter-client<=8.0.3

0 comments on commit 2a556ab

Please sign in to comment.