-
-
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
Permit editable install of bleeding edge astroid in bleeding edge pylint #1341
Comments
@Pierre-Sassoulas From your experience how often is the latest |
What happen somewhat often is that a "bug" is fixed in astroid and the pylint test suite needs an adaptation to remove disable for old false positive / fix old false negative and upgrade the test suite. See pylint-dev/pylint#5246 for example. |
Originally we used bleeding edge astroid in pylint, but it means the main branch can break at any time. |
Ah, so the problem is that our CI fails with bleeding edge even though |
Regarding the real breaking changes it should not be a problem. If pylint breaks it means the deprecation period in astroid was too short, or the effort to migrate too slow. It's also true for other libraries relying on astroid so it's a kind of canary in the mine. |
I wonder if we can do something in our workflow file that resets the dependency for astroid to a non bleeding edge without having to manually update the requirement every time we update the astroid requirement 🤔 |
Trying to wrap my head around this, but: |
Imo This could work as |
We can add a comment explaining why we pin like that? |
Steps to reproduce
3.We can't install astroid in editable mode and this is really problematic during development
See discussion with @DanielNoord here
Possible solutions
Con: The bleeding edge astroid is advertising falsely that it's compatible with 2.x but is in fact not
Con: Need to revert the astroid < 2.x+2 when releasing pylint for astroid 2.x
The text was updated successfully, but these errors were encountered: