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
This commit is contained in:
Matej Cepl 2022-08-05 07:21:26 +00:00 committed by Git OBS Bridge
parent 77f18d80ce
commit 140ca96187
4 changed files with 30 additions and 4 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:626ba8234211db98e869df76230a137c4c40a12d72445c45d5f5b716f076e2fd
size 201839

3
attrs-22.1.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:29adc2665447e5191d0e7c568fde78b21f9672d344281d0c6e1ab085429b22b6
size 201288

View File

@ -1,3 +1,29 @@
-------------------------------------------------------------------
Thu Aug 4 09:08:48 UTC 2022 - Otto Hollmann <otto.hollmann@suse.com>
- 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 <dmueller@suse.com>

View File

@ -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