-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Release 2.15.5 #7660
Release 2.15.5 #7660
Conversation
…values inferred (pylint-dev#7627) Add a keyword-only `compare_constants` argument to `safe_infer`.
When the dictionary has served its purpose (making plugin loading pre-and-post init a consistent behaviour), we swap it for bools indicating whether or not a module was loaded. We don't currently use the bools, but it seemed a sensible choice. The main idea is to make the dictionary fully pickle-able, so that when dill pickles the linter for multiprocessing, it doesn't crash horribly. Co-authored-by: Daniël van Noord <[email protected]> Co-authored-by: Marc Mueller <[email protected]>
The script is not doing it properly, I've been manually sorting contributors. tbh I did not find the time to fix it but someone else making the release and having to do the manual sort make the shame sting a little now. If we want to fix this it might be easier to move the additional descriptions to json and then recreate the full file from scratch instead of parsing it each time.
No we don't have too, only if there's duplicate and an error during generation. (i.e. two emails for one person)
I don't really know so I deselected this change because it's less thing to care about when merging the maintenance branch in main later (otherwise we need to revert it manually). |
This command but things you also need to know:
|
👍🏻 I just tested the merging and it seem to work. At least the final diff is as expected. Had to resolve a few conflicts but was fairly strait forward.
Having tested the back-merge, I think it's safe to include the change (in the maintenance branch). It will be resolved during the merge and even if not updated when the
It fine. We can add it to our long ToDo list 😄 I was just confused why it wasn't working / if it was working correctly since I didn't follow the discussions around it. -- I think the release is ready then. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just FYI Daniel suggested to create a backporting merge request and then a subsequent release branch to be able to review the release easily, let's do it next time :)
|
||
- Sort ``--generated-rcfile`` output. | ||
|
||
Refs #7655 (`#7655 <https://github.com/PyCQA/pylint/issues/7655>`_) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When copy pasting the release in github I currently have to remove the link manually (it's rst and github want markdown).
Not exactly sure what you mean. E.g. I needed to redo #7662 to include the merge commit. |
I meant opening a MR for the cherry-picking (backporting) in maintenance/2.15.x and another one for the release (tbump command) in maintenance/2.15.x before the release of 2.15.5. Like for #7591 / #7590. That way it's easier to see what the tbump command did. It's the only thing that really need review at release time (if there wasn't any conflict during cherry-picking). But, this is just a remark for next release: let's not redo everything for the sake of it, I do not mind reviewing everything in batch personally. |
Think I got it now. So separating the backporting PR form the actual release. My impression was that it's easy enough to view just the last commit (the one from tbump) so it wouldn't be necessary. Additionally, IMO it's quite nice to have all commits regarding a patch release in one PR. |
What do you think @DanielNoord ? |
For |
They are large either way. Splitting it into two doesn't reduce the line count. IMO it's fairly easy to separate the changelog and contributor changes during the review with commit ranges. E.g. https://github.com/PyCQA/pylint/pull/7660/files/9c239c2eecb5925a4aabc73423c65eb67fdf151d Creating a second PR is just more work and will make it more difficult later to understand what the actual release was.
That's always an issue with cherry-picking for patch releases since theoretically you could hide something just in the maintenance branch. In the end, I think the best solution here would be to release more often so the diffs are smaller. Besides that only a select few (at the moment maybe we three) should do them at all. Just for reference, this is a PR for a Home Assistant patch release. Note that the last commit / the version bump is included. home-assistant/core#80691 |
Yeah, agreed but this was mainly due to the issues we had with the new changelog, contributor list and copyright notices. We had to rebase and force push many times. In those cases it was much easier to just merge the commits first. I mean if you want to keep doing them like this that is also fine with me of course! |
Description
My first try doing a release 😄
Cherry-picking worked fine. Ran into a few issues with the contributors-txt script and towncrier though.
python3 script/create_contributor_list.py
only adds new contributors to the bottom. Is that correct, are they ordered somehow?python3 script/bump_changelog.py {new_version}
changes the version intowncrier.toml
. Should they be reset? I saw that this wasn't included in previous patch releases.https://github.com/PyCQA/pylint/blob/f324be7de7dd20ac7763954d98d831140c6d5a91/towncrier.toml#L2-L4
Which command do you use to merge the changes into main afterwards? Just
git merge upstream/maintenance/2.15.x
or something else?