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 2026-04-13 23:18:56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-cattrs (Old) and /work/SRC/openSUSE:Factory/.python-cattrs.new.21863 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-cattrs" Mon Apr 13 23:18:56 2026 rev:9 rq:1346332 version:26.1.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-cattrs/python-cattrs.changes 2025-11-18 15:35:40.284893980 +0100 +++ /work/SRC/openSUSE:Factory/.python-cattrs.new.21863/python-cattrs.changes 2026-04-13 23:19:52.302563129 +0200 @@ -1,0 +2,40 @@ +Mon Apr 13 05:03:09 UTC 2026 - Steve Kowalik <[email protected]> + +- Add missing BuildRequires/Suggests on tomli-w. + +------------------------------------------------------------------- +Fri Apr 3 12:55:44 UTC 2026 - Dirk Müller <[email protected]> + +- update to 26.1.0: + * Add the {mod}`tomllib <cattrs.preconf.tomllib>` preconf + converter. + * Customizing un/structuring of _attrs_ classes, dataclasses, + TypedDicts and dict NamedTuples is now possible by using + `Annotated[T, override()]` on fields. + * Fix structuring of nested generic classes with stringified + annotations. + * Python 3.9 is no longer supported, as it is end-of-life. Use + previous versions on this Python version. + * Apply the attrs converter to the default value before + checking if it is equal to the attribute's value, when + `omit_if_default` is true and an attrs converter is + specified. + * Use the optional `_value_` type hint to structure and + unstructure enums if present. + * Aliases (when in use) now properly generate rename metadata + in generated hooks. + * _cattrs_ now tracks performance using codspeed. + * The {mod}`tomlkit <cattrs.preconf.tomlkit>` preconf converter + now properly handles native `date` objects when structuring. + * The {mod}`tomlkit <cattrs.preconf.tomlkit>` preconf converter + now passes date objects directly to _tomlkit_ for + unstructuring. + * Enum handling has been optimized by switching to hook + factories, improving performance especially for plain enums. + * Fix {func}`cattrs.strategies.include_subclasses` when used + with {func}`cattrs.strategies.configure_tagged_union` and + classes using diamond inheritance. + * Fix {func}`cattrs.strategies.configure_tagged_union` when + used with recursive type aliases. + +------------------------------------------------------------------- Old: ---- cattrs-25.3.0.tar.gz New: ---- cattrs-26.1.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-cattrs.spec ++++++ --- /var/tmp/diff_new_pack.8zBPP3/_old 2026-04-13 23:19:52.830584924 +0200 +++ /var/tmp/diff_new_pack.8zBPP3/_new 2026-04-13 23:19:52.830584924 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-cattrs # -# Copyright (c) 2025 SUSE LLC and contributors +# Copyright (c) 2026 SUSE LLC and contributors # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,47 +18,48 @@ %{?sle15_python_module_pythons} Name: python-cattrs -Version: 25.3.0 +Version: 26.1.0 Release: 0 Summary: Composable complex class support for attrs and dataclasses License: MIT URL: https://github.com/python-attrs/cattrs Source: https://files.pythonhosted.org/packages/source/c/cattrs/cattrs-%{version}.tar.gz -BuildRequires: %{python_module base >= 3.9} +BuildRequires: %{python_module base >= 3.10} BuildRequires: %{python_module hatch-vcs} BuildRequires: %{python_module hatchling} BuildRequires: %{python_module pip} BuildRequires: python-rpm-macros # SECTION test requirements -BuildRequires: %{python_module attrs >= 25.4} -BuildRequires: %{python_module PyYAML} -BuildRequires: %{python_module cbor2} -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} -BuildRequires: %{python_module pytest} -BuildRequires: %{python_module tomlkit} -BuildRequires: %{python_module typing_extensions >= 4.14} -BuildRequires: %{python_module ujson} +BuildRequires: %{python_module attrs >= 25.4.0} +BuildRequires: %{python_module PyYAML >= 6.0} +BuildRequires: %{python_module cbor2 >= 5.4.6} +BuildRequires: %{python_module hypothesis >= 6.135.26} +BuildRequires: %{python_module immutables >= 0.21} +BuildRequires: %{python_module msgpack >= 1.0.5} +BuildRequires: %{python_module msgspec >= 0.19.0} +BuildRequires: %{python_module orjson >= 3.11.3} +BuildRequires: %{python_module pymongo >= 4.4.0} +BuildRequires: %{python_module pytest >= 8.4.1} +BuildRequires: %{python_module pytest-benchmark >= 5.1.0} +BuildRequires: %{python_module tomli-w >= 1.1.0} +BuildRequires: %{python_module tomlkit >= 0.11.8} +BuildRequires: %{python_module typing_extensions >= 4.14.0} +BuildRequires: %{python_module ujson >= 5.10.0} # /SECTION BuildRequires: fdupes -Requires: python-attrs >= 25.4 +Requires: python-attrs >= 25.4.0 %if %python_version_nodots < 311 Requires: python-exceptiongroup >= 1.1.1 %endif -Requires: python-typing_extensions >= 4.14 -Suggests: python-cbor2 -Suggests: python-ujson -Suggests: python-orjson -Suggests: python-msgpack -Suggests: python-PyYAML -Suggests: python-tomlkit -Suggests: python-cbor2 -Suggests: python-pymongo +Requires: python-typing_extensions >= 4.14.0 +Suggests: python-cbor2 >= 5.4.6 +Suggests: python-ujson >= 5.10.0 +Suggests: python-orjson >= 3.11.3 +Suggests: python-msgpack >= 1.0.5 +Suggests: python-PyYAML >= 6.0 +Suggests: python-tomlkit >= 0.11.8 +Suggests: python-tomli-w >= 1.1.0 +Suggests: python-pymongo >= 4.4.0 BuildArch: noarch %python_subpackages ++++++ cattrs-25.3.0.tar.gz -> cattrs-26.1.0.tar.gz ++++++ ++++ 3234 lines of diff (skipped)
