aboutsummaryrefslogtreecommitdiff
path: root/lang/python/python-requests/patches/0001-idna-dependency-bump.patch
diff options
context:
space:
mode:
authorAlexandru Ardelean <ardeleanalex@gmail.com>2021-07-19 14:21:36 +0300
committerJosef Schlehofer <pepe.schlehofer@gmail.com>2021-07-23 22:59:57 +0200
commit6379f2a103e1edf15770c23e21714b1c04372511 (patch)
treee9b13097b919019df79fb08719fd65325b0996d2 /lang/python/python-requests/patches/0001-idna-dependency-bump.patch
parentbe2753a9a11e77b74c9fca2edc89ab96b691ea2e (diff)
python-requests: bump to version 2.26.0
This version prefers charset_normalizer instead of chardet. chardet is still usable if available. Dropping patches for idna. Not required anymore. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
Diffstat (limited to 'lang/python/python-requests/patches/0001-idna-dependency-bump.patch')
-rw-r--r--lang/python/python-requests/patches/0001-idna-dependency-bump.patch25
1 files changed, 0 insertions, 25 deletions
diff --git a/lang/python/python-requests/patches/0001-idna-dependency-bump.patch b/lang/python/python-requests/patches/0001-idna-dependency-bump.patch
deleted file mode 100644
index 72ffb4526..000000000
--- a/lang/python/python-requests/patches/0001-idna-dependency-bump.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-From 9484e13c7da927119fe82794bb5571cec144b6d7 Mon Sep 17 00:00:00 2001
-From: Naor Livne <naorlivne@gmail.com>
-Date: Fri, 1 Jan 2021 14:31:14 +0200
-Subject: [PATCH 1/2] bump idna has version 3.0 was released
-
-Fixes issue (https://github.com/psf/requests/issues/5710):
-pkg_resources.ContextualVersionConflict: (idna 3.0 (/usr/lib/python3.9/site-packages), Requirement.parse('idna<3,>=2.5'), {'requests'})
-Origin of this patch:
-https://github.com/psf/requests/pull/5711
-
----
- setup.py | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
---- a/setup.py
-+++ b/setup.py
-@@ -43,7 +43,7 @@ packages = ['requests']
-
- requires = [
- 'chardet>=3.0.2,<5',
-- 'idna>=2.5,<3',
-+ 'idna>=2.5,<4',
- 'urllib3>=1.21.1,<1.27',
- 'certifi>=2017.4.17'
-