Commit 8b0a29df authored by Andreas Klöckner's avatar Andreas Klöckner
Browse files

Fix: Trick sphinx into installing sphinx 4 and furo

parent f7f4b6ac
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -399,13 +399,14 @@ build_docs()
    # >=3.2.1 for https://github.com/sphinx-doc/sphinx/issues/8084
    CI_SUPPORT_SPHINX_VERSION_SPECIFIER=">=3.2.1"
  fi
  with_echo $PY_EXE -m pip install "sphinx$CI_SUPPORT_SPHINX_VERSION_SPECIFIER" \

  # Two separate installs to trick sphinx into not precisely enforcing dependencies.
  # At the time of this writing, furo says it only works with sphinx 3.x.
  # (but it seems 4.x is OK!) -AK, 2021-05-20
  with_echo $PY_EXE -m pip install furo sphinx-copybutton

  with_echo $PY_EXE -m pip install "sphinx$CI_SUPPORT_SPHINX_VERSION_SPECIFIER" \

  cd doc

  if test "$1" = "--no-check"; then