summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-attrs_20.3.0.bb
Commit message (Collapse)AuthorAgeFilesLines
* python3-attrs: 20.2.0 -> 20.3.0Leon Anavi2020-11-181-0/+20
Upgrade to release 20.3.0: - attr.define(), attr.frozen(), attr.mutable(), and attr.field() remain provisional. - attr.s() now has a field_transformer hook that is called for all Attributes and returns a (modified or updated) list of Attribute instances. attr.asdict() has a value_serializer hook that can change the way values are converted. Both hooks are meant to help with data (de-)serialization workflows. - kw_only=True now works on Python 2. - raise from now works on frozen classes on PyPy. - attr.asdict() and attr.astuple() now treat frozensets like sets with regards to the retain_collection_types argument. - The type stubs for attr.s() and attr.make_class() are not missing the collect_by_mro argument anymore. Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>