← 返回首页
[3.14] gh-145455: Show output of blurb & sphinx-build version commands (GH-145457) by miss-islington · Pull Request #145461 · python/cpython · GitHub
Skip to content

Navigation Menu

Toggle navigation
Sign in
Appearance settings
Search or jump to...

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Include my email address so I can be contacted

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Resetting focus

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

Merged
hugovk merged 1 commit into
python: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 into
python:3.14from
miss-islington:backport-f1de65b-3.14

Conversation

Copy link
Copy Markdown
Contributor

miss-islington commented Mar 3, 2026
edited by github-actions Bot
Loading

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>
Hide details View details hugovk merged commit 85f8073 into python:3.14 Mar 3, 2026
34 checks passed
miss-islington deleted the backport-f1de65b-3.14 branch March 3, 2026 14:16
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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

Footer

© 2026 GitHub, Inc.