[37/48] python3-requests:Update to version 2.28.1 and to work with python-3.10.8

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

Commit Message

Adolf Belka 9 Nov 2022, 6:57 p.m. UTC
  - Updated from version 2.27.1 to 2.28.1
- Update of rootfile
- Changelog
    2.28.1 (2022-06-29)
	**Improvements**
		- Speed optimization in `iter_content` with transition to `yield from`. (#6170)
	**Dependencies**
		- Added support for chardet 5.0.0 (#6179)
		- Added support for charset-normalizer 2.1.0 (#6169)
    2.28.0 (2022-06-09)
	**Deprecations**
		- ⚠️ Requests has officially dropped support for Python 2.7. ⚠️ (#6091)
		- Requests has officially dropped support for Python 3.6 (including pypy3.6). (#6091)
	**Improvements**
		- Wrap JSON parsing issues in Request's JSONDecodeError for payloads without
		  an encoding to make `json()` API consistent. (#6097)
		- Parse header components consistently, raising an InvalidHeader error in
		  all invalid cases. (#6154)
		- Added provisional 3.11 support with current beta build. (#6155)
		- Requests got a makeover and we decided to paint it black. (#6095)
	**Bugfixes**
		- Fixed bug where setting `CURL_CA_BUNDLE` to an empty string would disable
		  cert verification. All Requests 2.x versions before 2.28.0 are affected. (#6074)
		- Fixed urllib3 exception leak, wrapping `urllib3.exceptions.SSLError` with
		  `requests.exceptions.SSLError` for `content` and `iter_content`. (#6057)
		- Fixed issue where invalid Windows registry entires caused proxy resolution
		  to raise an exception rather than ignoring the entry. (#6149)
		- Fixed issue where entire payload could be included in the error message for
		  JSONDecodeError. (#6036)

Tested-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
---
 config/rootfiles/packages/python3-requests | 14 +++++++-------
 lfs/python3-requests                       |  6 +++---
 2 files changed, 10 insertions(+), 10 deletions(-)
  

Patch

diff --git a/config/rootfiles/packages/python3-requests b/config/rootfiles/packages/python3-requests
index d334559bb..c879ed13b 100644
--- a/config/rootfiles/packages/python3-requests
+++ b/config/rootfiles/packages/python3-requests
@@ -1,11 +1,11 @@ 
 usr/lib/python3.10/site-packages/requests
-#usr/lib/python3.10/site-packages/requests-2.27.1-py3.10.egg-info
-#usr/lib/python3.10/site-packages/requests-2.27.1-py3.10.egg-info/PKG-INFO
-#usr/lib/python3.10/site-packages/requests-2.27.1-py3.10.egg-info/SOURCES.txt
-#usr/lib/python3.10/site-packages/requests-2.27.1-py3.10.egg-info/dependency_links.txt
-#usr/lib/python3.10/site-packages/requests-2.27.1-py3.10.egg-info/not-zip-safe
-#usr/lib/python3.10/site-packages/requests-2.27.1-py3.10.egg-info/requires.txt
-#usr/lib/python3.10/site-packages/requests-2.27.1-py3.10.egg-info/top_level.txt
+#usr/lib/python3.10/site-packages/requests-2.28.1-py3.10.egg-info
+#usr/lib/python3.10/site-packages/requests-2.28.1-py3.10.egg-info/PKG-INFO
+#usr/lib/python3.10/site-packages/requests-2.28.1-py3.10.egg-info/SOURCES.txt
+#usr/lib/python3.10/site-packages/requests-2.28.1-py3.10.egg-info/dependency_links.txt
+#usr/lib/python3.10/site-packages/requests-2.28.1-py3.10.egg-info/not-zip-safe
+#usr/lib/python3.10/site-packages/requests-2.28.1-py3.10.egg-info/requires.txt
+#usr/lib/python3.10/site-packages/requests-2.28.1-py3.10.egg-info/top_level.txt
 usr/lib/python3.10/site-packages/requests/__init__.py
 usr/lib/python3.10/site-packages/requests/__version__.py
 usr/lib/python3.10/site-packages/requests/_internal_utils.py
diff --git a/lfs/python3-requests b/lfs/python3-requests
index 96284e2ad..6f4b4dd6f 100644
--- a/lfs/python3-requests
+++ b/lfs/python3-requests
@@ -24,7 +24,7 @@ 
 
 include Config
 
-VER        = 2.27.1
+VER        = 2.28.1
 
 THISAPP    = requests-$(VER)
 DL_FILE    = $(THISAPP).tar.gz
@@ -32,7 +32,7 @@  DL_FROM    = $(URL_IPFIRE)
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 TARGET     = $(DIR_INFO)/$(THISAPP)
 PROG       = python3-requests
-PAK_VER    = 1
+PAK_VER    = 2
 
 DEPS       = python3-certifi python3-charset-normalizer python3-idna
 
@@ -44,7 +44,7 @@  objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_BLAKE2 = a7fed53998fa61b3d03abd254a0cee76450c5b60d76f80aa6b91f32dca1dae5d2c51987b3d3f2138d72c50790e35c36cb03eb5974554ac4eb1a902eff79b5bdd
+$(DL_FILE)_BLAKE2 = 2106be5f9e1d9f1a22de5522b5d72084f91c2849e60e33b89b2411b76cae9b1f7faac34947f69c49480d001e9b77e4dce723ee939d51591882854d510db49b59
 
 install : $(TARGET)