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

Build is failing with Sphinx version error #89

Open
tompollard opened this issue Jul 19, 2024 · 0 comments
Open

Build is failing with Sphinx version error #89

tompollard opened this issue Jul 19, 2024 · 0 comments

Comments

@tompollard
Copy link
Contributor

The current build of the website is failing. See:
https://github.com/wfdb/mimic_wfdb_tutorials/actions/runs/10009960994

Running Jupyter-Book v0.9.1
Source Folder: /home/runner/work/mimic_wfdb_tutorials/mimic_wfdb_tutorials/content
Config Path: /home/runner/work/mimic_wfdb_tutorials/mimic_wfdb_tutorials/content/_config.yml
Output Path: /home/runner/work/mimic_wfdb_tutorials/mimic_wfdb_tutorials/content/_build/html
Running Sphinx v3.5.4

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.
Traceback (most recent call last):
  File "/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/site-packages/sphinx/registry.py", line 430, in load_extension
    metadata = setup(app)
  File "/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/site-packages/sphinxcontrib/applehelp/__init__.py", line 230, in setup
    app.require_sphinx('5.0')
  File "/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/site-packages/sphinx/application.py", line 415, 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 "/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/site-packages/jupyter_book/sphinx.py", line 112, in build_sphinx
    app = Sphinx(
  File "/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/site-packages/sphinx/application.py", line 241, in __init__
    self.setup_extension(extension)
  File "/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/site-packages/sphinx/application.py", line 402, in setup_extension
    self.registry.load_extension(self, extname)
  File "/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/site-packages/sphinx/registry.py", line 433, 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.

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

Traceback (most recent call last):
  File "/opt/hostedtoolcache/Python/3.9.19/x64/bin/jupyter-book", line [8](https://github.com/wfdb/mimic_wfdb_tutorials/actions/runs/10009960994/job/27670031010#step:5:9), in <module>
    sys.exit(main())
  File "/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.[9](https://github.com/wfdb/mimic_wfdb_tutorials/actions/runs/10009960994/job/27670031010#step:5:10)/site-packages/click/core.py", line 1157, in __call__
    return self.main(*args, **kwargs)
  File "/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/site-packages/click/core.py", line [10](https://github.com/wfdb/mimic_wfdb_tutorials/actions/runs/10009960994/job/27670031010#step:5:11)78, in main
    rv = self.invoke(ctx)
  File "/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/site-packages/click/core.py", line 1688, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/site-packages/click/core.py", line [14](https://github.com/wfdb/mimic_wfdb_tutorials/actions/runs/10009960994/job/27670031010#step:5:15)34, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/site-packages/click/core.py", line 783, in invoke
    return __callback(*args, **kwargs)
  File "/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/site-packages/jupyter_book/commands/__init__.py", line 303, in build
    builder_specific_actions(
  File "/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/site-packages/jupyter_book/commands/__init__.py", line 545, in builder_specific_actions
    raise RuntimeError(_message_box(msg, color="red", doprint=False)) from result
RuntimeError: 
===============================================================================

There was an error in building your book. Look above for the cause.

===============================================================================

Error: Process completed with exit code 1.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant