-
-
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
Drop support for Python 3.7 #2137
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #2137 +/- ##
==========================================
- Coverage 92.74% 92.16% -0.59%
==========================================
Files 94 94
Lines 11001 10908 -93
==========================================
- Hits 10203 10053 -150
- Misses 798 855 +57
Flags with carried forward coverage won't be shown. Click here to find out more.
|
I'd be in favour of |
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 wanted to support 3.7 until the end, but on the other hand releasing astroid/pylint 3.0 and then immediately removing support is not ideal either (the last version could be half broken). flake8 dropped 3.7 months ago, but ruff is still supporting it. Would dropping python 3.7 right now would make our life that much easier ?
It removes a dependency and a lot of if statements. We can also require |
Releasing astroid 3.0 make sense too. The lambda/function def change is impactful and does break compatibility with old version of pylint. I have no problem in doing a "early 2000 firefox" and release a lot of major each time we want to break things. |
Then let's go ahead with this one then?
I think we should still try to bundle breaking changes at least as far as we can. To make it easier for us though, we could release alpha / beta versions for each new "area" of breaking changes. Those could then be pinned in |
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.
So the plan is to:
- drop python 3.7 in astroid
- Move all the issues from astroid 2.16.0 in astroid 3.0,
- Release astroid 3.0.0a0
- drop python 3.7 in pylint main branch
- Release astroid 3.0.0 once it works in pylint and we're sure of the breaking changes we did
- Release pylint 3.0.0b1
Right ?
Agree with both of you. The earlier we release an alpha we can spot mistakes I made with the current breaking changes. It is hard to know what is wrong or good with the minimal security of the astroid test suite currrently. Release plan also sounds good! |
I would modify that a bit:
|
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 would only argue that this should be at the top of our changelog for the 3.x
version. Rest LGTM! Thanks @cdce8p
Description
Similar to pylint-dev/pylint#8609
EOL for Python 3.7 is 2023-06-27.
2.16.0
already includes a lot of (unintentional) breaking changes. We might as well include this one too.Maybe even do
3.0.0
instead?