[CI] Cap maximum Sphinx version

Sphinx 4.0 (from the main branch) is incompatible with several
extensions we use (katex, matlabdomain). Set a maximum for the Sphinx
version installed during the CI run to avoid unintentional breakage.
This commit is contained in:
Bryan W. Weber
2021-02-12 16:57:15 -05:00
committed by Ray Speth
parent 4f265d11a7
commit d9506818f4
+1 -1
View File
@@ -138,7 +138,7 @@ jobs:
run: python3 -m pip install -U pip setuptools wheel
- name: Install Python dependencies
run: |
python3 -m pip install ruamel.yaml scons numpy cython sphinx \
python3 -m pip install ruamel.yaml scons numpy cython sphinx\<4.0 \
sphinxcontrib-katex sphinxcontrib-matlabdomain sphinxcontrib-doxylink
- name: Build Cantera with documentation
run: python3 `which scons` build doxygen_docs=y sphinx_docs=y