Add infra for testing release build CI before a real release #29
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What are you trying to accomplish?
Another step towards building #26.
We release so infrequently that there's almost always something that with our release workflow has broken due to "bit rot". This PR aims to add a mechanism for testing the release workflow before performing an actual release.
What approach did you choose and why?
Originally, I wanted this workflow test to occur with the creation of a Draft Release in the GitHub UI. Unfortunately, the
release
event is not fired for draft releases, so instead I had to use a manualworkflow_dispatch
event.I've documented the new process for releasing
backports.datetime_fromisoformat
indocs/RELEASING.md
. At a high level:pyproject.toml
and add an entry to CHANGELOGpublish
workflow with the version in pyproject.tomlI've added these steps into a new
docs/RELEASING.md
document.What should reviewers focus on?
🤷♂️ Whatever you'd like.
The impact of these changes
Hopefully, we'll get to a point where we can run the workflow as many times as we want as tests, creating only "developmental releases" on PyPI, before we actually release to PyPI.