pypa / pipenv

Python Development Workflow for Humans.
https://pipenv.pypa.io
MIT License
24.89k stars 1.87k forks source link

readthedocs.org build has been failing for a while #6290

Closed matteius closed 3 weeks ago

matteius commented 3 weeks ago

readthedocs.org build has been failing for a while:

[Read the Docs](https://readthedocs.org/)
[matteius](https://readthedocs.org/dashboard/)▼
[View Docs](https://pipenv.pypa.io/en/latest/)
[Projects](https://readthedocs.org/dashboard/) >
[pipenv](https://readthedocs.org/projects/pipenv/)
[Overview](https://readthedocs.org/projects/pipenv/)
[Downloads](https://readthedocs.org/projects/pipenv/downloads/)
[Search](https://readthedocs.org/search/?q=project:pipenv%20)
[Builds](https://readthedocs.org/projects/pipenv/builds/)
[Versions](https://readthedocs.org/projects/pipenv/versions/)
[Admin](https://readthedocs.org/dashboard/pipenv/edit/)
Our new beta dashboard is now available for testing! [Try viewing this build on the new dashboard](https://app.readthedocs.org/projects/pipenv/builds/26112134/).

Completed Oct. 29, 2024. 11:45 p.m.
Build took 47 seconds
[View raw](https://readthedocs.org/api/v2/build/26112134.txt)
Build #26112134
[stable](https://readthedocs.org/dashboard/pipenv/version/stable/edit/) ([969ec20cdc5e8167c56c4c1dd245082ca3439fdd](https://github.com/pypa/pipenv/commit/969ec20cdc5e8167c56c4c1dd245082ca3439fdd))
Build failed
Read the Docs Addons were enabled by default on October 7th, 2024 — Read the [full announcement in our blog](https://about.readthedocs.com/blog/2024/07/addons-by-default/) to know if your project is affected and how to update.

Error
We encountered a problem with a command while building your project. To resolve this error, double check your project configuration and installed dependencies are correct and have not changed recently.

git clone --depth 1 https://github.com/pypa/pipenv .
git fetch origin --force --prune --prune-tags --depth 50 969ec20cdc5e8167c56c4c1dd245082ca3439fdd
git checkout --force 969ec20cdc5e8167c56c4c1dd245082ca3439fdd
cat .readthedocs.yaml
asdf global python 3.11.9
python -mvirtualenv $READTHEDOCS_VIRTUALENV_PATH
python -m pip install --upgrade --no-cache-dir pip setuptools
python -m pip install --upgrade --no-cache-dir sphinx
python -m pip install --exists-action=w --no-cache-dir -r docs/requirements.txt
cat docs/conf.py
python -m sphinx -T -b html -d _build/doctrees -D language=en . $READTHEDOCS_OUTPUT/html
Running Sphinx v4.5.0
loading translations [en]... done

Traceback (most recent call last):
  File "/home/docs/checkouts/readthedocs.org/user_builds/pipenv/envs/stable/lib/python3.11/site-packages/sphinx/registry.py", line 438, in load_extension
    metadata = setup(app)
               ^^^^^^^^^^
  File "/home/docs/checkouts/readthedocs.org/user_builds/pipenv/envs/stable/lib/python3.11/site-packages/sphinxcontrib/applehelp/__init__.py", line 240, in setup
    app.require_sphinx('5.0')
  File "/home/docs/checkouts/readthedocs.org/user_builds/pipenv/envs/stable/lib/python3.11/site-packages/sphinx/application.py", line 393, in require_sphinx
    raise VersionRequirementError(version)
sphinx.errors.VersionRequirementError: 5.0

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/docs/checkouts/readthedocs.org/user_builds/pipenv/envs/stable/lib/python3.11/site-packages/sphinx/cmd/build.py", line 272, in build_main
    app = Sphinx(args.sourcedir, args.confdir, args.outputdir,
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/docs/checkouts/readthedocs.org/user_builds/pipenv/envs/stable/lib/python3.11/site-packages/sphinx/application.py", line 219, in __init__
    self.setup_extension(extension)
  File "/home/docs/checkouts/readthedocs.org/user_builds/pipenv/envs/stable/lib/python3.11/site-packages/sphinx/application.py", line 380, in setup_extension
    self.registry.load_extension(self, extname)
  File "/home/docs/checkouts/readthedocs.org/user_builds/pipenv/envs/stable/lib/python3.11/site-packages/sphinx/registry.py", line 441, in load_extension
    raise VersionRequirementError(
sphinx.errors.VersionRequirementError: The sphinxcontrib.applehelp extension used by this project needs at least Sphinx v5.0; it therefore cannot be built with this version.

Sphinx version error:
The sphinxcontrib.applehelp extension used by this project needs at least Sphinx v5.0; it therefore cannot be built with this version.
Command time: 0s Return: 2