]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commit - config/rootfiles/packages/python3-attrs
python3-attrs:Update to version 22.1.0 and to work with python-3.10.8
authorAdolf Belka <adolf.belka@ipfire.org>
Wed, 9 Nov 2022 18:57:08 +0000 (19:57 +0100)
committerPeter Müller <peter.mueller@ipfire.org>
Thu, 10 Nov 2022 15:13:53 +0000 (15:13 +0000)
commitc52ff00f094d82ad93afbdea7ae1198cc12b1eda
treed4a487a4947310ffb43a85ea7f68a310074dfd91
parente18e8a70201af82743b5c495e393ad58113807eb
python3-attrs:Update to version 22.1.0 and to work with python-3.10.8

- Updated from version 21.4.0 to 22.1.0
- Update of rootfile
- Changelog
   22.1.0 (2022-07-28)
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 <https://github.com/python-attrs/attrs/issues/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 <https://github.com/python-attrs/attrs/issues/939>`_
Changes
- Instantiation of frozen slotted classes is now faster.
  `#898 <https://github.com/python-attrs/attrs/issues/898>`_
- If an ``eq`` key is defined, it is also used before hashing the attribute.
  `#909 <https://github.com/python-attrs/attrs/issues/909>`_
- Added ``attrs.validators.min_len()``.
  `#916 <https://github.com/python-attrs/attrs/issues/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 <https://github.com/python-attrs/attrs/issues/925>`_
- Added missing type stub re-imports for ``attrs.converters`` and ``attrs.filters``.
  `#931 <https://github.com/python-attrs/attrs/issues/931>`_
- Added missing stub for ``attr(s).cmp_using()``.
  `#949 <https://github.com/python-attrs/attrs/issues/949>`_
- ``attrs.validators._in()``'s ``ValueError`` is not missing the attribute, expected options, and the value it got anymore.
  `#951 <https://github.com/python-attrs/attrs/issues/951>`_
- Python 3.11 is now officially supported.
  `#969 <https://github.com/python-attrs/attrs/issues/969>`_

Tested-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
config/rootfiles/packages/python3-attrs
lfs/python3-attrs