Skip to content

Commit

Permalink
ap: Constrain supported docutils
Browse files Browse the repository at this point in the history
New Sphinx 5.1.0 (Released: Jul 24, 2022) bumped supported docutils
to 0.19:
sphinx-doc/sphinx#10656

But m2r2 doesn't support it yet:
CrossNox/m2r2#52

Thereby, docutils must be constrained to < 0.19.

This should be fixed by m2r2 and after they do it the restriction
can be removed.

Fixes: https://pagure.io/freeipa/issue/9208
Signed-off-by: Stanislav Levin <slev@altlinux.org>
  • Loading branch information
stanislavlevin authored and rcritten committed Jul 26, 2022
1 parent c3ab10c commit d04cda2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion doc/Makefile
Expand Up @@ -35,4 +35,5 @@ distclean: clean
venv:
$(PYTHON) -m venv $(VENVDIR)
$(VENVDIR)/bin/python3 -m pip install -U pip setuptools
$(VENVDIR)/bin/python3 -m pip install -U -r ./requirements.txt
$(VENVDIR)/bin/python3 -m pip install -U -r ./requirements.txt \
-c constraints.txt
1 change: 1 addition & 0 deletions doc/constraints.txt
@@ -0,0 +1 @@
docutils < 0.19

0 comments on commit d04cda2

Please sign in to comment.