Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sphinx-toolbox in combination with other Sphinx packages leads to dependency resolution issues when installing with pip #149

Closed
1kastner opened this issue Dec 9, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@1kastner
Copy link

1kastner commented Dec 9, 2023

Description

While building the docs on RTD, the setup using pip takes too much time so that the whole build is canceled. The logs suggest that stricter version constraints might help to solve this issue but those constraints are not in my hand but in the hands of other package developers like you. The first package this is reported on are the dependencies of sphinx-toolbox. I am not sure whether this is an issue of sphinx-toolbox, of pip, or something completely different. In case this is unrelated to your package, I am sorry to bother you.

Steps to Reproduce

  1. Include sphinx-toolbox and several other packages (?) in a requirements.txt file
  2. Have pip install those requirements with the RTD default command.

Actual result:

Here is the log:

Processing /home/docs/checkouts/readthedocs.org/user_builds/conflowgen/checkouts/201
  Preparing metadata (setup.py): started
  Preparing metadata (setup.py): finished with status 'done'
Collecting scipy
  Downloading scipy-1.11.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (60 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 60.4/60.4 kB 3.9 MB/s eta 0:00:00
Collecting numpy
  Downloading numpy-1.26.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (61 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.2/61.2 kB 49.1 MB/s eta 0:00:00
Collecting pandas>=1
  Downloading pandas-2.1.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (18 kB)
Collecting openpyxl
  Downloading openpyxl-3.1.2-py2.py3-none-any.whl (249 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 250.0/250.0 kB 20.3 MB/s eta 0:00:00
Collecting peewee>=3
  Downloading peewee-3.17.0.tar.gz (2.9 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.9/2.9 MB 82.7 MB/s eta 0:00:00
  Installing build dependencies: started
  Installing build dependencies: finished with status 'done'
  Getting requirements to build wheel: started
  Getting requirements to build wheel: finished with status 'done'
  Preparing metadata (pyproject.toml): started
  Preparing metadata (pyproject.toml): finished with status 'done'
Collecting enum_tools>=0.7
  Downloading enum_tools-0.11.0-py3-none-any.whl.metadata (7.9 kB)
Collecting matplotlib
  Downloading matplotlib-3.8.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (5.8 kB)
Collecting plotly
  Downloading plotly-5.18.0-py3-none-any.whl.metadata (7.0 kB)
Collecting kaleido
  Downloading kaleido-0.2.1-py2.py3-none-manylinux1_x86_64.whl (79.9 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 79.9/79.9 MB 125.0 MB/s eta 0:00:00
Collecting pytest
  Downloading pytest-7.4.3-py3-none-any.whl.metadata (7.9 kB)
Collecting pytest-cov
  Downloading pytest_cov-4.1.0-py3-none-any.whl.metadata (26 kB)
Collecting pytest-xdist
  Downloading pytest_xdist-3.5.0-py3-none-any.whl.metadata (3.1 kB)
Collecting pytest-github-actions-annotate-failures
  Downloading pytest_github_actions_annotate_failures-0.2.0-py3-none-any.whl (5.5 kB)
Collecting seaborn
  Downloading seaborn-0.13.0-py3-none-any.whl.metadata (5.3 kB)
Collecting nbformat
  Downloading nbformat-5.9.2-py3-none-any.whl.metadata (3.4 kB)
Collecting nbconvert
  Downloading nbconvert-7.12.0-py3-none-any.whl.metadata (7.7 kB)
Requirement already satisfied: sphinx in /home/docs/checkouts/readthedocs.org/user_builds/conflowgen/envs/201/lib/python3.10/site-packages (7.2.6)
Collecting sphinx-rtd-theme
  Downloading sphinx_rtd_theme-2.0.0-py2.py3-none-any.whl.metadata (4.4 kB)
Collecting sphinx-toolbox
  Downloading sphinx_toolbox-3.5.0-py3-none-any.whl.metadata (8.0 kB)
Collecting myst-parser
  Downloading myst_parser-2.0.0-py3-none-any.whl.metadata (5.4 kB)
Collecting sphinxcontrib-bibtex
  Downloading sphinxcontrib_bibtex-2.6.1-py3-none-any.whl.metadata (6.1 kB)
Collecting nbsphinx
  Downloading nbsphinx-0.9.3-py3-none-any.whl.metadata (2.1 kB)
Collecting ipython
  Downloading ipython-8.18.1-py3-none-any.whl.metadata (6.0 kB)
Collecting ipykernel
  Downloading ipykernel-6.27.1-py3-none-any.whl.metadata (6.3 kB)
Collecting jupyterlab
  Downloading jupyterlab-4.0.9-py3-none-any.whl.metadata (15 kB)
Collecting pylint
  Downloading pylint-3.0.2-py3-none-any.whl.metadata (12 kB)
Collecting flake8<6.0
  Downloading flake8-5.0.4-py2.py3-none-any.whl (61 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.9/61.9 kB 136.1 MB/s eta 0:00:00
Collecting flake8_nb
  Downloading flake8_nb-0.5.3-py3-none-any.whl (23 kB)
Requirement already satisfied: wheel in /home/docs/checkouts/readthedocs.org/user_builds/conflowgen/envs/201/lib/python3.10/site-packages (0.40.0)
Collecting twine
  Downloading twine-4.0.2-py3-none-any.whl (36 kB)
Requirement already satisfied: pygments>=2.6.1 in /home/docs/checkouts/readthedocs.org/user_builds/conflowgen/envs/201/lib/python3.10/site-packages (from enum_tools>=0.7) (2.17.2)
Collecting typing-extensions>=3.7.4.3 (from enum_tools>=0.7)
  Downloading typing_extensions-4.8.0-py3-none-any.whl.metadata (3.0 kB)
Collecting mccabe<0.8.0,>=0.7.0 (from flake8<6.0)
  Downloading mccabe-0.7.0-py2.py3-none-any.whl (7.3 kB)
Collecting pycodestyle<2.10.0,>=2.9.0 (from flake8<6.0)
  Downloading pycodestyle-2.9.1-py2.py3-none-any.whl (41 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 41.5/41.5 kB 108.5 MB/s eta 0:00:00
Collecting pyflakes<2.6.0,>=2.5.0 (from flake8<6.0)
  Downloading pyflakes-2.5.0-py2.py3-none-any.whl (66 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 66.1/66.1 kB 123.9 MB/s eta 0:00:00
Collecting python-dateutil>=2.8.2 (from pandas>=1)
  Downloading python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 247.7/247.7 kB 150.6 MB/s eta 0:00:00
Collecting pytz>=2020.1 (from pandas>=1)
  Downloading pytz-2023.3.post1-py2.py3-none-any.whl.metadata (22 kB)
Collecting tzdata>=2022.1 (from pandas>=1)
  Downloading tzdata-2023.3-py2.py3-none-any.whl (341 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 341.8/341.8 kB 153.1 MB/s eta 0:00:00
Collecting decorator (from ipython)
  Downloading decorator-5.1.1-py3-none-any.whl (9.1 kB)
Collecting jedi>=0.16 (from ipython)
  Downloading jedi-0.19.1-py2.py3-none-any.whl.metadata (22 kB)
Collecting matplotlib-inline (from ipython)
  Downloading matplotlib_inline-0.1.6-py3-none-any.whl (9.4 kB)
Collecting prompt-toolkit<3.1.0,>=3.0.41 (from ipython)
  Downloading prompt_toolkit-3.0.41-py3-none-any.whl.metadata (6.5 kB)
Collecting stack-data (from ipython)
  Downloading stack_data-0.6.3-py3-none-any.whl.metadata (18 kB)
Collecting traitlets>=5 (from ipython)
  Downloading traitlets-5.14.0-py3-none-any.whl.metadata (10 kB)
Collecting exceptiongroup (from ipython)
  Downloading exceptiongroup-1.2.0-py3-none-any.whl.metadata (6.6 kB)
Collecting pexpect>4.3 (from ipython)
  Downloading pexpect-4.9.0-py2.py3-none-any.whl.metadata (2.5 kB)
Collecting beautifulsoup4 (from nbconvert)
  Downloading beautifulsoup4-4.12.2-py3-none-any.whl (142 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 143.0/143.0 kB 158.0 MB/s eta 0:00:00
Collecting bleach!=5.0.0 (from nbconvert)
  Downloading bleach-6.1.0-py3-none-any.whl.metadata (30 kB)
Collecting defusedxml (from nbconvert)
  Downloading defusedxml-0.7.1-py2.py3-none-any.whl (25 kB)
Requirement already satisfied: jinja2>=3.0 in /home/docs/checkouts/readthedocs.org/user_builds/conflowgen/envs/201/lib/python3.10/site-packages (from nbconvert) (3.1.2)
Collecting jupyter-core>=4.7 (from nbconvert)
  Downloading jupyter_core-5.5.0-py3-none-any.whl.metadata (3.4 kB)
Collecting jupyterlab-pygments (from nbconvert)
  Downloading jupyterlab_pygments-0.3.0-py3-none-any.whl.metadata (4.4 kB)
Requirement already satisfied: markupsafe>=2.0 in /home/docs/checkouts/readthedocs.org/user_builds/conflowgen/envs/201/lib/python3.10/site-packages (from nbconvert) (2.1.3)
Collecting mistune<4,>=2.0.3 (from nbconvert)
  Downloading mistune-3.0.2-py3-none-any.whl.metadata (1.7 kB)
Collecting nbclient>=0.5.0 (from nbconvert)
  Downloading nbclient-0.9.0-py3-none-any.whl.metadata (7.8 kB)
Requirement already satisfied: packaging in /home/docs/checkouts/readthedocs.org/user_builds/conflowgen/envs/201/lib/python3.10/site-packages (from nbconvert) (23.2)
Collecting pandocfilters>=1.4.1 (from nbconvert)
  Downloading pandocfilters-1.5.0-py2.py3-none-any.whl (8.7 kB)
Collecting tinycss2 (from nbconvert)
  Downloading tinycss2-1.2.1-py3-none-any.whl (21 kB)
Collecting fastjsonschema (from nbformat)
  Downloading fastjsonschema-2.19.0-py3-none-any.whl.metadata (2.0 kB)
Collecting jsonschema>=2.6 (from nbformat)
  Downloading jsonschema-4.20.0-py3-none-any.whl.metadata (8.1 kB)
Collecting comm>=0.1.1 (from ipykernel)
  Downloading comm-0.2.0-py3-none-any.whl.metadata (3.7 kB)
Collecting debugpy>=1.6.5 (from ipykernel)
  Downloading debugpy-1.8.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (1.0 kB)
Collecting jupyter-client>=6.1.12 (from ipykernel)
  Downloading jupyter_client-8.6.0-py3-none-any.whl.metadata (8.3 kB)
Collecting nest-asyncio (from ipykernel)
  Downloading nest_asyncio-1.5.8-py3-none-any.whl.metadata (2.8 kB)
Collecting psutil (from ipykernel)
  Downloading psutil-5.9.6-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (21 kB)
Collecting pyzmq>=20 (from ipykernel)
  Downloading pyzmq-25.1.2-cp310-cp310-manylinux_2_28_x86_64.whl.metadata (4.9 kB)
Collecting tornado>=6.1 (from ipykernel)
  Downloading tornado-6.4-cp38-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (2.5 kB)
Collecting async-lru>=1.0.0 (from jupyterlab)
  Downloading async_lru-2.0.4-py3-none-any.whl.metadata (4.5 kB)
Collecting jupyter-lsp>=2.0.0 (from jupyterlab)
  Downloading jupyter_lsp-2.2.1-py3-none-any.whl.metadata (1.8 kB)
Collecting jupyter-server<3,>=2.4.0 (from jupyterlab)
  Downloading jupyter_server-2.12.1-py3-none-any.whl.metadata (8.4 kB)
Collecting jupyterlab-server<3,>=2.19.0 (from jupyterlab)
  Downloading jupyterlab_server-2.25.2-py3-none-any.whl.metadata (5.9 kB)
Collecting notebook-shim>=0.2 (from jupyterlab)
  Downloading notebook_shim-0.2.3-py3-none-any.whl (13 kB)
Collecting tomli (from jupyterlab)
  Downloading tomli-2.0.1-py3-none-any.whl (12 kB)
Collecting contourpy>=1.0.1 (from matplotlib)
  Downloading contourpy-1.2.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (5.8 kB)
Collecting cycler>=0.10 (from matplotlib)
  Downloading cycler-0.12.1-py3-none-any.whl.metadata (3.8 kB)
Collecting fonttools>=4.22.0 (from matplotlib)
  Downloading fonttools-4.46.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (156 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 156.2/156.2 kB 143.2 MB/s eta 0:00:00
Collecting kiwisolver>=1.3.1 (from matplotlib)
  Downloading kiwisolver-1.4.5-cp310-cp310-manylinux_2_12_x86_64.manylinux2010_x86_64.whl.metadata (6.4 kB)
Collecting pillow>=8 (from matplotlib)
  Downloading Pillow-10.1.0-cp310-cp310-manylinux_2_28_x86_64.whl.metadata (9.5 kB)
Collecting pyparsing>=2.3.1 (from matplotlib)
  Downloading pyparsing-3.1.1-py3-none-any.whl.metadata (5.1 kB)
Requirement already satisfied: docutils<0.21,>=0.16 in /home/docs/checkouts/readthedocs.org/user_builds/conflowgen/envs/201/lib/python3.10/site-packages (from myst-parser) (0.20.1)
Collecting markdown-it-py~=3.0 (from myst-parser)
  Downloading markdown_it_py-3.0.0-py3-none-any.whl.metadata (6.9 kB)
Collecting mdit-py-plugins~=0.4 (from myst-parser)
  Downloading mdit_py_plugins-0.4.0-py3-none-any.whl.metadata (2.7 kB)
Collecting pyyaml (from myst-parser)
  Downloading PyYAML-6.0.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (2.1 kB)
Requirement already satisfied: sphinxcontrib-applehelp in /home/docs/checkouts/readthedocs.org/user_builds/conflowgen/envs/201/lib/python3.10/site-packages (from sphinx) (1.0.7)
Requirement already satisfied: sphinxcontrib-devhelp in /home/docs/checkouts/readthedocs.org/user_builds/conflowgen/envs/201/lib/python3.10/site-packages (from sphinx) (1.0.5)
Requirement already satisfied: sphinxcontrib-jsmath in /home/docs/checkouts/readthedocs.org/user_builds/conflowgen/envs/201/lib/python3.10/site-packages (from sphinx) (1.0.1)
Requirement already satisfied: sphinxcontrib-htmlhelp>=2.0.0 in /home/docs/checkouts/readthedocs.org/user_builds/conflowgen/envs/201/lib/python3.10/site-packages (from sphinx) (2.0.4)
Requirement already satisfied: sphinxcontrib-serializinghtml>=1.1.9 in /home/docs/checkouts/readthedocs.org/user_builds/conflowgen/envs/201/lib/python3.10/site-packages (from sphinx) (1.1.9)
Requirement already satisfied: sphinxcontrib-qthelp in /home/docs/checkouts/readthedocs.org/user_builds/conflowgen/envs/201/lib/python3.10/site-packages (from sphinx) (1.0.6)
Requirement already satisfied: snowballstemmer>=2.0 in /home/docs/checkouts/readthedocs.org/user_builds/conflowgen/envs/201/lib/python3.10/site-packages (from sphinx) (2.2.0)
Requirement already satisfied: babel>=2.9 in /home/docs/checkouts/readthedocs.org/user_builds/conflowgen/envs/201/lib/python3.10/site-packages (from sphinx) (2.13.1)
Requirement already satisfied: alabaster<0.8,>=0.7 in /home/docs/checkouts/readthedocs.org/user_builds/conflowgen/envs/201/lib/python3.10/site-packages (from sphinx) (0.7.13)
Requirement already satisfied: imagesize>=1.3 in /home/docs/checkouts/readthedocs.org/user_builds/conflowgen/envs/201/lib/python3.10/site-packages (from sphinx) (1.4.1)
Requirement already satisfied: requests>=2.25.0 in /home/docs/checkouts/readthedocs.org/user_builds/conflowgen/envs/201/lib/python3.10/site-packages (from sphinx) (2.31.0)
Collecting et-xmlfile (from openpyxl)
  Downloading et_xmlfile-1.1.0-py3-none-any.whl (4.7 kB)
Collecting tenacity>=6.2.0 (from plotly)
  Downloading tenacity-8.2.3-py3-none-any.whl.metadata (1.0 kB)
Collecting platformdirs>=2.2.0 (from pylint)
  Downloading platformdirs-4.1.0-py3-none-any.whl.metadata (11 kB)
Collecting astroid<=3.1.0-dev0,>=3.0.1 (from pylint)
  Downloading astroid-3.0.1-py3-none-any.whl.metadata (4.5 kB)
Collecting isort<6,>=4.2.5 (from pylint)
  Downloading isort-5.13.0-py3-none-any.whl.metadata (12 kB)
Collecting tomlkit>=0.10.1 (from pylint)
  Downloading tomlkit-0.12.3-py3-none-any.whl.metadata (2.7 kB)
Collecting dill>=0.2 (from pylint)
  Downloading dill-0.3.7-py3-none-any.whl.metadata (9.9 kB)
Collecting iniconfig (from pytest)
  Downloading iniconfig-2.0.0-py3-none-any.whl (5.9 kB)
Collecting pluggy<2.0,>=0.12 (from pytest)
  Downloading pluggy-1.3.0-py3-none-any.whl.metadata (4.3 kB)
Collecting coverage>=5.2.1 (from coverage[toml]>=5.2.1->pytest-cov)
  Downloading coverage-7.3.2-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (8.1 kB)
Collecting execnet>=1.1 (from pytest-xdist)
  Downloading execnet-2.0.2-py3-none-any.whl.metadata (2.9 kB)
Collecting sphinxcontrib-jquery<5,>=4 (from sphinx-rtd-theme)
  Downloading sphinxcontrib_jquery-4.1-py2.py3-none-any.whl (121 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 121.1/121.1 kB 149.5 MB/s eta 0:00:00
Collecting apeye>=0.4.0 (from sphinx-toolbox)
  Downloading apeye-1.4.1-py3-none-any.whl.metadata (7.3 kB)
Collecting autodocsumm>=0.2.0 (from sphinx-toolbox)
  Downloading autodocsumm-0.2.11-py3-none-any.whl (14 kB)
Collecting cachecontrol>=0.13.0 (from cachecontrol[filecache]>=0.13.0->sphinx-toolbox)
  Downloading cachecontrol-0.13.1-py3-none-any.whl.metadata (3.0 kB)
Collecting dict2css>=0.2.3 (from sphinx-toolbox)
  Downloading dict2css-0.3.0.post1-py3-none-any.whl.metadata (7.4 kB)
Collecting domdf-python-tools>=2.9.0 (from sphinx-toolbox)
  Downloading domdf_python_tools-3.7.0-py3-none-any.whl.metadata (8.9 kB)
Collecting filelock>=3.8.0 (from sphinx-toolbox)
  Downloading filelock-3.13.1-py3-none-any.whl.metadata (2.8 kB)
Collecting html5lib>=1.1 (from sphinx-toolbox)
  Downloading html5lib-1.1-py2.py3-none-any.whl (112 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 112.2/112.2 kB 152.2 MB/s eta 0:00:00
Collecting ruamel.yaml>=0.16.12 (from sphinx-toolbox)
  Downloading ruamel.yaml-0.18.5-py3-none-any.whl.metadata (23 kB)
Collecting sphinx-autodoc-typehints>=1.11.1 (from sphinx-toolbox)
  Downloading sphinx_autodoc_typehints-1.25.2-py3-none-any.whl.metadata (7.8 kB)
Collecting sphinx-jinja2-compat>=0.1.0 (from sphinx-toolbox)
  Downloading sphinx_jinja2_compat-0.2.0.post1-py3-none-any.whl.metadata (6.8 kB)
Collecting sphinx-prompt>=1.1.0 (from sphinx-toolbox)
  Downloading sphinx_prompt-1.8.0-py3-none-any.whl.metadata (3.1 kB)
Collecting sphinx-tabs<3.5.0,>=1.2.1 (from sphinx-toolbox)
  Downloading sphinx_tabs-3.4.4-py3-none-any.whl.metadata (6.3 kB)
Collecting tabulate>=0.8.7 (from sphinx-toolbox)
  Downloading tabulate-0.9.0-py3-none-any.whl (35 kB)
Collecting pybtex>=0.24 (from sphinxcontrib-bibtex)
  Downloading pybtex-0.24.0-py2.py3-none-any.whl (561 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 561.4/561.4 kB 152.6 MB/s eta 0:00:00
Collecting pybtex-docutils>=1.0.0 (from sphinxcontrib-bibtex)
  Downloading pybtex_docutils-1.0.3-py3-none-any.whl.metadata (4.3 kB)
Collecting pkginfo>=1.8.1 (from twine)
  Downloading pkginfo-1.9.6-py3-none-any.whl (30 kB)
Collecting readme-renderer>=35.0 (from twine)
  Downloading readme_renderer-42.0-py3-none-any.whl.metadata (2.8 kB)
Collecting requests-toolbelt!=0.9.0,>=0.8.0 (from twine)
  Downloading requests_toolbelt-1.0.0-py2.py3-none-any.whl (54 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 54.5/54.5 kB 130.0 MB/s eta 0:00:00
Requirement already satisfied: urllib3>=1.26.0 in /home/docs/checkouts/readthedocs.org/user_builds/conflowgen/envs/201/lib/python3.10/site-packages (from twine) (2.1.0)
Collecting importlib-metadata>=3.6 (from twine)
  Downloading importlib_metadata-7.0.0-py3-none-any.whl.metadata (4.9 kB)
Collecting keyring>=15.1 (from twine)
  Downloading keyring-24.3.0-py3-none-any.whl.metadata (20 kB)
Collecting rfc3986>=1.4.0 (from twine)
  Downloading rfc3986-2.0.0-py2.py3-none-any.whl (31 kB)
Collecting rich>=12.0.0 (from twine)
  Downloading rich-13.7.0-py3-none-any.whl.metadata (18 kB)
Collecting apeye-core>=1.0.0b2 (from apeye>=0.4.0->sphinx-toolbox)
  Downloading apeye_core-1.1.4-py3-none-any.whl.metadata (7.6 kB)
Collecting soupsieve>1.2 (from beautifulsoup4->nbconvert)
  Downloading soupsieve-2.5-py3-none-any.whl.metadata (4.7 kB)
Collecting six>=1.9.0 (from bleach!=5.0.0->nbconvert)
  Downloading six-1.16.0-py2.py3-none-any.whl (11 kB)
Collecting webencodings (from bleach!=5.0.0->nbconvert)
  Downloading webencodings-0.5.1-py2.py3-none-any.whl (11 kB)
Collecting msgpack>=0.5.2 (from cachecontrol>=0.13.0->cachecontrol[filecache]>=0.13.0->sphinx-toolbox)
  Downloading msgpack-1.0.7-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (9.1 kB)
Collecting cssutils>=2.2.0 (from dict2css>=0.2.3->sphinx-toolbox)
  Downloading cssutils-2.9.0-py3-none-any.whl.metadata (9.1 kB)
Collecting natsort>=7.0.1 (from domdf-python-tools>=2.9.0->sphinx-toolbox)
  Downloading natsort-8.4.0-py3-none-any.whl.metadata (21 kB)
Collecting zipp>=0.5 (from importlib-metadata>=3.6->twine)
  Downloading zipp-3.17.0-py3-none-any.whl.metadata (3.7 kB)
Collecting pip-api (from isort<6,>=4.2.5->pylint)
  Downloading pip_api-0.0.30-py3-none-any.whl (111 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 111.6/111.6 kB 156.1 MB/s eta 0:00:00
Collecting pipreqs (from isort<6,>=4.2.5->pylint)
  Downloading pipreqs-0.4.13-py2.py3-none-any.whl (33 kB)
Collecting requirementslib (from isort<6,>=4.2.5->pylint)
  Downloading requirementslib-3.0.0-py2.py3-none-any.whl.metadata (13 kB)
Collecting parso<0.9.0,>=0.8.3 (from jedi>=0.16->ipython)
  Downloading parso-0.8.3-py2.py3-none-any.whl (100 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100.8/100.8 kB 146.3 MB/s eta 0:00:00
Collecting attrs>=22.2.0 (from jsonschema>=2.6->nbformat)
  Downloading attrs-23.1.0-py3-none-any.whl (61 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.2/61.2 kB 144.8 MB/s eta 0:00:00
Collecting jsonschema-specifications>=2023.03.6 (from jsonschema>=2.6->nbformat)
  Downloading jsonschema_specifications-2023.11.2-py3-none-any.whl.metadata (3.0 kB)
Collecting referencing>=0.28.4 (from jsonschema>=2.6->nbformat)
  Downloading referencing-0.32.0-py3-none-any.whl.metadata (2.7 kB)
Collecting rpds-py>=0.7.1 (from jsonschema>=2.6->nbformat)
  Downloading rpds_py-0.13.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (3.9 kB)
Collecting anyio>=3.1.0 (from jupyter-server<3,>=2.4.0->jupyterlab)
  Downloading anyio-4.1.0-py3-none-any.whl.metadata (4.5 kB)
Collecting argon2-cffi (from jupyter-server<3,>=2.4.0->jupyterlab)
  Downloading argon2_cffi-23.1.0-py3-none-any.whl.metadata (5.2 kB)
Collecting jupyter-events>=0.9.0 (from jupyter-server<3,>=2.4.0->jupyterlab)
  Downloading jupyter_events-0.9.0-py3-none-any.whl.metadata (5.7 kB)
Collecting jupyter-server-terminals (from jupyter-server<3,>=2.4.0->jupyterlab)
  Downloading jupyter_server_terminals-0.4.4-py3-none-any.whl (13 kB)
Collecting overrides (from jupyter-server<3,>=2.4.0->jupyterlab)
  Downloading overrides-7.4.0-py3-none-any.whl.metadata (5.7 kB)
Collecting prometheus-client (from jupyter-server<3,>=2.4.0->jupyterlab)
  Downloading prometheus_client-0.19.0-py3-none-any.whl.metadata (1.8 kB)
Collecting send2trash>=1.8.2 (from jupyter-server<3,>=2.4.0->jupyterlab)
  Downloading Send2Trash-1.8.2-py3-none-any.whl (18 kB)
Collecting terminado>=0.8.3 (from jupyter-server<3,>=2.4.0->jupyterlab)
  Downloading terminado-0.18.0-py3-none-any.whl.metadata (5.8 kB)
Collecting websocket-client (from jupyter-server<3,>=2.4.0->jupyterlab)
  Downloading websocket_client-1.7.0-py3-none-any.whl.metadata (7.9 kB)
Collecting json5>=0.9.0 (from jupyterlab-server<3,>=2.19.0->jupyterlab)
  Downloading json5-0.9.14-py2.py3-none-any.whl.metadata (10 kB)
Collecting jaraco.classes (from keyring>=15.1->twine)
  Downloading jaraco.classes-3.3.0-py3-none-any.whl.metadata (2.9 kB)
Collecting SecretStorage>=3.2 (from keyring>=15.1->twine)
  Downloading SecretStorage-3.3.3-py3-none-any.whl (15 kB)
Collecting jeepney>=0.4.2 (from keyring>=15.1->twine)
  Downloading jeepney-0.8.0-py3-none-any.whl (48 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 48.4/48.4 kB 134.7 MB/s eta 0:00:00
Collecting mdurl~=0.1 (from markdown-it-py~=3.0->myst-parser)
  Downloading mdurl-0.1.2-py3-none-any.whl (10.0 kB)
Collecting ptyprocess>=0.5 (from pexpect>4.3->ipython)
  Downloading ptyprocess-0.7.0-py2.py3-none-any.whl (13 kB)
Collecting wcwidth (from prompt-toolkit<3.1.0,>=3.0.41->ipython)
  Downloading wcwidth-0.2.12-py2.py3-none-any.whl.metadata (14 kB)
Collecting latexcodec>=1.0.4 (from pybtex>=0.24->sphinxcontrib-bibtex)
  Downloading latexcodec-2.0.1-py2.py3-none-any.whl (18 kB)
Collecting nh3>=0.2.14 (from readme-renderer>=35.0->twine)
  Downloading nh3-0.2.15-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (1.7 kB)
Requirement already satisfied: charset-normalizer<4,>=2 in /home/docs/checkouts/readthedocs.org/user_builds/conflowgen/envs/201/lib/python3.10/site-packages (from requests>=2.25.0->sphinx) (3.3.2)
Requirement already satisfied: idna<4,>=2.5 in /home/docs/checkouts/readthedocs.org/user_builds/conflowgen/envs/201/lib/python3.10/site-packages (from requests>=2.25.0->sphinx) (3.6)
Requirement already satisfied: certifi>=2017.4.17 in /home/docs/checkouts/readthedocs.org/user_builds/conflowgen/envs/201/lib/python3.10/site-packages (from requests>=2.25.0->sphinx) (2023.11.17)
Collecting ruamel.yaml.clib>=0.2.7 (from ruamel.yaml>=0.16.12->sphinx-toolbox)
  Downloading ruamel.yaml.clib-0.2.8-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_24_x86_64.whl.metadata (2.2 kB)
INFO: pip is looking at multiple versions of sphinx-tabs to determine which version is compatible with other requirements. This could take a while.
Collecting sphinx-tabs<3.5.0,>=1.2.1 (from sphinx-toolbox)
  Downloading sphinx_tabs-3.4.1-py3-none-any.whl (10.0 kB)
  Downloading sphinx_tabs-3.4.0-py3-none-any.whl (10.0 kB)
  Downloading sphinx_tabs-3.3.1-py3-none-any.whl (10.0 kB)
  Downloading sphinx_tabs-3.3.0-py3-none-any.whl (10 kB)
  Downloading sphinx_tabs-3.2.0-py3-none-any.whl (9.8 kB)
  Downloading sphinx_tabs-3.1.0-py3-none-any.whl (9.7 kB)
  Downloading sphinx_tabs-3.0.0-py3-none-any.whl (9.7 kB)
INFO: pip is still looking at multiple versions of sphinx-tabs to determine which version is compatible with other requirements. This could take a while.
  Downloading sphinx_tabs-2.1.0-py3-none-any.whl (9.6 kB)
  Downloading sphinx_tabs-2.0.1-py3-none-any.whl (9.4 kB)
  Downloading sphinx_tabs-2.0.0-py3-none-any.whl (9.3 kB)
  Downloading sphinx_tabs-1.3.0-py3-none-any.whl (22 kB)
  Downloading sphinx_tabs-1.2.1-py3-none-any.whl (22 kB)
INFO: This is taking longer than usual. You might need to provide the dependency resolver with stricter constraints to reduce runtime. See https://pip.pypa.io/warnings/backtracking for guidance. If you want to abort this run, press Ctrl + C.
Collecting sphinx-prompt>=1.1.0 (from sphinx-toolbox)
  Downloading sphinx_prompt-1.7.0-py3-none-any.whl.metadata (3.4 kB)
  Downloading sphinx_prompt-1.6.0-py3-none-any.whl (5.2 kB)
INFO: pip is looking at multiple versions of sphinx-prompt to determine which version is compatible with other requirements. This could take a while.
  Downloading sphinx_prompt-1.5.0-py3-none-any.whl (4.5 kB)
  Downloading sphinx_prompt-1.4.0-py3-none-any.whl (4.1 kB)
  Downloading sphinx_prompt-1.3.0-py3-none-any.whl (3.8 kB)
  Downloading sphinx_prompt-1.2.0-py3-none-any.whl (3.8 kB)
  Downloading sphinx-prompt-1.1.0.tar.gz (7.9 kB)
  Preparing metadata (setup.py): started
  Preparing metadata (setup.py): finished with status 'done'
Collecting sphinx-autodoc-typehints>=1.11.1 (from sphinx-toolbox)
  Downloading sphinx_autodoc_typehints-1.25.1-py3-none-any.whl.metadata (7.8 kB)
INFO: pip is still looking at multiple versions of sphinx-prompt to determine which version is compatible with other requirements. This could take a while.
  Downloading sphinx_autodoc_typehints-1.25.0-py3-none-any.whl.metadata (7.8 kB)
INFO: This is taking longer than usual. You might need to provide the dependency resolver with stricter constraints to reduce runtime. See https://pip.pypa.io/warnings/backtracking for guidance. If you want to abort this run, press Ctrl + C.
  Downloading sphinx_autodoc_typehints-1.24.1-py3-none-any.whl.metadata (7.8 kB)
  Downloading sphinx_autodoc_typehints-1.24.0-py3-none-any.whl.metadata (7.8 kB)
  Downloading sphinx_autodoc_typehints-1.23.3-py3-none-any.whl.metadata (8.5 kB)
  Downloading sphinx_autodoc_typehints-1.23.2-py3-none-any.whl.metadata (8.5 kB)
  Downloading sphinx_autodoc_typehints-1.23.1-py3-none-any.whl.metadata (8.6 kB)
  Downloading sphinx_autodoc_typehints-1.23.0-py3-none-any.whl (17 kB)
Collecting sphinx
  Downloading sphinx-6.2.1-py3-none-any.whl (3.0 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.0/3.0 MB 140.5 MB/s eta 0:00:00
INFO: pip is looking at multiple versions of sphinx to determine which version is compatible with other requirements. This could take a while.
  Downloading sphinx-6.2.0-py3-none-any.whl (3.0 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.0/3.0 MB 143.3 MB/s eta 0:00:00
  Downloading sphinx-6.1.3-py3-none-any.whl (3.0 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.0/3.0 MB 128.3 MB/s eta 0:00:00
  Downloading sphinx-6.1.2-py3-none-any.whl (3.0 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.0/3.0 MB 129.5 MB/s eta 0:00:00
  Downloading sphinx-6.1.1-py3-none-any.whl (3.0 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.0/3.0 MB 143.6 MB/s eta 0:00:00
  Downloading sphinx-6.1.0-py3-none-any.whl (3.0 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.0/3.0 MB 142.9 MB/s eta 0:00:00
  Downloading sphinx-6.0.1-py3-none-any.whl (3.0 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.0/3.0 MB 142.4 MB/s eta 0:00:00
  Downloading sphinx-6.0.0-py3-none-any.whl (3.0 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.0/3.0 MB 144.1 MB/s eta 0:00:00
INFO: pip is still looking at multiple versions of sphinx to determine which version is compatible with other requirements. This could take a while.
Collecting sphinx-autodoc-typehints>=1.11.1 (from sphinx-toolbox)
  Downloading sphinx_autodoc_typehints-1.22-py3-none-any.whl (17 kB)
INFO: This is taking longer than usual. You might need to provide the dependency resolver with stricter constraints to reduce runtime. See https://pip.pypa.io/warnings/backtracking for guidance. If you want to abort this run, press Ctrl + C.
  Downloading sphinx_autodoc_typehints-1.21.8-py3-none-any.whl (17 kB)
  Downloading sphinx_autodoc_typehints-1.21.7-py3-none-any.whl (16 kB)
  Downloading sphinx_autodoc_typehints-1.21.6-py3-none-any.whl (16 kB)
  Downloading sphinx_autodoc_typehints-1.21.5-py3-none-any.whl (16 kB)
  Downloading sphinx_autodoc_typehints-1.21.4-py3-none-any.whl (16 kB)
  Downloading sphinx_autodoc_typehints-1.21.3-py3-none-any.whl (15 kB)
  Downloading sphinx_autodoc_typehints-1.21.2-py3-none-any.whl (13 kB)
  Downloading sphinx_autodoc_typehints-1.21.1-py3-none-any.whl (13 kB)
  Downloading sphinx_autodoc_typehints-1.21.0-py3-none-any.whl (13 kB)
  Downloading sphinx_autodoc_typehints-1.20.2-py3-none-any.whl (12 kB)
  Downloading sphinx_autodoc_typehints-1.20.1-py3-none-any.whl (12 kB)
  Downloading sphinx_autodoc_typehints-1.20.0-py3-none-any.whl (12 kB)
  Downloading sphinx_autodoc_typehints-1.19.5-py3-none-any.whl (12 kB)
  Downloading sphinx_autodoc_typehints-1.19.4-py3-none-any.whl (12 kB)
  Downloading sphinx_autodoc_typehints-1.19.3-py3-none-any.whl (12 kB)
  Downloading sphinx_autodoc_typehints-1.19.2-py3-none-any.whl (12 kB)
  Downloading sphinx_autodoc_typehints-1.19.1-py3-none-any.whl (12 kB)
  Downloading sphinx_autodoc_typehints-1.19.0-py3-none-any.whl (12 kB)
  Downloading sphinx_autodoc_typehints-1.18.3-py3-none-any.whl (12 kB)
  Downloading sphinx_autodoc_typehints-1.18.2-py3-none-any.whl (12 kB)
  Downloading sphinx_autodoc_typehints-1.18.1-py3-none-any.whl (12 kB)
  Downloading sphinx_autodoc_typehints-1.18.0-py3-none-any.whl (12 kB)
  Downloading sphinx_autodoc_typehints-1.17.1-py3-none-any.whl (12 kB)
  Downloading sphinx_autodoc_typehints-1.17.0-py3-none-any.whl (12 kB)
  Downloading sphinx_autodoc_typehints-1.16.0-py3-none-any.whl (12 kB)
  Downloading sphinx_autodoc_typehints-1.15.3-py3-none-any.whl (11 kB)
  Downloading sphinx_autodoc_typehints-1.15.2-py3-none-any.whl (11 kB)
  Downloading sphinx_autodoc_typehints-1.15.1-py3-none-any.whl (11 kB)
  Downloading sphinx_autodoc_typehints-1.15.0-py3-none-any.whl (11 kB)
  Downloading sphinx_autodoc_typehints-1.14.1-py3-none-any.whl (11 kB)
  Downloading sphinx_autodoc_typehints-1.14.0-py3-none-any.whl (11 kB)
  Downloading sphinx_autodoc_typehints-1.13.1-py3-none-any.whl (10 kB)
  Downloading sphinx_autodoc_typehints-1.13.0-py3-none-any.whl (10 kB)
  Downloading sphinx_autodoc_typehints-1.12.0-py3-none-any.whl (9.4 kB)
  Downloading sphinx_autodoc_typehints-1.11.1-py3-none-any.whl (8.7 kB)
Collecting readme-renderer>=35.0 (from twine)
  Downloading readme_renderer-41.0-py3-none-any.whl.metadata (2.7 kB)
  Downloading readme_renderer-40.0-py3-none-any.whl.metadata (2.7 kB)
  Downloading readme_renderer-37.3-py3-none-any.whl (14 kB)
  Downloading readme_renderer-37.2-py3-none-any.whl (14 kB)
  Downloading readme_renderer-37.1-py3-none-any.whl (14 kB)
  Downloading readme_renderer-37.0-py3-none-any.whl (14 kB)
  Downloading readme_renderer-36.0-py3-none-any.whl (14 kB)
  Downloading readme_renderer-35.0-py3-none-any.whl (14 kB)
Collecting pybtex-docutils>=1.0.0 (from sphinxcontrib-bibtex)
  Downloading pybtex_docutils-1.0.2-py3-none-any.whl (6.3 kB)
  Downloading pybtex_docutils-1.0.1-py3-none-any.whl (4.8 kB)


Command killed due to timeout or excessive memory consumption

It becomes interestng in the line mentioning Collecting sphinx-tabs<3.5.0,>=1.2.1 (from sphinx-toolbox)

Expected result:

In the best case, pip would not try out so many different versions.

Reproduces how often:

Each time I try to run this on RTD.

Version

  • Operating System: ubuntu-20.04
  • Python: 3.10
  • sphinx-toolbox: 3.5.0

Installation source

pip, or to be more precise:
python -m pip install --upgrade --upgrade-strategy only-if-needed --no-cache-dir

Other Additional Information:

A failed build can be seen here:
https://readthedocs.org/projects/conflowgen/builds/22803641/

@1kastner 1kastner added the bug Something isn't working label Dec 9, 2023
@1kastner
Copy link
Author

An analysis of the dependency issues is given at pypa/pip#12430. The problematic group of packages (all from the Sphinx realm) is mentioned in pypa/pip#12430 (comment) and in the best case, soon pip will be updated to better handle such types of dependency graphs. However, this shows how tricky dependency resolution can be.

@1kastner 1kastner changed the title sphinx-toolbox too lenient on pinned versions? sphinx-toolbox and other Sphinx packages lead to dependency resolution issues for pip Dec 12, 2023
@1kastner 1kastner changed the title sphinx-toolbox and other Sphinx packages lead to dependency resolution issues for pip sphinx-toolbox in combination with other Sphinx packages leads to dependency resolution issues when installing with pip Dec 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants