Skip to content

Commit

Permalink
Fix missing sphinx testing dependencies (#1751)
Browse files Browse the repository at this point in the history
* fix missing sphinx testing dependencies

* do the specifier correctly

* fix quoting

* fix again

* try another way

* try quoting again

* try without whitespace
  • Loading branch information
drammock authored Apr 3, 2024
1 parent 1c0c885 commit f18e6ec
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tools/github_actions_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit f18e6ec

Please sign in to comment.