scikit-learn-contrib / MAPIE

A scikit-learn-compatible module to estimate prediction intervals and control risks based on conformal predictions.
https://mapie.readthedocs.io/en/latest/
BSD 3-Clause "New" or "Revised" License
1.2k stars 99 forks source link

Documentation build failure #465

Closed LacombeLouis closed 3 weeks ago

LacombeLouis commented 3 weeks ago

Describe the bug The documentation fails to build on the instances.

Running Sphinx v4.3.2
loading translations [en]... done

Traceback (most recent call last):
  File "/home/docs/checkouts/readthedocs.org/user_builds/mapie/conda/464/lib/python3.10/site-packages/sphinx/registry.py", line 442, in load_extension
    metadata = setup(app)
  File "/home/docs/checkouts/readthedocs.org/user_builds/mapie/conda/464/lib/python3.10/site-packages/sphinxcontrib/serializinghtml/__init__.py", line 160, in setup
    app.require_sphinx('5.0')
  File "/home/docs/checkouts/readthedocs.org/user_builds/mapie/conda/464/lib/python3.10/site-packages/sphinx/application.py", line 407, 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/mapie/conda/464/lib/python3.10/site-packages/sphinx/cmd/build.py", line 276, in build_main
    app = Sphinx(args.sourcedir, args.confdir, args.outputdir,
  File "/home/docs/checkouts/readthedocs.org/user_builds/mapie/conda/464/lib/python3.10/site-packages/sphinx/application.py", line 233, in __init__
    self.setup_extension(extension)
  File "/home/docs/checkouts/readthedocs.org/user_builds/mapie/conda/464/lib/python3.10/site-packages/sphinx/application.py", line 394, in setup_extension
    self.registry.load_extension(self, extname)
  File "/home/docs/checkouts/readthedocs.org/user_builds/mapie/conda/464/lib/python3.10/site-packages/sphinx/registry.py", line 445, in load_extension
    raise VersionRequirementError(
sphinx.errors.VersionRequirementError: The sphinxcontrib.serializinghtml extension used by this project needs at least Sphinx v5.0; it therefore cannot be built with this version.

Sphinx version error:
The sphinxcontrib.serializinghtml extension used by this project needs at least Sphinx v5.0; it therefore cannot be built with this version.

Desktop (please complete the following information):

channels:
- defaults
- conda-forge
dependencies:
- lightgbm=3.2.1
- numpydoc=1.1.0
- pandas=1.3.5
- python=3.10
- scikit-learn
- sphinx=4.3.2
- sphinx-gallery=0.10.1
- sphinx_rtd_theme=1.0.0
- typing_extensions=4.0.1
- pip:
  - readthedocs-sphinx-ext
- sphinx
name: mapie-doc