From 178a684b281c221f0fd608cf3e44fa1f32130fff Mon Sep 17 00:00:00 2001 From: Manuel Kaufmann Date: Thu, 18 Jan 2024 12:35:40 +0100 Subject: [PATCH] Docs: update dependencies (#265) * Docs: update dependencies Documentation build process is failing currently. This commit should fix it. * Docs: remove old dependencies * Docs: pin `Sphinx<6` due to `sphinx-js` * Docs: pin to proper dependencies * Docs: let pip to figure it out what are the working versions * Docs: pin sphinxcontrib-applehelp * Docs: pin sphinxcontrib-devhelp * Docs: pin sphinxcontrib-htmlhelp * Docs: pin Python version * Docs: increase sphinxcontrib-htmlhelp * Docs: update dependencies There was a new release of sphinxcontrib-autoanysrc that works with Sphinx>=5 --- .readthedocs.yaml | 3 ++- setup.cfg | 11 +++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 680904d5..68b8bc36 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -1,8 +1,9 @@ version: 2 build: - os: ubuntu-20.04 + os: ubuntu-22.04 tools: + # Python 3.9 is required here since we are using an old version of Sphinx python: "3.9" nodejs: "16" diff --git a/setup.cfg b/setup.cfg index f214665f..75c80421 100644 --- a/setup.cfg +++ b/setup.cfg @@ -29,9 +29,8 @@ install_requires = [options.extras_require] docs = - Jinja2~=2.3 - MarkupSafe~=2.0.0 - Sphinx~=4.5.0 - sphinx_rtd_theme~=1.0.0 - sphinxcontrib-autoanysrc>=0.1.1 - sphinx-js~=3.2.1 + # We can't upgrade Sphinx because of sphinx-js (Sphinx<6) + Sphinx<6 + sphinx_rtd_theme<3 + sphinxcontrib-autoanysrc<1 + sphinx-js