Skip to content

Commit

Permalink
Reverse the order of install directives in RTD config
Browse files Browse the repository at this point in the history
When RTD installs `.`, it uses `--upgrade-strategy eager`.  If this is
done after installing from `docs/requirements.txt`, packages may be
upgraded that shouldn't be; currently, `docutils` gets upgraded to 0.18,
which current versions of `Sphinx` can't work with.
  • Loading branch information
zware committed Nov 2, 2021
1 parent ee97836 commit bf87b81
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .readthedocs.yaml
Expand Up @@ -16,7 +16,8 @@ formats:
python:
# Mininum supported Python version
version: "3.6"
# NB: install . first to avoid upgrading past docs/requirements.txt pins
install:
- requirements: docs/requirements.txt
- method: pip
path: .
- requirements: docs/requirements.txt

0 comments on commit bf87b81

Please sign in to comment.