]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-145455: Show output of blurb & sphinx-build version commands (GH-145457...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 3 Mar 2026 13:25:13 +0000 (14:25 +0100)
committerGitHub <noreply@github.com>
Tue, 3 Mar 2026 13:25:13 +0000 (14:25 +0100)
commit0a239ddd39d2824c34ae34ccfff528af1c296bae
tree6da995c89ac5da95553969e8452088ec92f50b36
parent182a39799d2501121138cb79b47d6bea7186f7e2
[3.13] gh-145455: Show output of blurb & sphinx-build version commands (GH-145457) (GH-145462)

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 f1de65b3669226d563802a32b78a2294e971151a)

Co-authored-by: Petr Viktorin <encukou@gmail.com>
Doc/Makefile