Commit Graph

1 Commits

Author SHA1 Message Date
Leon Anavi
bfe0635588 python3-attrs: Upgrade 19.3.0 -> 20.1.0
Upgrade to release 20.1.0:

- Python 3.4 is not supported anymore.
- Added attr.resolve_types(). It ensures that all
  forward-references and types in string form are resolved
  into concrete types.
- Added @attr.s(collect_by_mro=False) argument that if set to
  True fixes the collection of attributes from base classes.
- On Python 3, all generated methods now have a docstring
  explaining that they have been created by attrs.
- Fixed a ValueError: Cell is empty bug that could happen in some
  rare edge cases.
- Added attr.converters.pipe(). The feature allows combining
  multiple conversion callbacks into one by piping the value
  through all of them, and retuning the last result.
- Provisionally added attr.field() that supplants attr.ib().

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>
2020-08-25 10:34:00 -07:00