Skip to content

Commit

Permalink
Pin docutils < 0.18 to fix readthedocs rendering
Browse files Browse the repository at this point in the history
RTD installs this project with `pip install -U --upgrade-strategy eager .`
which pulls in docutils via `readme_renderer`.  Pinning `docutils` even
though we don't directly depend on it clears up the rendering errors.
  • Loading branch information
zware committed Nov 2, 2021
1 parent ee97836 commit 8d86c52
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions setup.cfg
Expand Up @@ -37,6 +37,12 @@ python_requires = >=3.6
install_requires=
pkginfo >= 1.4.2
readme_renderer >= 21.0
# XXX: 2Nov21: Current versions of Sphinx do not work with docutils 0.18,
# which is pulled in by readme_renderer when readthedocs tries to
# build the docs. This pin should be removed as soon as Sphinx is
# updated to use docutils 0.18 or readme_renderer is updated to pin
# docutils<0.18, whichever comes first.
docutils < 0.18
requests >= 2.20
requests-toolbelt >= 0.8.0, != 0.9.0
tqdm >= 4.14
Expand Down

0 comments on commit 8d86c52

Please sign in to comment.