← All tasks
pythonpython-semver/python-semver #297Not a task: already works

Fix ReadTheDocs Build Errors

envgap__python-semver__python-semver-297

01 / FAILURE SIGNATURE

As reported upstream

ERROR: Exception:
Not a benchmark task.
  • The project already builds and runs before the fix, so there is nothing to repair.

02 / ENVIRONMENT RECIPE

Base commit
1930e3e2285af0d4b2a9f8988a567039727e9322
Manifest
docs/requirements.txt
Reproduce
Awaiting issue-specific recipe
Run under trace
Awaiting a meaningful runtime command

03 / ORIGINAL ISSUE TEXT

python-semver/python-semver #297 · read the original issue
# Situation



ReadTheDocs.org gives us some strange errors:



```

Requirement already satisfied: pytz>=2015.7 in /home/docs/checkouts/readthedocs.org/user_builds/python-semver/envs/latest/lib/python3.7/site-packages (from babel!=2.0,>=1.3->sphinx->-r docs/requirements.txt (line 2)) (2020.1)

Collecting sphinxcontrib-htmlhelp

  Downloading sphinxcontrib_htmlhelp-1.0.3-py2.py3-none-any.whl (96 kB)

Collecting sphinxcontrib-applehelp

  Downloading sphinxcontrib_applehelp-1.0.2-py2.py3-none-any.whl (121 kB)

Collecting sphinxcontrib-jsmath

  Downloading sphinxcontrib_jsmath-1.0.1-py2.py3-none-any.whl (5.1 kB)

Collecting sphinxcontrib-devhelp

  Downloading sphinxcontrib_devhelp-1.0.2-py2.py3-none-any.whl (84 kB)

Collecting sphinxcontrib-qthelp

  Downloading sphinxcontrib_qthelp-1.0.3-py2.py3-none-any.whl (90 kB)

Building wheels for collected packages: sphinx-argparse

  Building wheel for sphinx-argparse (setup.py): started

  Building wheel for sphinx-argparse (setup.py): finished with status 'done'

  Created wheel for sphinx-argparse: filename=sphinx_argparse-0.2.5-py3-none-any.whl size=11549 sha256=a6cd6938c3c655193f230e0181f48d037539475be6989b7f17d59760167f5c54

  Stored in directory: /tmp/pip-ephem-wheel-cache-s8zdxc9_/wheels/4a/4c/12/83c88bdc1bc352d7036de2891b5d6729adcf1bda3bab015560

Successfully built sphinx-argparse

ERROR: Exception:

Traceback (most recent call last):

  File "/home/docs/checkouts/readthedocs.org/user_builds/python-semver/envs/latest/lib/python3.7/site-packages/pip/_internal/cli/base_command.py", line 228, in _main

    status = self.run(options, args)

  File "/home/docs/checkouts/readthedocs.org/user_builds/python-semver/envs/latest/lib/python3.7/site-packages/pip/_internal/cli/req_command.py", line 182, in wrapper

    return func(self, options, args)

  File "/home/docs/checkouts/readthedocs.org/user_builds/python-semver/envs/latest/lib/python3.7/site-packages/pip/_internal/commands/install.py", line 379, in run

    requirement_set

  File "/home/docs/checkouts/readthedocs.org/user_builds/python-semver/envs/latest/lib/python3.7/site-packages/pip/_internal/resolution/resolvelib/resolver.py", line 191, in get_installation_order

    weights = get_topological_weights(graph)

  File "/home/docs/checkouts/readthedocs.org/user_builds/python-semver/envs/latest/lib/python3.7/site-packages/pip/_internal/resolution/resolvelib/resolver.py", line 242, in get_topological_weights

    assert len(weights) == len(graph)

AssertionError

```



# Suggested Solution



Fix the problem.



@tlaferriere Thomas, do you know what can be the problem?
Continue on GitHub ↗

04 / LABELS

Labels from the report text only; not yet run

No supported category has been assigned.

Label rules and the text that matched
[]