Skip to content

Conversation

@rgommers
Copy link
Member

  • Updates all the release docs for the change to the numpy-release repo
  • Makes any other updates to the release docs to bring it up to date

Closes gh-29462

`pavement.py` was recently removed, and the replacement no longer needs
a manual change.

The git version no longer depends on `.dev0` tags, so remove that note.
However, keep adding those tags, because why not - it's useful to
navigate to the start of the development for a release series.
$ git commit --allow-empty -m'REL: Begin NumPy 1.22.0 development'
$ git commit --allow-empty -m'REL: Begin NumPy 2.4.0 development'
$ git push upstream HEAD

Copy link
Member

Choose a reason for hiding this comment

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

I've changed this in practice, but not yet here. I just make it an ordinary PR, when it goes in marks the beginning of new development. I did that because pushing directly to the branch bothers me, and a PR is more flexible. I can make those modifications after this goes in.

I also use that PR to set the development version in pyproject.toml, which is all that is needed since I removed pavement.py and put write_release in tools.

Copy link
Member Author

Choose a reason for hiding this comment

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

Want me to change it here?

Copy link
Member

Choose a reason for hiding this comment

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

No, I need to think a bit to recall exactly what I did last time. I also included the other stuff needed, it was #29019.

Copy link
Member

Choose a reason for hiding this comment

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

It was a bit of an experiment, but I think it was an improvement.

This needs to be done after all installers are downloaded, but before the pavement
file is updated for continued development::

$ python write_release 2.1.0
Copy link
Member

Choose a reason for hiding this comment

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

I'll add this back as python tools/write_release 2.4.0 as it translates the release notes into Markdown.

filenames and sizes look as expected. If desired, you can also download an
artifact for local unzipping and inspection. You will get an email notification
as well with a "Review pending deployments" link. Once you're ready, press the
button to start the uploads to PyPI, which will complete the release.
Copy link
Member

Choose a reason for hiding this comment

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

Which button?

Copy link
Member Author

Choose a reason for hiding this comment

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

I can't recreate the popup with the exact text right now without running a new deployment, but it's something like "Approve deployment". There's only one button that shows up once you follow "Review pending deployments".

How about I tweak the text to say "Once you're done reviewing, press the "Approve deployment" button to start ..." and then if it's not 100% accurate, you can make it more accurate when you use these instructions for 2.4.0?

Copy link
Member

Choose a reason for hiding this comment

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

Sounds good. This is a living document :)

@charris
Copy link
Member

charris commented Sep 10, 2025

Looks generally good. I'll update the walkthroughs a bit more if needed after this goes in.

@charris charris merged commit 1c553e7 into numpy:main Sep 10, 2025
78 checks passed
@charris
Copy link
Member

charris commented Sep 10, 2025

Thanks Ralf. I'll work on the two walkthroughs.

@rgommers rgommers deleted the docs-releasing branch September 11, 2025 09:15
@rgommers
Copy link
Member Author

Sounds good, thanks Chuck

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

REL: review the numpy-release repo and switch over to that for releases

2 participants