summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-astroid_2.11.0.bb
Commit message (Collapse)AuthorAgeFilesLines
* python3-astroid: upgrade 2.11.0 -> 2.11.2Wang Mingyu2022-03-301-32/+0
| | | | | | Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
* python3-astroid: upgrade 2.10.0 -> 2.11.0Wang Mingyu2022-03-171-0/+32
Changelog: ========= Add new (optional) doc_node attribute to nodes.Module, nodes.ClassDef, and nodes.FunctionDef. Accessing the doc attribute of nodes.Module, nodes.ClassDef, and nodes.FunctionDef has been deprecated in favour of the doc_node attribute. Note: doc_node is an (optional) nodes.Const whereas doc was an (optional) str. Passing the doc argument to the __init__ of nodes.Module, nodes.ClassDef, and nodes.FunctionDef has been deprecated in favour of the postinit doc_node attribute. Note: doc_node is an (optional) nodes.Const whereas doc was an (optional) str. Replace custom cachedproperty with functools.cached_property and deprecate it for Python 3.8+. Closes #1410 Set end_lineno and end_col_offset attributes to None for all nodes with PyPy 3.8. PyPy 3.8 assigns these attributes inconsistently which could lead to unexpected errors. Overwriting them with None will cause a fallback to the already supported way of PyPy 3.7. Add missing shape parameter to numpy zeros_like, ones_like, and full_like methods. Closes PyCQA/pylint#5871 Only pin wrapt on the major version. Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: tgamblin <trevor.gamblin@windriver.com>