From f18e6ec438abe59bca34813057db6fa385703639 Mon Sep 17 00:00:00 2001 From: Daniel McCloy Date: Wed, 3 Apr 2024 12:12:00 -0500 Subject: [PATCH] Fix missing sphinx testing dependencies (#1751) * fix missing sphinx testing dependencies * do the specifier correctly * fix quoting * fix again * try another way * try quoting again * try without whitespace --- tools/github_actions_install.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/github_actions_install.sh b/tools/github_actions_install.sh index be93503f8..fba8346ea 100755 --- a/tools/github_actions_install.sh +++ b/tools/github_actions_install.sh @@ -7,12 +7,12 @@ export PYTHONUTF8=1 if [[ "$SPHINX_VERSION" == "" ]]; then SPHINX_INSTALL="" elif [[ "$SPHINX_VERSION" == "dev" ]]; then - SPHINX_INSTALL="git+https://github.com/sphinx-doc/sphinx" + SPHINX_INSTALL="sphinx[test]@https://codeload.github.com/sphinx-doc/sphinx/zip/refs/heads/master" elif [[ "$SPHINX_VERSION" == "old" ]]; then - SPHINX_INSTALL="sphinx==6.1.0" + SPHINX_INSTALL="sphinx[test]==6.1.0" else # not used currently but easy enough - SPHINX_INSTALL="sphinx==$SPHINX_VERSION" + SPHINX_INSTALL="sphinx[test]==$SPHINX_VERSION" fi set -x # print commands python -m pip install --upgrade pip wheel setuptools -python -m pip install -e .["$1"] ${SPHINX_INSTALL} $2 $DEP_EXTRA +python -m pip install -e .["$1"] ${SPHINX_INSTALL} $2