Page MenuHomePhabricator
Paste P89838

tox -e doc (macos, devcontainer)
ArchivedPublic

Authored by zeljkofilipin on Mar 11 2026, 8:37 AM.
Project Tags
None
Referenced Files
F72804321: tox -e doc (macos, devcontainer)
Mar 11 2026, 8:37 AM
Subscribers
None
vscode ➜ /workspaces/quibble (master) $ tox -e doc
doc: install_deps> python -I -m pip install '.[doc]'
.pkg: install_requires> python -I -m pip install 'setuptools-git-versioning<2,>=1.8.0' 'setuptools>=61.0'
.pkg: _optional_hooks> python /home/vscode/.local/lib/python3.11/site-packages/pyproject_api/_backend.py True setuptools.build_meta
.pkg: get_requires_for_build_sdist> python /home/vscode/.local/lib/python3.11/site-packages/pyproject_api/_backend.py True setuptools.build_meta
.pkg: get_requires_for_build_editable> python /home/vscode/.local/lib/python3.11/site-packages/pyproject_api/_backend.py True setuptools.build_meta
.pkg: build_editable> python /home/vscode/.local/lib/python3.11/site-packages/pyproject_api/_backend.py True setuptools.build_meta
doc: install_package_deps> python -I -m pip install 'GitPython~=3.1.0' PyYAML extras pymemcache requests
doc: install_package> python -I -m pip install --force-reinstall --no-deps /workspaces/quibble/.tox/.tmp/package/1/quibble-1.15.0.post15+git.e4921eeb.dirty-0.editable-py3-none-any.whl
doc: commands[0]> sphinx-build -v -W -b html doc/source doc/build/html
Running Sphinx v9.0.4
Configuration error!
Versions
========
* Platform: linux; (Linux-6.12.72-linuxkit-aarch64-with-glibc2.41)
* Python version: 3.11.14 (CPython)
* Sphinx version: 9.0.4
* Docutils version: 0.22.4
* Jinja2 version: 3.1.6
* Pygments version: 2.19.2
Last Messages
=============
None.
Loaded Extensions
=================
None.
Traceback
=========
Traceback (most recent call last):
File "/workspaces/quibble/.tox/doc/lib/python3.11/site-packages/sphinx/config.py", line 597, in eval_config_file
exec(code, namespace) # NoQA: S102
^^^^^^^^^^^^^^^^^^^^^
File "/workspaces/quibble/doc/source/conf.py", line 6, in <module>
from pkg_resources import get_distribution
ModuleNotFoundError: No module named 'pkg_resources'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/workspaces/quibble/.tox/doc/lib/python3.11/site-packages/sphinx/cmd/build.py", line 414, in build_main
app = Sphinx(
^^^^^^^
File "/workspaces/quibble/.tox/doc/lib/python3.11/site-packages/sphinx/application.py", line 273, in __init__
self.config = Config.read(self.confdir, overrides=overrides, tags=self.tags)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspaces/quibble/.tox/doc/lib/python3.11/site-packages/sphinx/config.py", line 353, in read
return _read_conf_py(filename, overrides=overrides, tags=tags)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspaces/quibble/.tox/doc/lib/python3.11/site-packages/sphinx/config.py", line 568, in _read_conf_py
namespace = eval_config_file(conf_path, tags)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspaces/quibble/.tox/doc/lib/python3.11/site-packages/sphinx/config.py", line 612, in eval_config_file
raise ConfigError(msg % traceback.format_exc()) from exc
sphinx.errors.ConfigError: There is a programmable error in your configuration file:
Traceback (most recent call last):
File "/workspaces/quibble/.tox/doc/lib/python3.11/site-packages/sphinx/config.py", line 597, in eval_config_file
exec(code, namespace) # NoQA: S102
^^^^^^^^^^^^^^^^^^^^^
File "/workspaces/quibble/doc/source/conf.py", line 6, in <module>
from pkg_resources import get_distribution
ModuleNotFoundError: No module named 'pkg_resources'
The full traceback has been saved in:
/tmp/sphinx-err-fo9ja578.log
To report this error to the developers, please open an issue at <https://github.com/sphinx-doc/sphinx/issues/>. Thanks!
Please also report this if it was a user error, so that a better error message can be provided next time.
doc: exit 2 (0.21 seconds) /workspaces/quibble> sphinx-build -v -W -b html doc/source doc/build/html pid=3987
doc: FAIL code 2 (12.74=setup[12.53]+cmd[0.21] seconds)
evaluation failed :( (12.97 seconds)