From e9b232fcf44bbf57deb9eb6de762cbc43d9e7e5d Mon Sep 17 00:00:00 2001 From: Stanislav Levin Date: Mon, 25 Jul 2022 16:07:09 +0300 Subject: [PATCH] ap: Constrain supported docutils New Sphinx 5.1.0 (Released: Jul 24, 2022) bumped supported docutils to 0.19: https://github.com/sphinx-doc/sphinx/pull/10656 But m2r2 doesn't support it yet: https://github.com/CrossNox/m2r2/issues/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 Reviewed-By: Rob Crittenden --- doc/Makefile | 3 ++- doc/constraints.txt | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 doc/constraints.txt diff --git a/doc/Makefile b/doc/Makefile index 42f7b1a8268..657ccc5fc74 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -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 diff --git a/doc/constraints.txt b/doc/constraints.txt new file mode 100644 index 00000000000..69a11f6ce97 --- /dev/null +++ b/doc/constraints.txt @@ -0,0 +1 @@ +docutils < 0.19