From 5ea1866f1bdea4e20894906e7dbdbde27f9715cd Mon Sep 17 00:00:00 2001 From: Alexander Bokovoy Date: Wed, 4 May 2022 10:35:37 +0300 Subject: [PATCH] docs: force sphinx version above 3.0 to avoid caching in RTD ReadTheDocs somehow caches requirements and insists in using old version of Sphinx (1.8). We have to force using newer one (4.5) Signed-off-by: Alexander Bokovoy Reviewed-By: Francisco Trivino --- doc/requirements.txt | 2 +- ipasphinx/setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/requirements.txt b/doc/requirements.txt index 186d92c7b..011822d54 100644 --- a/doc/requirements.txt +++ b/doc/requirements.txt @@ -1,6 +1,6 @@ wheel -sphinx +sphinx > 3.0 # convert markdown to rest # m2r2 fork is active in development and works with diff --git a/ipasphinx/setup.py b/ipasphinx/setup.py index cd4220d95..e35ec33a2 100644 --- a/ipasphinx/setup.py +++ b/ipasphinx/setup.py @@ -16,5 +16,5 @@ if __name__ == "__main__": doc=__doc__, package_dir={"ipasphinx": ""}, packages=["ipasphinx"], - install_requires=["ipaserver", "ipalib", "sphinx", "m2r2"], + install_requires=["ipaserver", "ipalib", "sphinx > 3.0", "m2r2"], )