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 2025-11-18 15:33:32
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-cattrs (Old)
 and      /work/SRC/openSUSE:Factory/.python-cattrs.new.2061 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-cattrs"

Tue Nov 18 15:33:32 2025 rev:8 rq:1318119 version:25.3.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-cattrs/python-cattrs.changes      
2025-05-08 18:26:06.327295481 +0200
+++ /work/SRC/openSUSE:Factory/.python-cattrs.new.2061/python-cattrs.changes    
2025-11-18 15:35:40.284893980 +0100
@@ -1,0 +2,55 @@
+Mon Nov 17 02:10:39 UTC 2025 - Steve Kowalik <[email protected]>
+
+- Update to 25.3.0:
+  * Potentially breaking: Abstract sets are now structured into frozensets.
+  * Python 3.14 is now supported and part of the test matrix.
+  * Fix unstructuring NewTypes with the {class}BaseConverter.
+  * Make some Hypothesis tests more robust.
+  * {func}cattrs.strategies.include_subclasses now works with generic parent
+    classes and the tagged union strategy.
+  * Potentially breaking: Sequences are now structured into tuples.
+  * Add a use_alias parameter to cattrs.Converter.
+  * The union passthrough strategy now by default accepts ints for unions
+    that contain floats but not ints, when configured to be able to handle
+    both ints and floats. This more closely matches the current typing
+    behavior.
+  * Fix unstructuring of generic classes with stringified annotations.
+  * The default disambiguation hook factory is now only enabled for
+    converters with unstructure_strat=AS_DICT (the default).
+  * Switch to uv and just in lieu of PDM, tox and Make.
+  * Fixed AttributeError: no attribute '__parameters__' while structuring
+    attrs classes that inherit from parametrized generic aliases from
+    collections.abc.
+  * Potentially breaking: The converters raise StructureHandlerNotFoundError
+    more eagerly (on hook creation, instead of on hook use). This helps
+    surfacing problems with missing hooks sooner.
+  * typing.Self is now supported in attrs classes, dataclasses, TypedDicts
+    and the dict NamedTuple factories. See typing.Self for details.
+  * PEP 695 type aliases can now be used with
+    BaseConverter.register_structure_hook and
+    BaseConverter.register_unstructure_hook. Previously, they required the
+    use of BaseConverter.register_structure_hook_func.
+  * Some defaultdicts are now supported by default, and
+    cattrs.cols.is_defaultdict and cattrs.cols.defaultdict_structure_factory
+    are exposed through cattrs.cols.
+  * Generic PEP 695 type aliases are now supported.
+  * The tagged union strategy now also supports type aliases of unions.
+  * Converter.copy and BaseConverter.copy are correctly annotated as
+    returning Self.
+  * Many preconf converters (bson, stdlib JSON, cbor2, msgpack, msgspec,
+    orjson, ujson) skip unstructuring int and str enums, leaving them to the
+    underlying libraries to handle with greater efficiency.
+  * The msgspec JSON preconf converter now handles dataclasses with private
+    attributes more efficiently.
+  * Preconf converters now handle dictionaries with literal keys properly.
+  * Structuring TypedDicts from invalid inputs now properly raises a
+    ClassValidationError.
+  * cattrs.strategies.include_subclasses now properly works with generic
+    parent classes.
+  * Python 3.13 is now supported.
+  * Python 3.8 is no longer supported, as it is end-of-life.
+- Dropped patches, no longer required:
+  * fix-test-no-nans.patch
+  * support-python-3.13.patch
+
+-------------------------------------------------------------------

Old:
----
  cattrs-24.1.3.tar.gz
  fix-test-no-nans.patch
  support-python-3.13.patch

New:
----
  cattrs-25.3.0.tar.gz

----------(Old B)----------
  Old:- Dropped patches, no longer required:
  * fix-test-no-nans.patch
  * support-python-3.13.patch
  Old:  * fix-test-no-nans.patch
  * support-python-3.13.patch
----------(Old E)----------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-cattrs.spec ++++++
--- /var/tmp/diff_new_pack.6Sk4HD/_old  2025-11-18 15:35:41.072927309 +0100
+++ /var/tmp/diff_new_pack.6Sk4HD/_new  2025-11-18 15:35:41.072927309 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-cattrs
 #
-# Copyright (c) 2025 SUSE LLC
+# Copyright (c) 2025 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,23 +18,19 @@
 
 %{?sle15_python_module_pythons}
 Name:           python-cattrs
-Version:        24.1.3
+Version:        25.3.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
-# PATCH-FIX-UPSTREAM fix-test-no-nans.patch gh#96ed9a1 gh#31eff82
-Patch1:         fix-test-no-nans.patch
-# PATCH-FIX-UPSTREAM support-python-3.13.patch gh#ae80674
-Patch2:         support-python-3.13.patch
+BuildRequires:  %{python_module base >= 3.9}
 BuildRequires:  %{python_module hatch-vcs}
 BuildRequires:  %{python_module hatchling}
 BuildRequires:  %{python_module pip}
-BuildRequires:  %{python_module poetry-core >= 1.1}
 BuildRequires:  python-rpm-macros
 # SECTION test requirements
-BuildRequires:  %{python_module attrs >= 20}
+BuildRequires:  %{python_module attrs >= 25.4}
 BuildRequires:  %{python_module PyYAML}
 BuildRequires:  %{python_module cbor2}
 BuildRequires:  %{python_module hypothesis}
@@ -46,15 +42,15 @@
 BuildRequires:  %{python_module pytest-benchmark}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module tomlkit}
-BuildRequires:  %{python_module typing_extensions}
+BuildRequires:  %{python_module typing_extensions >= 4.14}
 BuildRequires:  %{python_module ujson}
 # /SECTION
 BuildRequires:  fdupes
-Requires:       python-attrs >= 20
+Requires:       python-attrs >= 25.4
 %if %python_version_nodots < 311
-Requires:       python-exceptiongroup
+Requires:       python-exceptiongroup >= 1.1.1
 %endif
-Requires:       python-typing_extensions
+Requires:       python-typing_extensions >= 4.14
 Suggests:       python-cbor2
 Suggests:       python-ujson
 Suggests:       python-orjson

++++++ cattrs-24.1.3.tar.gz -> cattrs-25.3.0.tar.gz ++++++
++++ 14312 lines of diff (skipped)

Reply via email to