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

Backport (#7987) #8005

Conversation

clavedeluna
Copy link
Collaborator

Type of Changes

Type
βœ“ πŸ› Bug fix
βœ“ ✨ New feature
βœ“ πŸ”¨ Refactoring
βœ“ πŸ“œ Docs

Description

Manual backport from this PR #7987

@coveralls
Copy link

coveralls commented Dec 31, 2022

Pull Request Test Coverage Report for Build 3822350789

  • 15 of 25 (60.0%) changed or added relevant lines in 2 files are covered.
  • 14 unchanged lines in 1 file lost coverage.
  • Overall coverage decreased (-0.1%) to 95.178%

Changes Missing Coverage Covered Lines Changed/Added Lines %
pylint/checkers/utils.py 10 20 50.0%
Files with Coverage Reduction New Missed Lines %
pylint/checkers/classes/class_checker.py 14 93.35%
Totals Coverage Status
Change from base Build 3789551874: -0.1%
Covered Lines: 17114
Relevant Lines: 17981

πŸ’› - Coveralls

@Pierre-Sassoulas Pierre-Sassoulas added the Maintenance Discussion or action around maintaining pylint or the dev workflow label Dec 31, 2022
@Pierre-Sassoulas Pierre-Sassoulas added this to the 2.15.10 milestone Dec 31, 2022
@Pierre-Sassoulas
Copy link
Member

The pre-commit error seems genuine but also it seems it might be pre-existing ?

@clavedeluna
Copy link
Collaborator Author

I believe I've cherry-picked the right commit to fix the issue.

@Pierre-Sassoulas
Copy link
Member

The problem with pre-commit will be fixed with DanielNoord/pydocstringformatter#214

@DanielNoord
Copy link
Collaborator

I don't really understand. This issue should have been fixed in a release that was already released and is being used by pre-commit. I'm rerunning the CI.

@DanielNoord DanielNoord closed this Jan 2, 2023
@DanielNoord DanielNoord reopened this Jan 2, 2023
@DanielNoord
Copy link
Collaborator

Ah, we need to cherry pick the pre-commit config as well. The maintenance branch is using 0.7.0 which is indeed broken.

@clavedeluna
Copy link
Collaborator Author

@DanielNoord ok since you know a bit more about what's going on, I'll let you handle any removal of commits here or anything like that.

@DanielNoord
Copy link
Collaborator

@clavedeluna You can just copy the .pre-commit-config.yaml from main to this PR. That should fix it πŸ˜„

@Pierre-Sassoulas
Copy link
Member

Pierre-Sassoulas commented Jan 2, 2023

I've done it (6acd437) but this is not that simple. I think we should release astroid 2.13.0 and pylint 2.16.0. Cherry-picking is not working automatically half the time right now, cherry-picking all the pre-commit upgrade is going to be a lot of work.

@clavedeluna
Copy link
Collaborator Author

Since this is causing so much trouble, I have to ask something that's been on my mind for a few weeks. Is the backporting procedure an absolute necessity for pylint? Could the repo not benefit from always forward-looking release of code? Or what is the great benefit of backporting certain PRs to an already-released minor version? I guess it's to avoid having to tell people to upgrade?

@Pierre-Sassoulas
Copy link
Member

We were doing the "simple version" without cherry-picking at some point, but it means we can't release some time, or we can't merge enhancement some of the time, or we introduce new bugs with each version, or we do not follow semver... Right now the problem we have is that 1189 in astroid is stuck and we did not release for a long time with a lot of change on the main branch since. I'm very close to merging 1189 now and dealing with small comments later.

@Pierre-Sassoulas Pierre-Sassoulas merged commit 1673aa6 into pylint-dev:maintenance/2.15.x Jan 2, 2023
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants