Skip to content

Commit

Permalink
Require sphinx 4.3+
Browse files Browse the repository at this point in the history
  • Loading branch information
jarrodmillman committed Jun 24, 2022
1 parent 99a4fac commit 6b44497
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ stages:
- script: |
python -m pip install -r test_requirements.txt
# Don't use doc_requirements.txt since that messes up tests
python -m pip install vulture sphinx==5.0.1 numpydoc==1.4.0
python -m pip install vulture sphinx==4.3.0 numpydoc==1.4.0
displayName: 'Install dependencies; some are optional to avoid test skips'
- script: /bin/bash -c "! vulture . --min-confidence 100 --exclude doc/,numpy/distutils/ | grep 'unreachable'"
displayName: 'Check for unreachable code paths in Python modules'
Expand Down
2 changes: 1 addition & 1 deletion doc/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import importlib

# Minimum version, enforced by sphinx
needs_sphinx = '5.0.1'
needs_sphinx = '4.3'


# This is a nasty hack to use platform-agnostic names for types in the
Expand Down
2 changes: 1 addition & 1 deletion doc_requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# doxygen required, use apt-get or dnf
sphinx==5.0.1
sphinx>=4.5.0
numpydoc==1.4
pydata-sphinx-theme==0.9.0
sphinx-panels
Expand Down
2 changes: 1 addition & 1 deletion environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ dependencies:
- mypy=0.950
- typing_extensions>=4.2.0
# For building docs
- sphinx=5.0.1
- sphinx>=4.5.0
- sphinx-panels
- numpydoc=1.4.0
- ipython
Expand Down

0 comments on commit 6b44497

Please sign in to comment.