George Rawlinson pushed to branch main at Arch Linux / Packaging / Packages /
python-requests
Commits:
044eaefd by George Rawlinson at 2026-02-23T23:32:12+00:00
reuse: simplify conf
- - - - -
a25fabf3 by George Rawlinson at 2026-02-24T20:02:52+00:00
upgpkg: 2.32.5-4
- - - - -
3 changed files:
- .SRCINFO
- PKGBUILD
- REUSE.toml
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
pkgbase = python-requests
pkgdesc = Python HTTP for Humans
pkgver = 2.32.5
- pkgrel = 3
+ pkgrel = 4
url = https://requests.readthedocs.io/
arch = any
license = Apache-2.0
@@ -14,6 +14,7 @@ pkgbase = python-requests
makedepends = python-setuptools
makedepends = python-wheel
depends = ca-certificates
+ depends = python
depends = python-charset-normalizer
depends = python-idna
depends = python-urllib3
=====================================
PKGBUILD
=====================================
@@ -6,13 +6,14 @@
pkgname=python-requests
_name=${pkgname#python-}
pkgver=2.32.5
-pkgrel=3
+pkgrel=4
pkgdesc='Python HTTP for Humans'
arch=(any)
url=https://requests.readthedocs.io/
license=(Apache-2.0)
depends=(
ca-certificates
+ python
python-charset-normalizer
python-idna
python-urllib3
@@ -43,6 +44,10 @@ validpgpkeys=(87227E29AD9CFF5CFAC3EA6A44D3FF97B80DC864) #
Nathanael Prewitt <nat
prepare() {
cd "$_name"
+
+ # Increase chardet upper limit to 7
+ git show 4bd79e397304d46dfccd76f36c07f66c0295ff82 --
src/requests/__init__.py | git apply
+
sed -i '/certifi/d' setup.py
patch -p1 -i ../certs.patch
}
@@ -54,8 +59,18 @@ build() {
check() {
cd "$_name"
- # test_unicode_header_name hangs
- PYTHONPATH="$PWD/src" pytest -v tests --deselect
tests/test_requests.py::TestRequests::test_unicode_header_name
+
+ pytest_options=(
+ -v tests
+ # test_unicode_header_name hangs
+ --deselect tests/test_requests.py::TestRequests::test_unicode_header_name
+ # [Errno 111] Connection refused
+ --deselect
'tests/test_requests.py::TestTimeout::test_connect_timeout[timeout0]'
+ --deselect
'tests/test_requests.py::TestTimeout::test_connect_timeout[timeout1]'
+ --deselect
'tests/test_requests.py::TestTimeout::test_total_timeout_connect[timeout0]'
+ --deselect
'tests/test_requests.py::TestTimeout::test_total_timeout_connect[timeout1]'
+ )
+ PYTHONPATH="$PWD/src" pytest "${pytest_options[@]}"
}
package() {
=====================================
REUSE.toml
=====================================
@@ -3,20 +3,9 @@ version = 1
[[annotations]]
path = [
"PKGBUILD",
- "README.md",
"keys/**",
".SRCINFO",
".nvchecker.toml",
- "*.install",
- "*.sysusers",
- "*.tmpfiles",
- "*.logrotate",
- "*.pam",
- "*.service",
- "*.socket",
- "*.timer",
- "*.desktop",
- "*.hook",
]
SPDX-FileCopyrightText = "Arch Linux contributors"
SPDX-License-Identifier = "0BSD"
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/python-requests/-/compare/12b7d144f27a73104853f0875d49ca347c86207c...a25fabf3ef1370a1f6883952dee6d1baa5a910bf
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/python-requests/-/compare/12b7d144f27a73104853f0875d49ca347c86207c...a25fabf3ef1370a1f6883952dee6d1baa5a910bf
You're receiving this email because of your account on gitlab.archlinux.org.