From 0fd3534adcf2ee3d6801f45a9c724a9ab3733154 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= Date: Sat, 3 Aug 2024 23:47:20 -0300 Subject: [PATCH] python3-requests: update to 2.32.3, adopt. --- .../patches/use-system-cacerts.patch | 4 ++-- srcpkgs/python3-requests/template | 16 ++++++++++------ 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/srcpkgs/python3-requests/patches/use-system-cacerts.patch b/srcpkgs/python3-requests/patches/use-system-cacerts.patch index 865450920e5..03ac4fbea45 100644 --- a/srcpkgs/python3-requests/patches/use-system-cacerts.patch +++ b/srcpkgs/python3-requests/patches/use-system-cacerts.patch @@ -1,5 +1,5 @@ ---- a/requests/certs.py 2017-05-29 20:09:29.000000000 +0200 -+++ b/requests/certs.py 2017-06-06 13:06:31.803000513 +0200 +--- a/src/requests/certs.py 2017-05-29 20:09:29.000000000 +0200 ++++ b/src/requests/certs.py 2017-06-06 13:06:31.803000513 +0200 @@ -12,7 +12,8 @@ environment, you can change the definition of where() to return a separately packaged CA bundle. diff --git a/srcpkgs/python3-requests/template b/srcpkgs/python3-requests/template index 7606d94a6d9..4e0827f5783 100644 --- a/srcpkgs/python3-requests/template +++ b/srcpkgs/python3-requests/template @@ -1,19 +1,23 @@ # Template file for 'python3-requests' pkgname=python3-requests -version=2.31.0 -revision=2 -build_style=python3-module +version=2.32.3 +revision=1 +build_style=python3-pep517 +# test_unicode_header_name hangs with urllib3 < 2.x +# see: https://github.com/psf/requests/issues/6734 +make_check_args=" + --deselect tests/test_requests.py::TestRequests::test_unicode_header_name" hostmakedepends="python3-setuptools" depends="ca-certificates python3-charset-normalizer python3-urllib3 python3-idna" checkdepends="python3-pytest $depends python3-trustme python3-pytest-httpbin - python3-pytest-mock python3-pysocks" + python3-pytest-mock python3-pysocks python3-pytest-xdist" short_desc="Python3 HTTP library for human beings" -maintainer="Orphaned " +maintainer="Gonzalo TornarĂ­a " license="Apache-2.0" homepage="https://python-requests.org/" changelog="https://raw.githubusercontent.com/psf/requests/master/HISTORY.md" distfiles="${PYPI_SITE}/r/requests/requests-${version}.tar.gz" -checksum=942c5a758f98d790eaed1a29cb6eefc7ffb0d1cf7af05c3d2791656dbd6ad1e1 +checksum=55365417734eb18255590a9ff9eb97e9e1da868d4ccd6402399eaf68af20a760 post_patch() { vsed -i '/certifi/d' setup.py