-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Building error when trying to create ast representation of module sphinx configuration module (in which we extend a sphinxcontrib-bibtex dataclass) #7418
Comments
@Pierre-Sassoulas This is a release blocker imo. Making a PR to fix this somewhere today! |
Thanks for the report @tyralla! I have deployed a fix and we should release One side note: we advise against upgrading |
(astroid get updated automatically in pylint when we release patch versions, but they usually don't break anything) https://github.com/PyCQA/pylint/blob/3694f4fe58dd7b4d24befcc26794590c9880f731/pyproject.toml#L40 |
@Pierre-Sassoulas @DanielNoord |
@ejolie: you must upgrade astroid (currently 2.12.8), then pylint 2.15.0 does not crash anymore. |
@tyralla Thanks! It works! |
Thank you for the comment, it made me realize I failed at releasing. I released |
Bug description
Since astroid 2.12.6, when parsing the following file:
pylint crashed with a
AstroidBuildingError
and with the following stacktrace:Command used
Pylint output
Expected behavior
No crash (and no useless-suppression and invalid-name false positives, but this is another issue)
Pylint version
OS / Environment
Windows (my computer) and Linux (Travis-CI)
Additional dependencies
sphinx 5.1.1
sphinxcontrib_bibtex 2.4.7
The text was updated successfully, but these errors were encountered: