From 50cfd203da410878fbf0ae29ace1f21efba188d4 Mon Sep 17 00:00:00 2001 From: Jakob van Santen Date: Fri, 16 Jul 2021 10:59:33 +0200 Subject: [PATCH] Explicitly pin sphinx html components Works around https://github.com/sphinx-doc/sphinx/issues/9434 --- poetry.lock | 18 +++++++++--------- pyproject.toml | 4 +++- 2 files changed, 12 insertions(+), 10 deletions(-) diff --git a/poetry.lock b/poetry.lock index b08fff0e5..3d9778022 100644 --- a/poetry.lock +++ b/poetry.lock @@ -991,11 +991,11 @@ test = ["pytest"] [[package]] name = "sphinxcontrib-htmlhelp" -version = "1.0.3" +version = "2.0.0" description = "sphinxcontrib-htmlhelp is a sphinx extension which renders HTML help files" category = "main" optional = true -python-versions = ">=3.5" +python-versions = ">=3.6" [package.extras] lint = ["flake8", "mypy", "docutils-stubs"] @@ -1026,7 +1026,7 @@ test = ["pytest"] [[package]] name = "sphinxcontrib-serializinghtml" -version = "1.1.4" +version = "1.1.5" description = "sphinxcontrib-serializinghtml is a sphinx extension which outputs \"serialized\" HTML files (json and pickle)." category = "main" optional = true @@ -1233,14 +1233,14 @@ xmltodict = ">=0.11.0" test = ["coverage", "flake8", "wheel"] [extras] -docs = ["Sphinx", "sphinx-press-theme", "sphinx-autodoc-typehints", "tomlkit"] +docs = ["Sphinx", "sphinx-press-theme", "sphinx-autodoc-typehints", "tomlkit", "sphinxcontrib-htmlhelp", "sphinxcontrib-serializinghtml"] plotting = ["svgutils", "CairoSVG", "matplotlib", "ipython"] server = ["fastapi", "uvicorn"] [metadata] lock-version = "1.1" python-versions = "^3.8" -content-hash = "001ee7be541828d73c7f580b82d1b4ceba08e962bde80c16afda8043224010db" +content-hash = "d8f2d37e9d36f418e08762e980771e74cb06ff79f2eebfc0518da8141c30573b" [metadata.files] aiohttp = [ @@ -2126,8 +2126,8 @@ sphinxcontrib-devhelp = [ {file = "sphinxcontrib_devhelp-1.0.2-py2.py3-none-any.whl", hash = "sha256:8165223f9a335cc1af7ffe1ed31d2871f325254c0423bc0c4c7cd1c1e4734a2e"}, ] sphinxcontrib-htmlhelp = [ - {file = "sphinxcontrib-htmlhelp-1.0.3.tar.gz", hash = "sha256:e8f5bb7e31b2dbb25b9cc435c8ab7a79787ebf7f906155729338f3156d93659b"}, - {file = "sphinxcontrib_htmlhelp-1.0.3-py2.py3-none-any.whl", hash = "sha256:3c0bc24a2c41e340ac37c85ced6dafc879ab485c095b1d65d2461ac2f7cca86f"}, + {file = "sphinxcontrib-htmlhelp-2.0.0.tar.gz", hash = "sha256:f5f8bb2d0d629f398bf47d0d69c07bc13b65f75a81ad9e2f71a63d4b7a2f6db2"}, + {file = "sphinxcontrib_htmlhelp-2.0.0-py2.py3-none-any.whl", hash = "sha256:d412243dfb797ae3ec2b59eca0e52dac12e75a241bf0e4eb861e450d06c6ed07"}, ] sphinxcontrib-jsmath = [ {file = "sphinxcontrib-jsmath-1.0.1.tar.gz", hash = "sha256:a9925e4a4587247ed2191a22df5f6970656cb8ca2bd6284309578f2153e0c4b8"}, @@ -2138,8 +2138,8 @@ sphinxcontrib-qthelp = [ {file = "sphinxcontrib_qthelp-1.0.3-py2.py3-none-any.whl", hash = "sha256:bd9fc24bcb748a8d51fd4ecaade681350aa63009a347a8c14e637895444dfab6"}, ] sphinxcontrib-serializinghtml = [ - {file = "sphinxcontrib-serializinghtml-1.1.4.tar.gz", hash = "sha256:eaa0eccc86e982a9b939b2b82d12cc5d013385ba5eadcc7e4fed23f4405f77bc"}, - {file = "sphinxcontrib_serializinghtml-1.1.4-py2.py3-none-any.whl", hash = "sha256:f242a81d423f59617a8e5cf16f5d4d74e28ee9a66f9e5b637a18082991db5a9a"}, + {file = "sphinxcontrib-serializinghtml-1.1.5.tar.gz", hash = "sha256:aa5f6de5dfdf809ef505c4895e51ef5c9eac17d0f287933eb49ec495280b6952"}, + {file = "sphinxcontrib_serializinghtml-1.1.5-py2.py3-none-any.whl", hash = "sha256:352a9a00ae864471d3a7ead8d7d79f5fc0b57e8b3f95e9867eb9eb28999b92fd"}, ] starlette = [ {file = "starlette-0.14.2-py3-none-any.whl", hash = "sha256:3c8e48e52736b3161e34c9f0e8153b4f32ec5d8995a3ee1d59410d92f75162ed"}, diff --git a/pyproject.toml b/pyproject.toml index 31666e6a7..d219aae17 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -59,6 +59,8 @@ CairoSVG = {version = "^2.5.1", optional = true} matplotlib = {version = "^3.3.4", optional = true} ipython = {version = "^7.21.0", optional = true} backoff = "^1.10.0" +sphinxcontrib-htmlhelp = {version = "^2.0.0", optional = true} +sphinxcontrib-serializinghtml = {version = "^1.1.5", optional = true} [tool.poetry.dev-dependencies] pytest = "^6.2.4" @@ -74,7 +76,7 @@ types-PyYAML = "^5.4.3" [tool.poetry.extras] server = ["fastapi", "uvicorn"] plotting = ["svgutils", "CairoSVG", "matplotlib", "ipython"] -docs = ["Sphinx", "sphinx-press-theme", "sphinx-autodoc-typehints", "tomlkit"] +docs = ["Sphinx", "sphinx-press-theme", "sphinx-autodoc-typehints", "tomlkit", "sphinxcontrib-htmlhelp", "sphinxcontrib-serializinghtml"] [build-system] requires = ["poetry-core>=1.0.0", "setuptools>=40.8.0"]