[22/48] python3-attrs:Update to version 22.1.0 and to work with python-3.10.8

Message ID 20221109185734.3920-22-adolf.belka@ipfire.org
State Accepted
Commit c52ff00f094d82ad93afbdea7ae1198cc12b1eda
Headers
Series [01/48] python3: Update to version 3.10.8 |

Commit Message

Adolf Belka Nov. 9, 2022, 6:57 p.m. UTC
  - 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 | 14 +++++++-------
 lfs/python3-attrs                       |  6 +++---
 2 files changed, 10 insertions(+), 10 deletions(-)
  

Patch

diff --git a/config/rootfiles/packages/python3-attrs b/config/rootfiles/packages/python3-attrs
index 6e16da47b..b84c91ba4 100644
--- a/config/rootfiles/packages/python3-attrs
+++ b/config/rootfiles/packages/python3-attrs
@@ -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
diff --git a/lfs/python3-attrs b/lfs/python3-attrs
index 5c38561e1..9ac72e14a 100644
--- a/lfs/python3-attrs
+++ b/lfs/python3-attrs
@@ -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)