Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

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

Provide feedback

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

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

gh-145455: Show output of blurb & sphinx-build version commands#145457

Merged
encukou merged 1 commit intopython:mainfrom
encukou:doc-make-show-stderr
Mar 3, 2026
Merged

gh-145455: Show output of blurb & sphinx-build version commands#145457
encukou merged 1 commit intopython:mainfrom
encukou:doc-make-show-stderr

Conversation

@encukou
Copy link
Member

@encukouencukou commentedMar 3, 2026
edited by github-actionsbot
Loading

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, switchblurb to output a version on a single line (--version rather 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/

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.
Copy link
Member

@hugovkhugovk left a 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.

@encukouencukou added 3.11only security fixes 3.10only security fixes 3.12only security fixes labelsMar 3, 2026
@encukou
Copy link
MemberAuthor

Yeah.
But I'd like to wait for slow CI before asking the bot to make backports there.

hugovk reacted with thumbs up emoji

@encukouencukou merged commitf1de65b intopython:mainMar 3, 2026
47 checks passed
@miss-islington-app
Copy link

Thanks@encukou for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14.
🐍🍒⛏🤖 I'm not a witch! I'm not a witch!

@encukouencukou deleted the doc-make-show-stderr branchMarch 3, 2026 10:47
miss-islington pushed a commit to miss-islington/cpython that referenced this pull requestMar 3, 2026
…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>
@bedevere-app
Copy link

GH-145461 is a backport of this pull request to the3.14 branch.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull requestMar 3, 2026
…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>
@bedevere-appbedevere-appbot removed the needs backport to 3.14bugs and security fixes labelMar 3, 2026
@bedevere-app
Copy link

GH-145462 is a backport of this pull request to the3.13 branch.

@bedevere-appbedevere-appbot removed the needs backport to 3.13bugs and security fixes labelMar 3, 2026
encukou added a commit that referenced this pull requestMar 3, 2026
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>
w-hsiung pushed a commit to w-hsiung/cpython that referenced this pull requestMar 3, 2026
…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>
@encukouencukou added needs backport to 3.10only security fixes needs backport to 3.11only security fixes needs backport to 3.12only security fixes labelsMar 4, 2026
@miss-islington-app
Copy link

Thanks@encukou for the PR 🌮🎉.. I'm working now to backport this PR to: 3.10.
🐍🍒⛏🤖

@miss-islington-app
Copy link

Thanks@encukou for the PR 🌮🎉.. I'm working now to backport this PR to: 3.12.
🐍🍒⛏🤖

@miss-islington-app
Copy link

Thanks@encukou for the PR 🌮🎉.. I'm working now to backport this PR to: 3.11.
🐍🍒⛏🤖

@encukouencukou removed 3.11only security fixes 3.10only security fixes 3.12only security fixes labelsMar 4, 2026
@bedevere-app
Copy link

GH-145489 is a backport of this pull request to the3.10 branch.

@bedevere-appbedevere-appbot removed the needs backport to 3.10only security fixes labelMar 4, 2026
@bedevere-app
Copy link

GH-145490 is a backport of this pull request to the3.12 branch.

@bedevere-appbedevere-appbot removed the needs backport to 3.12only security fixes labelMar 4, 2026
@bedevere-app
Copy link

GH-145491 is a backport of this pull request to the3.11 branch.

@bedevere-appbedevere-appbot removed the needs backport to 3.11only security fixes labelMar 4, 2026
miss-islington pushed a commit to miss-islington/cpython that referenced this pull requestMar 4, 2026
…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>
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@hugovkhugovkhugovk approved these changes

@AA-TurnerAA-TurnerAwaiting requested review from AA-TurnerAA-Turner is a code owner

Assignees

No one assigned

Labels

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@encukou@hugovk

[8]ページ先頭

©2009-2026 Movatter.jp