-
-
Notifications
You must be signed in to change notification settings - Fork 76
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
chore: Allow flake8 6.x #280
Conversation
Looks like we would need to drop 3.7 support for this to work 😒 |
Codecov Report
@@ Coverage Diff @@
## master #280 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 1 1
Lines 22 22
Branches 4 4
=========================================
Hits 22 22 |
I can do that too |
I really don't know what to do.
|
I am not if there is a way out here as well, most of my apps are on |
It is probably due to |
Ya that was exactly why Happy Thanksgiving! |
Is there any issue with still allowing python 3.7? |
Sound like the best option for me. |
Updated my PR accordingly! |
Why do we need |
I could not figure the exact cause but if you look here, the tests for |
Are you sure that it is a test-only dependency then? |
yes |
Hey @sobolevn - Is there something still blocking this PR? We are blocked across few projects with our Flake8 upgrade because of this |
If you can merge and do a new release, we are also blocked from updating flake8 until this gets released. Also, I would suggest maybe removing the upper bound from the requirement so that this doesn't happen again in the future (maybe not in this PR to avoid taking more time to release it) |
I like the idea of removing the upper bound but also agree that it should be a separate PR to do so. I can create the PR once this merged |
I don't think this is true? Someone correct me if I'm crazy here, but:
So, basically, if we expand the version clamp, it's up to the user to pick if they want to stick with py3.7 and flake8 5.0.4 or bump to py3.8.1+ and flake8 6.0.0, but in either case this should be able to plug into either one because it's not dependent on any specific functionality in flake8 6 or python 3.8.1. Basically, this plugin will have no compatibility problems, and so you should be able to expand compatible versions to flake8 6 |
That is accurate, the current PR incorporates takes this into consideration and does not drop support for |
Hi @sobolevn - Following up on the review of this PR, since its blocking lot of people and projects |
Flake8 plugin removed because of dependency incompatibility. See #704. Once, this gets merged we may consider using it again: wemake-services/flake8-broken-line#280.
This reverts commit 58d8e3c. Ref: wemake-services/flake8-broken-line#280
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.
As mentioned above, this looks correct. Py 3.7 users will still install flake8 v5, while others users can install v6.
I'd probably make it a patch release though (0.6.1) given no code or backwards-compatibility changes have taken place.
Done |
Hey @sobolevn - Reaching out one more time for a review on this PR |
@sobolevn are any updates on this? |
Hey @sobolevn - Reaching out for review again |
Hi @sobolevn - Following up again on this, can you share what's holding this PR to be approved |
Hello @sobolevn - can you please let us know if and when this PR can be accepted? If you need to abandon this plugin altogether, that's also valuable information - then we can consider forking the project to publish a new package to PyPI or look for alternatives. |
Hi @sobolevn - I am planning to fork this project next week and publish a new package, please let us know soon if you plan to support this plugin |
FYI @jashparekh, I decided to switch my pipelines to Ruff https://beta.ruff.rs/docs/rules/. |
Looks like this is superseded by #307 |
flake8
6.0 was recently released: https://flake8.pycqa.org/en/latest/release-notes/6.0.0.html.No breaking change should impact the plugin.
I've kept an upper bound to be consistent with previous changes, but would you consider not setting one? iscinumpy.dev/post/bound-version-constraints is an interesting read on the subject.
Should resolve #281