[packages/python3-requests] Up to 2.33.1
arekm
arekm at pld-linux.org
Fri Apr 24 16:57:58 CEST 2026
commit fd2ac8080fb4310494ddc5dcc36e01607bb48ca0
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Fri Apr 24 16:57:39 2026 +0200
Up to 2.33.1
python-requests-disable-xdist.patch | 11 +++++------
python-requests-reqs.patch | 15 +++++++--------
python3-requests.spec | 4 ++--
system-cert.patch | 13 +++++--------
4 files changed, 19 insertions(+), 24 deletions(-)
---
diff --git a/python3-requests.spec b/python3-requests.spec
index 89a8b60..1260340 100644
--- a/python3-requests.spec
+++ b/python3-requests.spec
@@ -8,13 +8,13 @@
Summary: HTTP library for Python
Summary(pl.UTF-8): Biblioteka HTTP dla Pythona
Name: python3-%{module}
-Version: 2.32.5
+Version: 2.33.1
Release: 1
License: Apache v2.0
Group: Development/Languages/Python
#Source0Download: https://pypi.org/simple/requests/
Source0: https://files.pythonhosted.org/packages/source/r/requests/%{module}-%{version}.tar.gz
-# Source0-md5: cb3d3c58f07cf23f12c345f2c96a6f12
+# Source0-md5: ebc3b42b51c6245524345d170e5d4c50
Patch0: system-cert.patch
Patch1: python-requests-reqs.patch
Patch2: python-requests-disable-xdist.patch
diff --git a/python-requests-disable-xdist.patch b/python-requests-disable-xdist.patch
index 8474a83..772fdb4 100644
--- a/python-requests-disable-xdist.patch
+++ b/python-requests-disable-xdist.patch
@@ -1,11 +1,10 @@
---- requests-2.25.1/setup.py.orig 2021-01-24 18:27:39.728966387 +0100
-+++ requests-2.25.1/setup.py 2021-01-24 18:29:53.264909627 +0100
-@@ -68,7 +63,6 @@ test_requirements = [
- "pytest-httpbin>=2.1.0",
+--- requests-2.33.1/pyproject.toml.orig 2025-04-24 00:00:00.000000000 +0000
++++ requests-2.33.1/pyproject.toml 2025-04-24 00:00:00.000000000 +0000
+@@ -60,7 +60,6 @@
+ "httpbin~=0.10.0",
"pytest-cov",
"pytest-mock",
- "pytest-xdist",
- "PySocks>=1.5.6, !=1.5.7",
"pytest>=3",
+ "trustme",
]
-
diff --git a/python-requests-reqs.patch b/python-requests-reqs.patch
index b9e0e34..b1a6579 100644
--- a/python-requests-reqs.patch
+++ b/python-requests-reqs.patch
@@ -1,12 +1,11 @@
---- requests-2.25.1/setup.py.orig 2020-12-16 18:43:25.000000000 +0100
-+++ requests-2.25.1/setup.py 2021-01-24 18:05:52.042717398 +0100
-@@ -65,7 +65,7 @@ requires = [
- "certifi>=2017.4.17",
- ]
- test_requirements = [
+--- requests-2.33.1/pyproject.toml.orig 2025-04-24 00:00:00.000000000 +0000
++++ requests-2.33.1/pyproject.toml 2025-04-24 00:00:00.000000000 +0000
+@@ -56,7 +56,7 @@
+ [dependency-groups]
+ test = [
+ "requests[socks]",
- "pytest-httpbin==2.1.0",
+ "pytest-httpbin>=2.1.0",
+ "httpbin~=0.10.0",
"pytest-cov",
"pytest-mock",
- "pytest-xdist",
-
diff --git a/system-cert.patch b/system-cert.patch
index 5ca6f21..e013f20 100644
--- a/system-cert.patch
+++ b/system-cert.patch
@@ -1,12 +1,10 @@
-diff -dur requests-2.18.2.orig/requests/certs.py requests-2.18.2/requests/certs.py
---- requests-2.18.2.orig/src/requests/certs.py 2017-05-31 11:19:09.000000000 +0200
-+++ requests-2.18.2/src/requests/certs.py 2017-08-01 14:30:44.000000000 +0200
-@@ -11,7 +11,14 @@ If you are packaging Requests, e.g., for
- environment, you can change the definition of where() to return a separately
+--- requests-2.33.1/src/requests/certs.py 2026-04-24 15:42:47.921673130 +0200
++++ requests-2.33.1/src/requests/certs.py 2026-04-24 15:42:47.971459284 +0200
+@@ -12,7 +12,13 @@
packaged CA bundle.
"""
+
-from certifi import where
-+
+import os
+
+if os.path.exists("/etc/certs/ca-certificates.crt"):
@@ -14,7 +12,6 @@ diff -dur requests-2.18.2.orig/requests/certs.py requests-2.18.2/requests/certs.
+ return "/etc/certs/ca-certificates.crt"
+else:
+ from certifi import where
-
+
if __name__ == "__main__":
print(where())
-
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python3-requests.git/commitdiff/fd2ac8080fb4310494ddc5dcc36e01607bb48ca0
More information about the pld-cvs-commit
mailing list