Skip to content
Snippets Groups Projects
Commit f388c6f3 authored by Thomas Goirand's avatar Thomas Goirand
Browse files

* Add requests-2.32.2.patch, thanks to Colin Watson <cjwatson@debian.org>

    (Closes: #1073393).
parent 8016da5a
No related branches found
No related tags found
No related merge requests found
python-requests-unixsocket (0.3.0-5) unstable; urgency=medium
* Add requests-2.32.2.patch, thanks to Colin Watson <cjwatson@debian.org>
(Closes: #1073393).
-- Thomas Goirand <zigo@debian.org> Mon, 26 Aug 2024 17:02:36 +0200
python-requests-unixsocket (0.3.0-4) unstable; urgency=medium
* Apply Ubuntu patch (Closes: #1063892):
......
Description: adapters: fix for requests 2.32.2+
Author: Simon Deziel <simon.deziel@canonical.com>
Origin: other, https://github.com/msabramo/requests-unixsocket/pull/72
Bug-Debian: https://bugs.debian.org/1073393
Last-Update: 2024-08-16
--- python-requests-unixsocket-0.3.0.orig/requests_unixsocket/adapters.py
+++ python-requests-unixsocket-0.3.0/requests_unixsocket/adapters.py
@@ -58,6 +58,10 @@ class UnixAdapter(HTTPAdapter):
pool_connections, dispose_func=lambda p: p.close()
)
+ # Fix for requests 2.32.2+: https://github.com/psf/requests/pull/6710
+ def get_connection_with_tls_context(self, request, verify, proxies=None, cert=None):
+ return self.get_connection(request.url, proxies)
+
def get_connection(self, url, proxies=None):
proxies = proxies or {}
proxy = proxies.get(urlparse(url.lower()).scheme)
0001-Inherit-HTTPConnection-through-urllib3.connection-no.patch
testutils-fix-test-flake-on-HEAD-request.patch
requests-2.32.2.patch
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment