Skip to content

gh-130197: Test pygettext output option #133041

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
May 1, 2025

Conversation

StanFromIreland
Copy link
Contributor

@StanFromIreland StanFromIreland commented Apr 27, 2025

@bedevere-app bedevere-app bot added awaiting review tests Tests in the Lib/test dir labels Apr 27, 2025
@bedevere-app bedevere-app bot mentioned this pull request Apr 27, 2025
18 tasks
Copy link
Member

@tomasr8 tomasr8 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's actually a bit strange that an input file is not required.. maybe it should?

@StanFromIreland
Copy link
Contributor Author

It should, and output should only be generated if there are msgids, but that is beyond the scope of the pr. I can open an issue for the discussion of this.

@tomasr8
Copy link
Member

tomasr8 commented Apr 27, 2025

that is beyond the scope of the pr

Definitely, I just found it surprising looking at the test and wondering where the input file is 😄

I think the input file should be required, could you open an issue?

@StanFromIreland

This comment was marked as resolved.

@tomasr8
Copy link
Member

tomasr8 commented Apr 27, 2025

How is it broken? It outputs to stdout, no?

@StanFromIreland

This comment was marked as resolved.

@StanFromIreland StanFromIreland requested a review from tomasr8 April 27, 2025 15:27
@serhiy-storchaka serhiy-storchaka merged commit e5e51bd into python:main May 1, 2025
42 checks passed
@miss-islington-app
Copy link

Thanks @StanFromIreland for the PR, and @serhiy-storchaka for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13.
🐍🍒⛏🤖

@StanFromIreland StanFromIreland deleted the test-output branch May 1, 2025 16:30
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request May 1, 2025
(cherry picked from commit e5e51bd)

Co-authored-by: Stan Ulbrych <[email protected]>
@bedevere-app
Copy link

bedevere-app bot commented May 1, 2025

GH-133266 is a backport of this pull request to the 3.13 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.13 bugs and security fixes label May 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting merge skip news tests Tests in the Lib/test dir
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants