diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-07-25 02:55:08 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-07-25 02:55:08 +0100 |
commit | aeb34c47a1042b074096bacb85205617c8a14d3a (patch) | |
tree | 905475b28fd25bd6ffbf92d7c1a0100c0474a780 /dev-python/requests/files | |
parent | fc879856a16ea66528a11a00cf6ee19891f3d186 (diff) |
gentoo auto-resync : 25:07:2022 - 02:55:08
Diffstat (limited to 'dev-python/requests/files')
3 files changed, 0 insertions, 93 deletions
diff --git a/dev-python/requests/files/requests-2.27.1-unpin-charset-normalizer.patch b/dev-python/requests/files/requests-2.27.1-unpin-charset-normalizer.patch deleted file mode 100644 index 418cb519ffb6..000000000000 --- a/dev-python/requests/files/requests-2.27.1-unpin-charset-normalizer.patch +++ /dev/null @@ -1,25 +0,0 @@ -https://github.com/psf/requests/pull/6169 -https://bugs.gentoo.org/853247 - ---- a/requests.egg-info/requires.txt -+++ b/requests.egg-info/requires.txt -@@ -6,7 +6,7 @@ chardet<5,>=3.0.2 - idna<3,>=2.5 - - [:python_version >= "3"] --charset_normalizer~=2.0.0 -+charset_normalizer~=2.0 - idna<4,>=2.5 - - [security] ---- a/setup.py -+++ b/setup.py -@@ -41,7 +41,7 @@ if sys.argv[-1] == 'publish': - packages = ['requests'] - - requires = [ -- 'charset_normalizer~=2.0.0; python_version >= "3"', -+ 'charset_normalizer~=2.0; python_version >= "3"', - 'chardet>=3.0.2,<5; python_version < "3"', - 'idna>=2.5,<3; python_version < "3"', - 'idna>=2.5,<4; python_version >= "3"', diff --git a/dev-python/requests/files/requests-2.28.0-unpin-chardet.patch b/dev-python/requests/files/requests-2.28.0-unpin-chardet.patch deleted file mode 100644 index bd0451daaf13..000000000000 --- a/dev-python/requests/files/requests-2.28.0-unpin-chardet.patch +++ /dev/null @@ -1,37 +0,0 @@ -https://github.com/psf/requests/pull/6179 - -From 09483bae4f56e4f4c227e2d25ee920c538271feb Mon Sep 17 00:00:00 2001 -From: Wong Hoi Sing Edison <hswong3i@pantarei-design.com> -Date: Sun, 26 Jun 2022 12:18:42 +0800 -Subject: [PATCH] Update Dependency with `chardet>=3.0.2,<6` - -https://github.com/chardet/chardet/releases/tag/5.0.0 was released on -2022-06-25 with remove of Python 3.6 support, which also align with our -Python > 3.6 requirement. - -Signed-off-by: Wong Hoi Sing Edison <hswong3i@pantarei-design.com> ---- a/requests/__init__.py -+++ b/requests/__init__.py -@@ -75,8 +75,8 @@ def check_compatibility(urllib3_version, chardet_version, charset_normalizer_ver - if chardet_version: - major, minor, patch = chardet_version.split(".")[:3] - major, minor, patch = int(major), int(minor), int(patch) -- # chardet_version >= 3.0.2, < 5.0.0 -- assert (3, 0, 2) <= (major, minor, patch) < (5, 0, 0) -+ # chardet_version >= 3.0.2, < 6.0.0 -+ assert (3, 0, 2) <= (major, minor, patch) < (6, 0, 0) - elif charset_normalizer_version: - major, minor, patch = charset_normalizer_version.split(".")[:3] - major, minor, patch = int(major), int(minor), int(patch) ---- a/setup.py -+++ b/setup.py -@@ -123,7 +123,7 @@ def run_tests(self): - extras_require={ - "security": [], - "socks": ["PySocks>=1.5.6, !=1.5.7"], -- "use_chardet_on_py3": ["chardet>=3.0.2,<5"], -+ "use_chardet_on_py3": ["chardet>=3.0.2,<6"], - }, - project_urls={ - "Documentation": "https://requests.readthedocs.io", - diff --git a/dev-python/requests/files/requests-2.28.0-unpin-charset-normalizer.patch b/dev-python/requests/files/requests-2.28.0-unpin-charset-normalizer.patch deleted file mode 100644 index d4a4a1596296..000000000000 --- a/dev-python/requests/files/requests-2.28.0-unpin-charset-normalizer.patch +++ /dev/null @@ -1,31 +0,0 @@ -https://github.com/psf/requests/pull/6169 -https://bugs.gentoo.org/853247 - -From 9e9cd2a257392988e6fa417361c3085e5b85af85 Mon Sep 17 00:00:00 2001 -From: Lumir Balhar <lbalhar@redhat.com> -Date: Mon, 20 Jun 2022 09:32:16 +0200 -Subject: [PATCH] Allow charset normalizer >=2 and <3 - ---- a/setup.py -+++ b/setup.py -@@ -59,7 +59,7 @@ def run_tests(self): - sys.exit() - - requires = [ -- "charset_normalizer~=2.0.0", -+ "charset_normalizer~=2.0", - "idna>=2.5,<4", - "urllib3>=1.21.1,<1.27", - "certifi>=2017.4.17", - ---- a/setup.cfg -+++ b/setup.cfg -@@ -5,7 +5,7 @@ provides-extra = - use_chardet_on_py3 - requires-dist = - certifi>=2017.4.17 -- charset_normalizer~=2.0.0 -+ charset_normalizer~=2.0 - idna>=2.5,<4 - urllib3>=1.21.1,<1.27 - |