Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-attrs for openSUSE:Factory checked in at 2022-01-11 21:17:11 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-attrs (Old) and /work/SRC/openSUSE:Factory/.python-attrs.new.1892 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-attrs" Tue Jan 11 21:17:11 2022 rev:16 rq:945429 version:21.4.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-attrs/python-attrs.changes 2021-06-11 22:29:55.926053068 +0200 +++ /work/SRC/openSUSE:Factory/.python-attrs.new.1892/python-attrs.changes 2022-01-11 21:20:33.601013285 +0100 @@ -1,0 +2,33 @@ +Tue Jan 4 15:32:36 UTC 2022 - Dirk M??ller <dmuel...@suse.com> + +- update to 21.4.0: + * Fixed the test suite on PyPy3.8 where ``cloudpickle`` does not work. + * Fixed ``coverage report`` for projects that use ``attrs`` and don't + set a ``--source``. + * When using ``@define``, converters are now run by default when + setting an attribute on an instance -- additionally to validators. + * ``import attrs`` has finally landed! + * ``attr.asdict(retain_collection_types=False)`` (default) + dumps collection-esque keys as tuples. + * ``__match_args__`` are now generated to support Python 3.10's + * If the class-level *on_setattr* is set to ``attrs.setters.validate`` + (default in ``@define`` and ``@mutable``) but no field defines + a validator, pretend that it's not set. + * The generated ``__repr__`` is significantly faster on Pythons with + f-strings. + * Attributes transformed via ``field_transformer`` are wrapped with + ``AttrsClass`` again. + * Generated source code is now cached more efficiently for identical classes. + * Added ``attrs.converters.to_bool()``. + * ``attrs.resolve_types()`` now resolves types of subclasses after + the parents are resolved. + * Added new validators: ``lt(val)`` (< val), ``le(va)`` (??? val), + ``ge(val)`` (??? val), ``gt(val)`` (> val), and ``maxlen(n)``. + * ``attrs`` classes are now fully compatible with cloudpickle + * Added new context manager ``attrs.validators.disabled()`` and + functions ``attrs.validators.(set|get)_disabled()``. + They deprecate ``attrs.(set|get)_run_validators()``. + All functions are interoperable and modify the same internal state. + They are not ??? and never were ??? thread-safe, though. + +------------------------------------------------------------------- Old: ---- attrs-21.2.0.tar.gz New: ---- attrs-21.4.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-attrs.spec ++++++ --- /var/tmp/diff_new_pack.4IlEVR/_old 2022-01-11 21:20:34.121013651 +0100 +++ /var/tmp/diff_new_pack.4IlEVR/_new 2022-01-11 21:20:34.125013654 +0100 @@ -1,7 +1,7 @@ # # spec file # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -25,8 +25,9 @@ %define psuffix %{nil} %bcond_with test %endif +%global skip_python36 1 Name: python-attrs%{psuffix} -Version: 21.2.0 +Version: 21.4.0 Release: 0 Summary: Attributes without boilerplate License: MIT ++++++ attrs-21.2.0.tar.gz -> attrs-21.4.0.tar.gz ++++++ ++++ 9888 lines of diff (skipped)