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

Post pylint 3.0.3 #9297

Closed
wants to merge 1 commit into from
Closed

Post pylint 3.0.3 #9297

wants to merge 1 commit into from

Conversation

jacobtylerwalls
Copy link
Member

@jacobtylerwalls jacobtylerwalls commented Dec 11, 2023

No description provided.

@jacobtylerwalls jacobtylerwalls changed the title Post pylint-3.0.3 Post-pylint 3.0.3 Dec 11, 2023
@jacobtylerwalls jacobtylerwalls changed the title Post-pylint 3.0.3 Post pylint 3.0.3 Dec 11, 2023
@jacobtylerwalls jacobtylerwalls added Maintenance Discussion or action around maintaining pylint or the dev workflow Skip news 🔇 This change does not require a changelog entry labels Dec 11, 2023
Copy link

codecov bot commented Dec 11, 2023

Codecov Report

Merging #9297 (39cfcc8) into main (47410ad) will not change coverage.
The diff coverage is n/a.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #9297   +/-   ##
=======================================
  Coverage   95.81%   95.81%           
=======================================
  Files         173      173           
  Lines       18767    18767           
=======================================
  Hits        17981    17981           
  Misses        786      786           

Copy link
Member

@Pierre-Sassoulas Pierre-Sassoulas left a comment

Choose a reason for hiding this comment

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

Shouldn't this be a merge of the maintenance branch containing all the commit from maintenance/3.0.x ?

@jacobtylerwalls
Copy link
Member Author

I rebased them out, was that wrong? I also had to manually delete the change log files.

@Pierre-Sassoulas
Copy link
Member

We need to actually merge due to pre-commit autoupdate that do not understand what the latest version is otherwise. (Not much details in the doc but it's here: https://pylint.readthedocs.io/en/stable/development_guide/contributor_guide/release.html#releasing-a-patch-version). There's a lot of small conflicts and subtlety to handle each time, I usually freeze the main branch (do not merge something else in the meantime) and do a git diff origin/main during the mandatory 3 merge conflicts on versions before git merge --continue. It permits to check that the diff to main make sense and have a single merge commit. (Especially since we'll need to merge later so fixup commit would be visible)

@jacobtylerwalls
Copy link
Member Author

Yeah, I did see that in the docs and did want to be conscious of this. What I didn't grok is that (and let me know if I have this right) is that there needs to be a commit before this one on main that sets the 3.0.x patch version). Sounds like this merge request we're discussing now would then have two commits.

If I include all the older commits, which I did in 4255774, you see that the diff is exactly the same after the force-push to ffff974, other than needing to remove the deleted changelog fragments. The "compare" button shows this.

It permits to check that the diff to main make sense and have a single merge commit. (Especially since we'll need to merge later so fixup commit would be visible)

I didn't follow this part; the diff is actually a lot worse if you leave the older commits in. It's confused us before, although I can't find the PR where we discussed it.

@jacobtylerwalls
Copy link
Member Author

We should add an instruction to release.rst to go through and manually delete the changelog fragments. I just started attempting this from scratch and they still weren't picked up when merging maintenance into main.

@jacobtylerwalls
Copy link
Member Author

(I'll do it the classic way in another MR so we can unblock things.)

@jacobtylerwalls jacobtylerwalls deleted the post-3.0.3 branch December 11, 2023 14:58
@Pierre-Sassoulas
Copy link
Member

Pierre-Sassoulas commented Dec 11, 2023

It's voluntary to duplicate the fragment in 3.0.3 and 3.1.0 (Can't find the rational but it was around the time #7362 was opened) #7426 (comment) (edit: but there's no rational)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Maintenance Discussion or action around maintaining pylint or the dev workflow Skip news 🔇 This change does not require a changelog entry
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants