- Add missing BuildRequires/Suggests on tomli-w.
- 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
OBS-URL: https://build.opensuse.org/request/show/1346332
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cattrs?expand=0&rev=9
Description
No description provided
Languages
RPM Spec
100%