Skip to content

[3.14] gh-145455: Show output of blurb & sphinx-build version commands (GH-145457)#145461

Merged
hugovk merged 1 commit intopython:3.14from
miss-islington:backport-f1de65b-3.14
Mar 3, 2026
Merged

[3.14] gh-145455: Show output of blurb & sphinx-build version commands (GH-145457)#145461
hugovk merged 1 commit intopython:3.14from
miss-islington:backport-f1de65b-3.14

Conversation

@miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Mar 3, 2026

In gh-145455, an outdated dependency caused an import error that was not
printed out (2>&1); the message instead said that the tools are missing.

Don't redirect stderr, to show warnings and failures.

Also, switch blurb to output a version on a single line (--version rather
than help), and, and don't redirect stdout either.
This results in two version info lines being printed out. These get drowned
in typical Sphinx output, and can be helpful when debugging.
(cherry picked from commit f1de65b)

Co-authored-by: Petr Viktorin encukou@gmail.com


📚 Documentation preview 📚: https://cpython-previews--145461.org.readthedocs.build/

…pythonGH-145457)

In pythongh-145455, an outdated dependency caused an import error that was not
printed out (`2>&1`); the message instead said that the tools are missing.

Don't redirect stderr, to show warnings and failures.

Also, switch `blurb` to output a version on a single line (`--version` rather
than `help`), and, and don't redirect stdout either.
This results in two version info lines being printed out. These get drowned
in typical Sphinx output, and can be helpful when debugging.
(cherry picked from commit f1de65b)

Co-authored-by: Petr Viktorin <encukou@gmail.com>
@hugovk hugovk merged commit 85f8073 into python:3.14 Mar 3, 2026
34 checks passed
@miss-islington miss-islington deleted the backport-f1de65b-3.14 branch March 3, 2026 14:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants