Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-cattrs for openSUSE:Factory checked in at 2024-10-29 14:35:40 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-cattrs (Old) and /work/SRC/openSUSE:Factory/.python-cattrs.new.2020 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-cattrs" Tue Oct 29 14:35:40 2024 rev:5 rq:1218887 version:24.1.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-cattrs/python-cattrs.changes 2024-04-08 17:52:24.870001033 +0200 +++ /work/SRC/openSUSE:Factory/.python-cattrs.new.2020/python-cattrs.changes 2024-10-29 14:36:09.840051589 +0100 @@ -1,0 +2,34 @@ +Mon Oct 28 22:38:02 UTC 2024 - Dirk Müller <dmuel...@suse.com> + +- update to 24.1.2: + * Fix {meth}`BaseConverter.register_structure_hook` and + {meth}`BaseConverter.register_unstructure_hook` type hints. + * Fix {meth}`BaseConverter.register_structure_hook_factory` and + {meth}`BaseConverter.register_unstructure_hook_factory` type + hints. + * **Potentially breaking**: Unstructuring hooks for + `typing.Any` are consistent now: values are unstructured + using their runtime type. + * Introduce {meth}`BaseConverter.get_structure_hook` and + {meth}`BaseConverter.get_unstructure_hook` methods. + * Enhance the {func}`cattrs.cols.is_mapping` predicate function + to also cover virtual subclasses of `abc.Mapping`. + * Introduce the _msgspec_ {mod}`preconf converter + <cattrs.preconf.msgspec>`. + * Add support for PEP 695 type aliases. + * Add support for PEP 696 `TypeVar`s with defaults. + * Add support for named tuples with type metadata + (`typing.NamedTuple`). + * Add support for optionally un/unstructuring named tuples + using dictionaries. + * PEP 695 generics are now tested. + * Imports are now sorted using Ruff. + * Tests are run with the pytest-xdist plugin by default. + * Rework the introductory parts of the documentation, + introducing the Basics section. + * The documentation has been significantly reworked. + * The docs now use the Inter font. + * Make type annotations for `include_subclasses` and + `tagged_union` strategies more lenient. + +------------------------------------------------------------------- Old: ---- cattrs-23.2.3.tar.gz New: ---- cattrs-24.1.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-cattrs.spec ++++++ --- /var/tmp/diff_new_pack.TbO8dT/_old 2024-10-29 14:36:10.300070707 +0100 +++ /var/tmp/diff_new_pack.TbO8dT/_new 2024-10-29 14:36:10.300070707 +0100 @@ -18,7 +18,7 @@ %{?sle15_python_module_pythons} Name: python-cattrs -Version: 23.2.3 +Version: 24.1.2 Release: 0 Summary: Composable complex class support for attrs and dataclasses License: MIT @@ -37,6 +37,7 @@ BuildRequires: %{python_module hypothesis} BuildRequires: %{python_module immutables} BuildRequires: %{python_module msgpack >= 1.0.2} +BuildRequires: %{python_module msgspec} BuildRequires: %{python_module orjson} BuildRequires: %{python_module pymongo} BuildRequires: %{python_module pytest-benchmark} ++++++ cattrs-23.2.3.tar.gz -> cattrs-24.1.2.tar.gz ++++++ ++++ 13121 lines of diff (skipped)