Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deps: drop support for Sphinx 5 #1516

Merged
merged 2 commits into from Oct 17, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 1 addition & 5 deletions tools/github_actions_install.sh
Expand Up @@ -8,12 +8,8 @@ if [[ "$SPHINX_VERSION" == "" ]]; then
SPHINX_INSTALL=""
elif [[ "$SPHINX_VERSION" == "dev" ]]; then
SPHINX_INSTALL="git+https://github.com/sphinx-doc/sphinx"
if [[ "$1" == "doc" ]]; then
# Until they release a new version that undoes the max sphinx pin...
DEP_EXTRA="git+https://github.com/executablebooks/MyST-NB"
fi
elif [[ "$SPHINX_VERSION" == "old" ]]; then
SPHINX_INSTALL="sphinx==5.0"
SPHINX_INSTALL="sphinx==6.1.0"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a reason this is pinned to 6.1.0 rather than the newer 6.2.1?

See ref: https://pypi.org/project/Sphinx/6.2.1/

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

our minimal requirement is coming from autoapi: sphinx>=6.1.0 so I set myself on this lowest pin.

else # not used currently but easy enough
SPHINX_INSTALL="sphinx==$SPHINX_VERSION"
fi
Expand Down