update to py3-requests-2.28.2

This commit is contained in:
sthen 2023-01-13 09:17:48 +00:00
parent d61fcdbb2b
commit 7ddc6f2b29
5 changed files with 3 additions and 57 deletions

View File

@ -1,9 +1,8 @@
COMMENT= elegant and simple HTTP library for Python
MODPY_EGG_VERSION= 2.28.1
MODPY_EGG_VERSION= 2.28.2
DISTNAME= requests-${MODPY_EGG_VERSION}
PKGNAME= py-${DISTNAME}
REVISION= 2
CATEGORIES= www

View File

@ -1,2 +1,2 @@
SHA256 (requests-2.28.1.tar.gz) = fFWZsQL+3apmHIJsVqtP7ii/0X9avKHrvj5/GdfJeYM=
SIZE (requests-2.28.1.tar.gz) = 109805
SHA256 (requests-2.28.2.tar.gz) = mLGyeC48bEkEk4uEwOuTJyEGnf25E0MTvv98g8LfJL8=
SIZE (requests-2.28.2.tar.gz) = 108206

View File

@ -1,19 +0,0 @@
From c57f1f0ca10e61771b459c857182c23626607312 Mon Sep 17 00:00:00 2001
From: deedy5 <65482418+deedy5@users.noreply.github.com>
Date: Thu, 20 Oct 2022 18:26:18 +0000
Subject: [PATCH] Allow charset normalizer >=2 and <4 (#6261)
Index: requests/__init__.py
--- requests/__init__.py.orig
+++ requests/__init__.py
@@ -80,8 +80,8 @@ def check_compatibility(urllib3_version, chardet_versi
elif charset_normalizer_version:
major, minor, patch = charset_normalizer_version.split(".")[:3]
major, minor, patch = int(major), int(minor), int(patch)
- # charset_normalizer >= 2.0.0 < 3.0.0
- assert (2, 0, 0) <= (major, minor, patch) < (3, 0, 0)
+ # charset_normalizer >= 2.0.0 < 4.0.0
+ assert (2, 0, 0) <= (major, minor, patch) < (4, 0, 0)
else:
raise Exception("You need either charset_normalizer or chardet installed")

View File

@ -1,17 +0,0 @@
From c57f1f0ca10e61771b459c857182c23626607312 Mon Sep 17 00:00:00 2001
From: deedy5 <65482418+deedy5@users.noreply.github.com>
Date: Thu, 20 Oct 2022 18:26:18 +0000
Subject: [PATCH] Allow charset normalizer >=2 and <4 (#6261)
Index: setup.cfg
--- setup.cfg.orig
+++ setup.cfg
@@ -5,7 +5,7 @@ provides-extra =
use_chardet_on_py3
requires-dist =
certifi>=2017.4.17
- charset_normalizer>=2,<3
+ charset_normalizer>=2,<4
idna>=2.5,<4
urllib3>=1.21.1,<1.27

View File

@ -1,17 +0,0 @@
From c57f1f0ca10e61771b459c857182c23626607312 Mon Sep 17 00:00:00 2001
From: deedy5 <65482418+deedy5@users.noreply.github.com>
Date: Thu, 20 Oct 2022 18:26:18 +0000
Subject: [PATCH] Allow charset normalizer >=2 and <4 (#6261)
Index: setup.py
--- setup.py.orig
+++ setup.py
@@ -59,7 +59,7 @@ if sys.argv[-1] == "publish":
sys.exit()
requires = [
- "charset_normalizer>=2,<3",
+ "charset_normalizer>=2,<4",
"idna>=2.5,<4",
"urllib3>=1.21.1,<1.27",
"certifi>=2017.4.17",