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
Sphinx extensions
Additional context
No response
Describe the bug
I was importing
sphinxand other stuff fromsphinx.util.*, but I wasn't importingsphinx.util.consoleexplicitly.Previously, I could use
sphinx.util.console.brown, but with Sphinx v8.2.0rc1 I'm getting: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
Sphinx extensions
Additional context
No response