Skip to content

Commit f18e6ec

Browse files
authored
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
1 parent 1c0c885 commit f18e6ec

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tools/github_actions_install.sh

+4-4
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ export PYTHONUTF8=1
77
if [[ "$SPHINX_VERSION" == "" ]]; then
88
SPHINX_INSTALL=""
99
elif [[ "$SPHINX_VERSION" == "dev" ]]; then
10-
SPHINX_INSTALL="git+https://github.com/sphinx-doc/sphinx"
10+
SPHINX_INSTALL="sphinx[test]@https://codeload.github.com/sphinx-doc/sphinx/zip/refs/heads/master"
1111
elif [[ "$SPHINX_VERSION" == "old" ]]; then
12-
SPHINX_INSTALL="sphinx==6.1.0"
12+
SPHINX_INSTALL="sphinx[test]==6.1.0"
1313
else # not used currently but easy enough
14-
SPHINX_INSTALL="sphinx==$SPHINX_VERSION"
14+
SPHINX_INSTALL="sphinx[test]==$SPHINX_VERSION"
1515
fi
1616
set -x # print commands
1717
python -m pip install --upgrade pip wheel setuptools
18-
python -m pip install -e .["$1"] ${SPHINX_INSTALL} $2 $DEP_EXTRA
18+
python -m pip install -e .["$1"] ${SPHINX_INSTALL} $2

0 commit comments

Comments
 (0)