From 140ca9618753175d71e51d5c992533c1e8d6297725e776eb05bc52c7de32b17f Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Fri, 5 Aug 2022 07:21:26 +0000 Subject: [PATCH] Accepting request 992744 from home:ohollmann:branches:devel:languages:python - Update to 22.1.0: * Backwards-incompatible Changes * Python 2.7 is not supported anymore. * Dealing with Python 2.7 tooling has become too difficult for a volunteer-run project. * We have supported Python 2 more than 2 years after it was officially discontinued and feel that we have paid our dues. All version up to 21.4.0 from December 2021 remain fully functional, of course. #936 * The deprecated cmp attribute of attrs.Attribute has been removed. This does not affect the cmp argument to attr.s that can be used as a shortcut to set eq and order at the same time. #939 * Changes * Instantiation of frozen slotted classes is now faster. #898 * If an eq key is defined, it is also used before hashing the attribute. #909 * Added attrs.validators.min_len(). #916 * attrs.validators.deep_iterable()'s member_validator argument now also accepts a list of validators and wraps them in an attrs.validators.and_(). #925 * Added missing type stub re-imports for attrs.converters and attrs.filters. #931 * Added missing stub for attr(s).cmp_using(). #949 * attrs.validators._in()'s ValueError is not missing the attribute, expected options, and the value it got anymore. #951 * Python 3.11 is now officially supported. #969 OBS-URL: https://build.opensuse.org/request/show/992744 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-attrs?expand=0&rev=36 --- attrs-21.4.0.tar.gz | 3 --- attrs-22.1.0.tar.gz | 3 +++ python-attrs.changes | 26 ++++++++++++++++++++++++++ python-attrs.spec | 2 +- 4 files changed, 30 insertions(+), 4 deletions(-) delete mode 100644 attrs-21.4.0.tar.gz create mode 100644 attrs-22.1.0.tar.gz diff --git a/attrs-21.4.0.tar.gz b/attrs-21.4.0.tar.gz deleted file mode 100644 index 6fe529a..0000000 --- a/attrs-21.4.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:626ba8234211db98e869df76230a137c4c40a12d72445c45d5f5b716f076e2fd -size 201839 diff --git a/attrs-22.1.0.tar.gz b/attrs-22.1.0.tar.gz new file mode 100644 index 0000000..9111b18 --- /dev/null +++ b/attrs-22.1.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:29adc2665447e5191d0e7c568fde78b21f9672d344281d0c6e1ab085429b22b6 +size 201288 diff --git a/python-attrs.changes b/python-attrs.changes index e0adc71..f25e884 100644 --- a/python-attrs.changes +++ b/python-attrs.changes @@ -1,3 +1,29 @@ +------------------------------------------------------------------- +Thu Aug 4 09:08:48 UTC 2022 - Otto Hollmann + +- Update to 22.1.0: + * Backwards-incompatible Changes + * Python 2.7 is not supported anymore. + * Dealing with Python 2.7 tooling has become too difficult for a + volunteer-run project. + * We have supported Python 2 more than 2 years after it was officially + discontinued and feel that we have paid our dues. All version up to 21.4.0 + from December 2021 remain fully functional, of course. #936 + * The deprecated cmp attribute of attrs.Attribute has been removed. This + does not affect the cmp argument to attr.s that can be used as a shortcut + to set eq and order at the same time. #939 + * Changes + * Instantiation of frozen slotted classes is now faster. #898 + * If an eq key is defined, it is also used before hashing the attribute. #909 + * Added attrs.validators.min_len(). #916 + * attrs.validators.deep_iterable()'s member_validator argument now also + accepts a list of validators and wraps them in an attrs.validators.and_(). #925 + * Added missing type stub re-imports for attrs.converters and attrs.filters. #931 + * Added missing stub for attr(s).cmp_using(). #949 + * attrs.validators._in()'s ValueError is not missing the attribute, expected + options, and the value it got anymore. #951 + * Python 3.11 is now officially supported. #969 + ------------------------------------------------------------------- Tue Jan 4 15:32:36 UTC 2022 - Dirk Müller diff --git a/python-attrs.spec b/python-attrs.spec index 3f8d575..517679c 100644 --- a/python-attrs.spec +++ b/python-attrs.spec @@ -27,7 +27,7 @@ %endif %global skip_python36 1 Name: python-attrs%{psuffix} -Version: 21.4.0 +Version: 22.1.0 Release: 0 Summary: Attributes without boilerplate License: MIT