Skip to content

sphinx env changed and now docs builds are failing #20819

@cyrush

Description

@cyrush

Describe the bug

  File "/home/docs/checkouts/readthedocs.org/user_builds/visit-sphinx-github-user-manual/envs/20817/lib/python3.9/site-packages/sphinx_tabs/__init__.py", line 3, in <module>
    __import__("pkg_resources").declare_namespace(__name__)
ModuleNotFoundError: No module named 'pkg_resources'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
  File "/home/docs/checkouts/readthedocs.org/user_builds/visit-sphinx-github-user-manual/envs/20817/lib/python3.9/site-packages/sphinx/cmd/build.py", line 280, in build_main
    app = Sphinx(args.sourcedir, args.confdir, args.outputdir,
  File "/home/docs/checkouts/readthedocs.org/user_builds/visit-sphinx-github-user-manual/envs/20817/lib/python3.9/site-packages/sphinx/application.py", line 229, in __init__
    self.setup_extension(extension)
  File "/home/docs/checkouts/readthedocs.org/user_builds/visit-sphinx-github-user-manual/envs/20817/lib/python3.9/site-packages/sphinx/application.py", line 402, in setup_extension
    self.registry.load_extension(self, extname)
  File "/home/docs/checkouts/readthedocs.org/user_builds/visit-sphinx-github-user-manual/envs/20817/lib/python3.9/site-packages/sphinx/registry.py", line 432, in load_extension
    raise ExtensionError(__('Could not import extension %s') % extname,
sphinx.errors.ExtensionError: Could not import extension sphinx_tabs.tabs (exception: No module named 'pkg_resources')
Extension error:
Could not import extension sphinx_tabs.tabs (exception: No module named 'pkg_resources')

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingimpact mediumProductivity partially degraded (not easily mitigated bug) or improved (enhancement)likelihood mediumNeither low nor high likelihood

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions