-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Updating Release Process documentation based on 18.0 release experience #5633
Comments
Here's a non-wordy, not-polished way of mentioning the approach I took for the steps releasing pip. If this looks good to @pypa/pip-committers, I'll be happy to update the Release Process documentation to mention all these details, with commands (after #5526).
|
FWIW, I never bothered creating a PR, and I just manually merged into That also means we don't have to "lock" the Skipping x2 PRs, and keeping everything local until the very end makes the whole thing easier. |
The alternative of doing everything offline works well since we get to ensure there's no possibility of human error. However, since we require status checks to be passing for master, I don't know if simply pushing to master would work. I somehow remember @pfmoore had mentioned that he couldn't do so during 10.0 -- so I didn't explore if that's possible. |
I'm going to try it now; with a trivial NEWS fragment. I doubt it'd work though. |
I preferred the process of making a PR, simply because it felt "safer" to me. But having said that, I was pretty firmly sending out "please don't merge anything, I'm going into release mode" messages leading up to the release, and I didn't really mind the CI waits. I think it's OK to have this left as a choice for whoever does the release. On the question of communications, I do think that we should do more in the way of pre-release comms. I'm biased because with pip 10 I did a lot of that beforehand, but while I'm fine with the "what's on master is what gets released" principle, I think we should give 3rd party contributors a bit of warning that their PRs need to be sorted or they are facing a 3 month wait for the next chance (I'm thinking in particular of #5571 here, but it's true in general). Again, I did a lot of herding of PRs for pip 10, and that level of work isn't sustainable, but we could probably manage a bit more "this has a week before the release, we need X, Y and Z if it's not to get left till the next release in 3 months". Specifically on things that are on the current milestone (so we've set an expectation). But this is all pretty minor. I think this release went very well and more notes on how to keep it this smooth would be great. |
The error line is in red. :P |
Basically, pushing to master isn't something that can be done without disabling the status checks. |
We can change access to master in https://github.com/pypa/pip/settings/branches/master. I'm personally fine if we need an RM modify that to "lock" for release though. |
I'm personally inclined to just leave it up to the RM how they prefer to work it, I don't think this is something we need to overthink. |
We can skip a discussion on branching if that's what we want. I do prefer we mention an approach there that's not as time consuming. :) Regardless, we'd still need to update the order (bump version before generating NEWS) and update file names (it refers to CHANGES.txt right now). |
(this isn't strictly about automation but I guess there's some points here that might be helpful during automation) |
I'm happy with what the section looks like now. I'm going to go ahead and close this issue. |
If there's anything else to be done here; we can take that up as it comes up. :) |
As I said in #5516, I've made notes about things that caught my eye. I figure that pip's release notes should be updated to mention some of these details.
Click to see notes
(summary/description) since towncrier simply adds the issue number
at the end of the full string and not the summary line.
CHANGES.txt
to updatetravis-ci/push
CIcheck since we only merge PRs and pushes don't need to be required for
merging them.
pressed on password prompt.
The text was updated successfully, but these errors were encountered: