From b42bc98511b1b0020b19de9432c024dd80b19c3a Mon Sep 17 00:00:00 2001 From: Charles Harris Date: Fri, 25 Mar 2022 11:58:46 -0600 Subject: [PATCH] MAINT: Specify sphinx, numpydoc versions for CI doc builds Backport of #21241. --- azure-pipelines.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 9e65f9a20745..be0f0a214fbf 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -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'