Skip to content

Commit

Permalink
MAINT: Specify sphinx, numpydoc versions for CI doc builds
Browse files Browse the repository at this point in the history
Backport of #21241.
  • Loading branch information
charris committed Mar 25, 2022
1 parent 55619bc commit b42bc98
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion azure-pipelines.yml
Expand Up @@ -173,7 +173,8 @@ stages:
displayName: 'Install tools'
- script: |
python -m pip install -r test_requirements.txt
python -m pip install vulture docutils sphinx==2.2.0 numpydoc
# Don't use doc_requirements.txt since that messes up tests
python -m pip install vulture sphinx==4.2.0 numpydoc==1.2.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

0 comments on commit b42bc98

Please sign in to comment.