Skip to content

Regression in Sphinx 8.2.0rc1: sphinx.util.console #13352

@mgeier

Description

@mgeier

Describe the bug

I was importing sphinx and other stuff from sphinx.util.*, but I wasn't importing sphinx.util.console explicitly.

Previously, I could use sphinx.util.console.brown, but with Sphinx v8.2.0rc1 I'm getting:

Traceback
=========

      File "/root/checkout/.venv/lib/python3.13/site-packages/sphinx/events.py", line 415, in emit
        raise ExtensionError(
        ...<4 lines>...
        ) from exc
    sphinx.errors.ExtensionError: Handler <function html_collect_pages at 0x7f7af01e1d00> for event 'html-collect-pages' threw an exception (exception: module 'sphinx.util' has no attribute 'console')

See https://app.circleci.com/pipelines/github/mgeier/nbsphinx/693/workflows/aa4a774c-9793-4109-9f68-d717ea8b4b47/jobs/712

For some reason, I seem to be getting this only on CircleCI.

It might be related to cc8161a

How to Reproduce

see above

Environment Information

see above

Sphinx extensions

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions