public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/requests/, dev-python/requests/files/
Date: Tue, 21 Jun 2022 22:58:05 +0000 (UTC)	[thread overview]
Message-ID: <1655852272.2a75273025f7eb6434e1c847471f4a13a9f8345b.sam@gentoo> (raw)

commit:     2a75273025f7eb6434e1c847471f4a13a9f8345b
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Jun 21 22:57:52 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Jun 21 22:57:52 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a752730

dev-python/requests: fix pinned charset_normalize dep

Bug: https://bugs.gentoo.org/853247
Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../requests-2.28.0-unpin-charset-normalizer.patch | 33 ++++++++++++++++++++++
 ...sts-2.28.0.ebuild => requests-2.28.0-r1.ebuild} |  4 +++
 2 files changed, 37 insertions(+)

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
new file mode 100644
index 000000000000..b9f3a04aa02e
--- /dev/null
+++ b/dev-python/requests/files/requests-2.28.0-unpin-charset-normalizer.patch
@@ -0,0 +1,33 @@
+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",
+
+diff --git a/setup.cfg b/setup.cfg
+index 751c171..99166ef 100644
+--- 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
+ 

diff --git a/dev-python/requests/requests-2.28.0.ebuild b/dev-python/requests/requests-2.28.0-r1.ebuild
similarity index 96%
rename from dev-python/requests/requests-2.28.0.ebuild
rename to dev-python/requests/requests-2.28.0-r1.ebuild
index 4d6d1335f33e..b96762bee446 100644
--- a/dev-python/requests/requests-2.28.0.ebuild
+++ b/dev-python/requests/requests-2.28.0-r1.ebuild
@@ -42,6 +42,10 @@ BDEPEND="
 	)
 "
 
+PATCHES=(
+	"${FILESDIR}"/${PN}-2.28.0-unpin-charset-normalizer.patch
+)
+
 distutils_enable_tests pytest
 
 python_test() {


             reply	other threads:[~2022-06-21 22:58 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-21 22:58 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-05-21 12:44 [gentoo-commits] repo/gentoo:master commit in: dev-python/requests/, dev-python/requests/files/ Michał Górny
2023-02-16 20:28 Michał Górny
2022-10-23  5:39 Michał Górny
2022-06-26  6:47 Sam James
2021-11-27 10:27 Michał Górny
2021-07-28  9:08 Michał Górny
2019-01-27 17:16 Virgil Dupras
2018-01-06 14:13 Michał Górny
2017-05-15 15:48 Manuel Rüger
2017-05-03 11:48 Manuel Rüger
2016-11-30 13:54 Lars Wendler
2016-01-21 11:43 Justin Lecher

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1655852272.2a75273025f7eb6434e1c847471f4a13a9f8345b.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox