From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/requests/
Date: Mon, 12 May 2025 10:49:28 +0000 (UTC) [thread overview]
Message-ID: <1747046805.2e9e1c5cbde434794bd387136e60331c937dffa6.sam@gentoo> (raw)
commit: 2e9e1c5cbde434794bd387136e60331c937dffa6
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon May 12 10:46:45 2025 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon May 12 10:46:45 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e9e1c5c
dev-python/requests: enable py3.14, refresh tests
* Enable py3.14
* Refresh tests
** Drop old skips
** Backport a bunch of patches that Fedora and Debian are using to fix tests
w/ new OpenSSL + urllib3-3.4 vs new openssl
** ... but still skip one test as it stil lseems to fail, perhaps because
of openssl-3.5.
Bug: https://bugs.gentoo.org/955435
Bug: https://github.com/psf/requests/issues/6896
Bug: https://github.com/psf/requests/pull/6897
Bug: https://github.com/psf/requests/pull/6924
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-python/requests/Manifest | 1 +
dev-python/requests/requests-2.32.3.ebuild | 21 ++++++++++++++-------
2 files changed, 15 insertions(+), 7 deletions(-)
diff --git a/dev-python/requests/Manifest b/dev-python/requests/Manifest
index efbbda4ca0b8..1c23363adb05 100644
--- a/dev-python/requests/Manifest
+++ b/dev-python/requests/Manifest
@@ -1 +1,2 @@
+DIST requests-2.32.3-patches.tar.xz 20028 BLAKE2B fb224c96f85d7f8f9c7c0ca7fc188ddcf12abe6239a83e4ec1fb96f949ed27007ea98a412fea2eb7d132a191ff20cec4cd0da20da10255125d8ab7890dc8c27e SHA512 be04a6a55ff3184c22b20a8f185fd7c6478db44d451fe396e61687a5f58d24b915a18f94fc888f6744eae745ede47831abdb1bca73e31fd26cf4478340b130e9
DIST requests-2.32.3.tar.gz 131218 BLAKE2B c36bd80e0544e83b80c001e6bfdde7b8552e65b888d44d781f95d5a6302dd34dfd4368e18dbfeab3a014d7170946c502e3bf3a6dbd027a60a2f0f535c674d75c SHA512 20d413597ff4803a62156ada25ef2e8a5edd0d4dbf7d79cc7fcd88d51a76e019a7dacf41d7c3d546306f37c506ede68f16b9afea57c918db64e702382b1ae420
diff --git a/dev-python/requests/requests-2.32.3.ebuild b/dev-python/requests/requests-2.32.3.ebuild
index d4ba48307a30..a5eca5f4c18f 100644
--- a/dev-python/requests/requests-2.32.3.ebuild
+++ b/dev-python/requests/requests-2.32.3.ebuild
@@ -5,7 +5,7 @@
EAPI=8
DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..13} pypy3 pypy3_11 )
+PYTHON_COMPAT=( python3_{11..14} pypy3_11 )
PYTHON_REQ_USE="threads(+)"
inherit distutils-r1 pypi
@@ -17,6 +17,8 @@ HOMEPAGE="
https://pypi.org/project/requests/
"
+SRC_URI+=" https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${PN}-2.32.3-patches.tar.xz"
+
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~arm64-macos ~x64-macos"
@@ -41,6 +43,14 @@ BDEPEND="
)
"
+PATCHES=(
+ # https://github.com/psf/requests/pull/6897
+ "${WORKDIR}/${PN}-2.32.3-patches/${PN}-2.32.3-tests.patch"
+ "${WORKDIR}/${PN}-2.32.3-patches/${PN}-2.32.3-tests-regenerate.patch"
+ # https://github.com/psf/requests/pull/6924
+ "${WORKDIR}/${PN}-2.32.3-patches/${PN}-2.32.3-tests-more.patch"
+)
+
distutils_enable_tests pytest
python_test() {
@@ -53,12 +63,9 @@ python_test() {
# require IPv4 interface in 10.* range
tests/test_requests.py::TestTimeout::test_connect_timeout
tests/test_requests.py::TestTimeout::test_total_timeout_connect
- # TODO: openssl?
- tests/test_requests.py::TestRequests::test_pyopenssl_redirect
- # flask-2
- tests/test_requests.py::TestRequests::test_cookie_sent_on_redirect
- tests/test_requests.py::TestRequests::test_cookie_removed_on_expire
- tests/test_requests.py::TestPreparingURLs::test_redirecting_to_bad_url
+ # As of 2.32.3, with python-3.13.3, despite the patches we've
+ # backported, this still seems to fail. Maybe openssl-3.5?
+ tests/test_requests.py::TestPreparingURLs::test_different_connection_pool_for_tls_settings_verify_bundle_unexpired_cert
)
case ${EPYTHON} in
next reply other threads:[~2025-05-12 10:49 UTC|newest]
Thread overview: 168+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-05-12 10:49 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-09-20 11:44 [gentoo-commits] repo/gentoo:master commit in: dev-python/requests/ Arthur Zamarin
2025-08-19 2:41 Michał Górny
2025-06-10 12:54 Michał Górny
2025-06-10 4:59 Arthur Zamarin
2025-06-10 1:59 Michał Górny
2025-02-16 14:46 Michał Górny
2024-06-15 8:38 Arthur Zamarin
2024-05-30 4:03 Michał Górny
2024-05-22 4:49 Michał Górny
2024-05-21 6:22 Arthur Zamarin
2024-05-21 4:14 Michał Górny
2024-05-14 10:05 Michał Górny
2023-05-29 9:42 Michał Górny
2023-05-23 13:37 Michał Górny
2023-05-23 10:17 Sam James
2023-05-23 5:07 Michał Górny
2023-05-04 8:06 Michał Górny
2023-04-27 19:27 Michał Górny
2023-04-27 19:27 Michał Górny
2023-03-16 4:07 Michał Górny
2023-02-16 17:22 Arthur Zamarin
2023-01-13 7:09 Michał Górny
2023-01-13 7:09 Michał Górny
2022-10-13 4:54 Michał Górny
2022-06-29 17:08 Arthur Zamarin
2022-06-16 11:24 Michał Górny
2022-06-16 9:33 Jakov Smolić
2022-06-09 19:19 Michał Górny
2022-05-13 11:21 Michał Górny
2022-05-13 11:21 Michał Górny
2022-02-04 8:40 Michał Górny
2022-02-04 7:22 Agostino Sarubbo
2022-02-03 21:34 Michał Górny
2022-02-03 20:57 Arthur Zamarin
2022-01-05 17:18 Arthur Zamarin
2022-01-03 17:49 Arthur Zamarin
2021-11-28 14:42 Michał Górny
2021-11-28 7:14 Michał Górny
2021-11-11 8:07 Michał Górny
2021-11-11 3:49 Sam James
2021-11-05 22:28 Sam James
2021-09-08 0:42 Sam James
2021-09-06 17:29 Sam James
2021-09-06 5:40 Agostino Sarubbo
2021-09-06 0:15 Sam James
2021-09-05 20:07 Agostino Sarubbo
2021-09-05 20:04 Agostino Sarubbo
2021-09-05 20:01 Agostino Sarubbo
2021-09-05 6:02 Sam James
2021-08-21 22:15 James Le Cuirot
2021-08-13 6:58 Michał Górny
2021-08-06 20:52 Sam James
2021-08-06 20:49 Sam James
2021-07-31 22:26 Joshua Kinard
2021-07-25 15:29 Sergei Trofimovich
2021-07-25 3:16 Matt Turner
2021-07-25 1:10 Sam James
2021-07-24 15:22 Sam James
2021-07-23 13:21 Marek Szuba
2021-07-23 12:46 Marek Szuba
2021-07-20 20:36 Sergei Trofimovich
2021-07-17 7:25 Michał Górny
2021-05-20 13:51 Michał Górny
2021-05-20 13:51 Michał Górny
2021-05-05 12:19 Michał Górny
2021-03-26 9:41 Michał Górny
2021-02-09 17:45 Mike Gilbert
2020-12-23 2:10 Sam James
2020-12-16 23:04 Michał Górny
2020-11-28 8:07 Sam James
2020-11-11 20:55 Michał Górny
2020-09-20 10:24 Michał Górny
2020-09-18 15:43 Michał Górny
2020-08-15 5:28 Joshua Kinard
2020-07-31 6:21 Michał Górny
2020-07-30 22:53 Sam James
2020-07-30 22:53 Sam James
2020-07-29 10:20 Michał Górny
2020-07-27 20:06 Aaron Bauman
2020-07-15 20:18 Sergei Trofimovich
2020-07-14 16:32 Sam James
2020-07-14 15:22 Sam James
2020-07-11 22:28 Sam James
2020-06-18 10:26 Michał Górny
2020-06-05 16:10 Sergei Trofimovich
2020-05-26 10:35 Michał Górny
2020-05-08 17:15 Agostino Sarubbo
2020-05-06 6:48 Sergei Trofimovich
2020-05-06 6:41 Sergei Trofimovich
2020-05-05 22:13 Sergei Trofimovich
2020-05-04 17:36 Thomas Deutschmann
2020-05-04 12:17 Michał Górny
2020-05-04 6:16 Mart Raudsepp
2020-05-03 19:02 Agostino Sarubbo
2020-05-03 10:12 Agostino Sarubbo
2020-04-11 12:08 Mart Raudsepp
2020-03-25 13:12 Agostino Sarubbo
2020-03-16 5:54 Matt Turner
2020-02-21 10:08 Michał Górny
2020-02-19 19:33 Sergei Trofimovich
2019-12-26 23:58 Aaron Bauman
2019-11-27 13:37 Mikle Kolyada
2019-11-22 19:38 Michał Górny
2019-03-10 8:33 Mikle Kolyada
2019-03-03 6:28 Mikle Kolyada
2019-03-03 6:28 Mikle Kolyada
2019-03-03 6:28 Mikle Kolyada
2019-03-02 20:46 Matt Turner
2019-02-15 18:09 Mikle Kolyada
2019-02-15 15:46 Thomas Deutschmann
2019-02-13 19:10 Markus Meier
2019-02-12 21:14 Sergei Trofimovich
2019-02-12 21:03 Sergei Trofimovich
2019-02-12 14:56 Mart Raudsepp
2019-02-12 8:12 Sergei Trofimovich
2019-02-12 8:11 Sergei Trofimovich
2019-02-11 23:36 Sergei Trofimovich
2018-12-17 21:21 Patrick McLean
2018-12-14 7:40 Patrick McLean
2018-07-16 19:57 Michał Górny
2018-07-09 21:22 Sebastian Pipping
2018-06-24 16:37 Sebastian Pipping
2018-06-17 4:10 Tim Harder
2018-02-22 17:38 Michał Górny
2017-09-15 21:46 Mike Gilbert
2017-09-12 9:13 Fabian Groffen
2017-08-29 13:34 Mike Gilbert
2017-08-28 0:47 Matt Thode
2017-06-29 22:04 Sebastien Fabbro
2017-06-15 18:19 Markus Meier
2017-05-22 16:48 Tobias Klausmann
2017-05-19 21:44 Michael Weber
2017-05-19 13:37 Michael Weber
2017-05-16 20:13 Mike Gilbert
2017-05-15 14:48 Mike Gilbert
2017-05-06 11:13 Jeroen Roovers
2017-04-09 21:37 Zac Medico
2017-03-01 6:49 Tim Harder
2017-02-19 1:03 Mike Gilbert
2017-01-23 4:46 Lars Wendler
2017-01-23 4:46 Lars Wendler
2016-12-22 22:46 Lars Wendler
2016-12-01 13:55 Lars Wendler
2016-11-30 18:05 Michał Górny
2016-09-30 7:22 Lars Wendler
2016-09-30 7:21 Lars Wendler
2016-06-21 2:47 Mike Frysinger
2016-01-22 8:03 Justin Lecher
2015-12-24 9:24 Justin Lecher
2015-12-17 14:48 Justin Lecher
2015-11-23 10:05 Justin Lecher
2015-11-23 6:44 Jeroen Roovers
2015-11-22 19:28 Markus Meier
2015-11-19 10:25 Agostino Sarubbo
2015-11-16 16:26 Agostino Sarubbo
2015-11-16 16:15 Agostino Sarubbo
2015-11-16 15:01 Agostino Sarubbo
2015-11-11 17:27 Justin Lecher
2015-11-05 11:52 Agostino Sarubbo
2015-11-04 16:09 Agostino Sarubbo
2015-11-04 15:50 Agostino Sarubbo
2015-11-02 13:12 Agostino Sarubbo
2015-11-02 13:09 Agostino Sarubbo
2015-10-18 16:48 Mikle Kolyada
2015-10-15 14:41 Justin Lecher
2015-10-14 13:40 Justin Lecher
2015-10-11 7:05 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=1747046805.2e9e1c5cbde434794bd387136e60331c937dffa6.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