Skip to content

Fix docs, pkg_resources not found#231

Open
sdarwin wants to merge 1 commit into
boostorg:developfrom
sdarwin:feature/docs3
Open

Fix docs, pkg_resources not found#231
sdarwin wants to merge 1 commit into
boostorg:developfrom
sdarwin:feature/docs3

Conversation

@sdarwin

@sdarwin sdarwin commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

Building boost docs on Ubuntu 26.04 Sphinx 9.1.0.
pkg_resources is no longer available.
I tested the current pipeline and the modification seems to be compatible.

Error:

None.
Loaded Extensions
# None.
Traceback
      File "/opt/venvboostdocs/lib/python3.14/site-packages/sphinx/config.py", line 611, 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 "/opt/venvboostdocs/lib/python3.14/site-packages/sphinx/config.py", line 596, in eval_config_file
        exec(code, namespace) # NoQA: S102
        ~~~~^^^^^^^^^^^^^^^^^
      File "/opt/boostorg/boost-root/libs/hof/doc/conf.py", line 27, in <module>
        from pkg_resources import parse_version
    ModuleNotFoundError: No module named 'pkg_resources'
The full traceback has been saved in:
/tmp/sphinx-err-64pd5pq1.log

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

Successfully merging this pull request may close these issues.

1 participant