-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
pre-commit: flake8 dependency conflict #7435
Comments
At this moment, there is also another ongoing pre-commit issue PyCQA/isort#2083 |
This is not a Poetry issue, this is caused by the specified compatibility of the projects in question. Pre-commit and pip are installing the projects here, what makes you think Poetry is involved? |
It might be upstream issue, but until flake8-eradicate bumps their flake8 dependency, installing pre-commit environment for poetry contributors is going to be broken. |
Hm, this already happens: poetry/.pre-commit-config.yaml Lines 83 to 88 in cb17220
|
Ah. So, isort is locked to broken 5.11.4, issue I linked in previous comment PyCQA/isort#2083 . |
Solved by bumping isort. |
isort was updated in 68770a6, this can be closed (though the same presumably needs to happen in poetry-core and maybe others) |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Poetry version: 1.4.0-dev0
Python version: python3.11
OS version and name: any
install pre-commit-hook
clear pre-commit cache
rm -rf ~/.cache/pre-commit
run
pre-commit run
Issue
Installing pre-commit environment fails with a dependency conflict. Flake8 is now at 6.0.0 but flake8-eradicate-1.4.0 requires <6
wemake-services/flake8-eradicate#269
A fix PR has been waiting for merge for a while.
wemake-services/flake8-eradicate#271
The text was updated successfully, but these errors were encountered: