]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
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)
- 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

index 6e16da47b4861b0a62ca6fa1a7292d87bfcfc298..b84c91ba41a652719f708874521a0e7dc055d6dd 100644 (file)
@@ -22,13 +22,13 @@ usr/lib/python3.10/site-packages/attr/setters.pyi
 usr/lib/python3.10/site-packages/attr/validators.py
 usr/lib/python3.10/site-packages/attr/validators.pyi
 #usr/lib/python3.10/site-packages/attrs
-#usr/lib/python3.10/site-packages/attrs-21.4.0-py3.10.egg-info
-#usr/lib/python3.10/site-packages/attrs-21.4.0-py3.10.egg-info/PKG-INFO
-#usr/lib/python3.10/site-packages/attrs-21.4.0-py3.10.egg-info/SOURCES.txt
-#usr/lib/python3.10/site-packages/attrs-21.4.0-py3.10.egg-info/dependency_links.txt
-#usr/lib/python3.10/site-packages/attrs-21.4.0-py3.10.egg-info/not-zip-safe
-#usr/lib/python3.10/site-packages/attrs-21.4.0-py3.10.egg-info/requires.txt
-#usr/lib/python3.10/site-packages/attrs-21.4.0-py3.10.egg-info/top_level.txt
+#usr/lib/python3.10/site-packages/attrs-22.1.0-py3.10.egg-info
+#usr/lib/python3.10/site-packages/attrs-22.1.0-py3.10.egg-info/PKG-INFO
+#usr/lib/python3.10/site-packages/attrs-22.1.0-py3.10.egg-info/SOURCES.txt
+#usr/lib/python3.10/site-packages/attrs-22.1.0-py3.10.egg-info/dependency_links.txt
+#usr/lib/python3.10/site-packages/attrs-22.1.0-py3.10.egg-info/not-zip-safe
+#usr/lib/python3.10/site-packages/attrs-22.1.0-py3.10.egg-info/requires.txt
+#usr/lib/python3.10/site-packages/attrs-22.1.0-py3.10.egg-info/top_level.txt
 usr/lib/python3.10/site-packages/attrs/__init__.py
 usr/lib/python3.10/site-packages/attrs/__init__.pyi
 usr/lib/python3.10/site-packages/attrs/converters.py
index 5c38561e14bae13a1f8d0eaea7cd843cd89cf9c4..9ac72e14a3539d9855f0f9533fff6fd46232b458 100644 (file)
@@ -24,7 +24,7 @@
 
 include Config
 
-VER        = 21.4.0
+VER        = 22.1.0
 SUMMARY    = Classes Without Boilerplate
 
 THISAPP    = attrs-$(VER)
@@ -33,7 +33,7 @@ DL_FROM    = $(URL_IPFIRE)
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 TARGET     = $(DIR_INFO)/$(THISAPP)
 PROG       = python3-attrs
-PAK_VER    = 1
+PAK_VER    = 2
 
 DEPS       = 
 
@@ -47,7 +47,7 @@ objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_BLAKE2 = f8e9ca1385efe6f5b9bf468f622f0bf5390830c5f3c3526821446113146a61460b17e8750ea763f6da50221a8aa65f5f1ff98a6ddf69b1a87344508ca6495560
+$(DL_FILE)_BLAKE2 = 5da48b3cbcd99cdcc531a0859be264a4d209778caa53bd95480a103549b816c8a805079e1555fce38eb33f8bd3d5b7bfa6f814ef2b60dc405bda6686c7746f0b
 
 install : $(TARGET)