Error AttributeError: 'ClassDef' object has no attribute 'value'
in astroid>=2.12
#1848
Labels
AttributeError: 'ClassDef' object has no attribute 'value'
in astroid>=2.12
#1848
Steps to reproduce
When building docs on ReadTheDocs with
sphinx-autoapi
andastroid>=2.12
, the following error is displayed.Reverting to
astroid<=2.11
does not produce the same error.Looking at https://github.com/PyCQA/astroid/blob/main/ChangeLog,
2.12.x
miggles with caching and the namedtuple which looks to be the starting problem of the traceback. It also seems strongly related to #1489 and maybe #1490 as well.The project being built in this case is https://github.com/Ouranosinc/Magpie for reference, but I'm not sure exactly which part leads to the raised error. Original issue posted in readthedocs/sphinx-autoapi#349.
Current behavior
Full pip install log for version references as needed:
Expected behavior
No error.
python -c "from astroid import __pkginfo__; print(__pkginfo__.version)"
outputAny
2.12.x
version.The text was updated successfully, but these errors were encountered: