Skip to content
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

Pause in prepare-release for updating the NEWS file #12764

Merged
merged 1 commit into from
Jun 12, 2024

Conversation

pradyunsg
Copy link
Member

@pradyunsg pradyunsg commented Jun 12, 2024

This enables making fixes to the NEWS file to fix issues prior to moving
forward with the rest of the release process.

x-ref #12509

This enables making fixes to the NEWS file to fix issues prior to moving
forward with the rest of the release process.
@pradyunsg pradyunsg added the skip news Does not need a NEWS file entry (eg: trivial changes) label Jun 12, 2024
Copy link
Member

@sbidoul sbidoul left a comment

Choose a reason for hiding this comment

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

Sweet.

@@ -294,6 +294,11 @@ def prepare_release(session: nox.Session) -> None:

session.log("# Generating NEWS")
release.generate_news(session, version)
if sys.stdin.isatty():
input(
"Please review the NEWS file, make necessary edits, and stage them.\n"
Copy link
Member

Choose a reason for hiding this comment

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

How about

Suggested change
"Please review the NEWS file, make necessary edits, and stage them.\n"
"Please review the NEWS file, make necessary edits, and stage them (`git add NEWS.rst`).\n"

?

Or the script could even run it unconditionally in this branch..

Copy link
Member Author

Choose a reason for hiding this comment

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

Or the script could even run it unconditionally in this branch..

Let's do this in a follow up!

@pradyunsg pradyunsg merged commit d94806f into pypa:main Jun 12, 2024
21 of 29 checks passed
@pradyunsg pradyunsg deleted the pause-prepare-release-for-news-edits branch June 12, 2024 19:53
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 28, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
skip news Does not need a NEWS file entry (eg: trivial changes)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants