From efae94f5e887647b44d589be319b9d3e44eda07e46e305e3caadff3e697d292b Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Sat, 12 Jul 2025 11:37:36 +0000 Subject: [PATCH] - update to 25.3.0: * Restore support for generator-based `field_transformer`s. * Checking mandatory vs non-mandatory attribute order is now performed after the field transformer, since the field transformer may change attributes and/or their order. * `attrs.make_class()` now allows for Unicode class names. * Speed up class creation by 30%-50% by compiling methods only once and using a variety of other techniques. * The error message if an attribute has both an annotation and a type argument will now disclose _what_ attribute seems to be the problem. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-attrs?expand=0&rev=57 --- attrs-24.3.0.tar.gz | 3 --- attrs-25.3.0.tar.gz | 3 +++ python-attrs.changes | 15 +++++++++++++++ python-attrs.spec | 2 +- 4 files changed, 19 insertions(+), 4 deletions(-) delete mode 100644 attrs-24.3.0.tar.gz create mode 100644 attrs-25.3.0.tar.gz diff --git a/attrs-24.3.0.tar.gz b/attrs-24.3.0.tar.gz deleted file mode 100644 index d7eb66b..0000000 --- a/attrs-24.3.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:8f5c07333d543103541ba7be0e2ce16eeee8130cb0b3f9238ab904ce1e85baff -size 805984 diff --git a/attrs-25.3.0.tar.gz b/attrs-25.3.0.tar.gz new file mode 100644 index 0000000..39c8fb6 --- /dev/null +++ b/attrs-25.3.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:75d7cefc7fb576747b2c81b4442d4d4a1ce0900973527c011d1030fd3bf4af1b +size 812032 diff --git a/python-attrs.changes b/python-attrs.changes index 895c662..a6ac13e 100644 --- a/python-attrs.changes +++ b/python-attrs.changes @@ -1,3 +1,18 @@ +------------------------------------------------------------------- +Sat Jul 12 11:37:13 UTC 2025 - Dirk Müller + +- update to 25.3.0: + * Restore support for generator-based `field_transformer`s. + * Checking mandatory vs non-mandatory attribute order is now + performed after the field transformer, since the field + transformer may change attributes and/or their order. + * `attrs.make_class()` now allows for Unicode class names. + * Speed up class creation by 30%-50% by compiling methods only + once and using a variety of other techniques. + * The error message if an attribute has both an annotation and + a type argument will now disclose _what_ attribute seems to + be the problem. + ------------------------------------------------------------------- Thu Jan 2 14:12:53 UTC 2025 - Dirk Müller diff --git a/python-attrs.spec b/python-attrs.spec index c1c5633..ee022de 100644 --- a/python-attrs.spec +++ b/python-attrs.spec @@ -26,7 +26,7 @@ %endif %{?sle15_python_module_pythons} Name: python-attrs%{psuffix} -Version: 24.3.0 +Version: 25.3.0 Release: 0 Summary: Attributes without boilerplate License: MIT