Pin Sphinx related package versions to match ReadTheDocs and our CI

This seems to be most appropriate way to ensure consistency between
release tarballs and public presentation on ReadTheDocs.

Previous attempt with removing docutils constraint, which relied on pip
depedency solver to pick the same packages as in CI was flawed. RTD
installs a bit different set of packages so it was inherently
unreliable.

As a result RTD pulled in sphinx-rtd-theme==0.4.3 while CI
had 1.0.0, and this inconsistency caused Table of Contents in Release
Notes to render incorrectly. Previous solution was to downgrade
docutils to < 0.17, but I think we should rather pin exact versions.

For the long history of messing with versions read also
isc-projects/bind9@2a8eda0084
isc-projects/images@d4435b97be
isc-projects/bind9@6a2daddf5b

(cherry picked from commit 6088ba3837)
This commit is contained in:
Petr Špaček 2022-04-27 08:51:41 +02:00
parent fafa477c91
commit cf44faf6ae
No known key found for this signature in database
GPG key ID: ABD587CDF06581AE

View file

@ -1 +1,5 @@
Sphinx>=2
# Make Read the Docs use the exact same package versions as in
# registry.gitlab.isc.org/isc-projects/images/bind9:debian-bullseye-amd64
Sphinx==4.5.0
docutils==0.17.1
sphinx_rtd_theme==1.0.0