From 6ded6a6ac40f9bd8a07bdb235a88a9245b3a1283 Mon Sep 17 00:00:00 2001 From: Andreas Kloeckner Date: Thu, 7 Sep 2023 15:37:52 -0500 Subject: [PATCH] Limit sphinx version in Gitlab CI, too --- .gitlab-ci.yml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 1a49d343..e1ad4f0a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -92,10 +92,15 @@ Python 3 Conda Examples: run_examples Documentation: - script: - - EXTRA_INSTALL="pybind11 numpy matplotlib" - - curl -L -O https://gitlab.tiker.net/inducer/ci-support/raw/main/build-docs.sh - - ". ./build-docs.sh" + script: | + # Work around regression introduced in + # https://github.com/sphinx-doc/sphinx/pull/11645 + # see also https://github.com/sphinx-doc/sphinx/issues/11662 + export CI_SUPPORT_SPHINX_VERSION_SPECIFIER="<7.2.5" + + EXTRA_INSTALL="pybind11 numpy matplotlib" + curl -L -O https://gitlab.tiker.net/inducer/ci-support/raw/main/build-docs.sh + ". ./build-docs.sh" tags: - python3