You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Include sphinx-toolbox and several other packages (?) in a requirements.txt file
Have pip install those requirements with the RTD default command.
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
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
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
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
Actual result:
Here is the log:
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
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/
The text was updated successfully, but these errors were encountered: