-
-
Notifications
You must be signed in to change notification settings - Fork 276
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
Handle properties in dataclasses correctly #1897
Handle properties in dataclasses correctly #1897
Conversation
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.
LGTM, but my astroid knowledge is lacking.
What's New in astroid 2.12.14? | ||
============================== | ||
Release date: TBA |
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.
What's New in astroid 2.12.14? | |
============================== | |
Release date: TBA |
Let's release this in 2.13.0. #1189 is almost done.
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.
Would you be okay with me doing a patch release myself? I created quite a bit of regressions (and fixes) with the dataclass refactor. I'd like to get these out quickly as I depend on them in my day-to-day.
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.
Sure, might be the occasion to add the backporting github action to astroid.
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.
I'll leave that decision to you. This one should be fairly trivial to backport.
Steps
Description
Closes pylint-dev/pylint#5225
I intend to create some fixes for dataclasses in
astroid
. I think it makes sense to do a patch release for them as they are small but useful fixes for a feature that gets used more and more.This is also out of self interest: I ran into this at my job 😅
Type of Changes