Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork34.2k
gh-145455: Show output of blurb & sphinx-build version commands#145457
gh-145455: Show output of blurb & sphinx-build version commands#145457encukou merged 1 commit intopython:mainfrom
Conversation
Inpythongh-145455, an outdated dependency caused an import error that wasnot printed out(`2>&1`); the message instead said that the tools aremissing.Switch `blurb` to output a version on a single line (`--version` ratherthan `help`), and don't redirect stderr, to show warnings and failures.Also, don't redirect stdout. This results in two extra lines withversion info, which get drowned in typical Sphinx output, and can behelpful when debugging.
hugovk left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Thanks!
I think this is worth backporting to security branches as well.
This first came up in a security branch, and it's more likely for their old dependencies to break, and this fix will help debug.
encukou commentedMar 3, 2026
Yeah. |
f1de65b intopython:mainUh oh!
There was an error while loading.Please reload this page.
Thanks@encukou for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14. |
…pythonGH-145457)Inpythongh-145455, an outdated dependency caused an import error that was notprinted 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` ratherthan `help`), and, and don't redirect stdout either.This results in two version info lines being printed out. These get drownedin typical Sphinx output, and can be helpful when debugging.(cherry picked from commitf1de65b)Co-authored-by: Petr Viktorin <encukou@gmail.com>
GH-145461 is a backport of this pull request to the3.14 branch. |
…pythonGH-145457)Inpythongh-145455, an outdated dependency caused an import error that was notprinted 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` ratherthan `help`), and, and don't redirect stdout either.This results in two version info lines being printed out. These get drownedin typical Sphinx output, and can be helpful when debugging.(cherry picked from commitf1de65b)Co-authored-by: Petr Viktorin <encukou@gmail.com>
GH-145462 is a backport of this pull request to the3.13 branch. |
GH-145457) (GH-145462)Ingh-145455, an outdated dependency caused an import error that was notprinted 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` ratherthan `help`), and, and don't redirect stdout either.This results in two version info lines being printed out. These get drownedin typical Sphinx output, and can be helpful when debugging.(cherry picked from commitf1de65b)Co-authored-by: Petr Viktorin <encukou@gmail.com>
…ommands (pythonGH-145457) (python#145461)pythongh-145455: Show output of blurb & sphinx-build version commands (pythonGH-145457)Inpythongh-145455, an outdated dependency caused an import error that was notprinted 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` ratherthan `help`), and, and don't redirect stdout either.This results in two version info lines being printed out. These get drownedin typical Sphinx output, and can be helpful when debugging.(cherry picked from commitf1de65b)Co-authored-by: Petr Viktorin <encukou@gmail.com>
Thanks@encukou for the PR 🌮🎉.. I'm working now to backport this PR to: 3.10. |
Thanks@encukou for the PR 🌮🎉.. I'm working now to backport this PR to: 3.12. |
Thanks@encukou for the PR 🌮🎉.. I'm working now to backport this PR to: 3.11. |
GH-145489 is a backport of this pull request to the3.10 branch. |
GH-145490 is a backport of this pull request to the3.12 branch. |
GH-145491 is a backport of this pull request to the3.11 branch. |
…pythonGH-145457)Inpythongh-145455, an outdated dependency caused an import error that was notprinted 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` ratherthan `help`), and, and don't redirect stdout either.This results in two version info lines being printed out. These get drownedin typical Sphinx output, and can be helpful when debugging.(cherry picked from commitf1de65b)Co-authored-by: Petr Viktorin <encukou@gmail.com>
Uh oh!
There was an error while loading.Please reload this page.
Ingh-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
blurbto output a version on a single line (--versionrather thanhelp), 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.📚 Documentation preview 📚:https://cpython-previews--145457.org.readthedocs.build/