Blame SOURCES/0002-Use-system-urllib3-package.patch

rdobuilder 9fddc0
From e1f48323a1eb73018e3929eeac65b26eee7207ea Mon Sep 17 00:00:00 2001
rdobuilder 9fddc0
From: Jamie Lennox <jamielennox@gmail.com>
rdobuilder 9fddc0
Date: Wed, 4 Dec 2019 21:56:45 +1100
rdobuilder 9fddc0
Subject: [PATCH] Use system urllib3 package
rdobuilder 9fddc0
rdobuilder 9fddc0
The fedora requests package uses the system urllib3 rather than the one
rdobuilder 9fddc0
bundled into requests. requests-mock must therefore do the same thing.
rdobuilder 9fddc0
---
rdobuilder 9fddc0
 requests_mock/response.py | 2 +-
rdobuilder 9fddc0
 1 file changed, 1 insertion(+), 1 deletion(-)
rdobuilder 9fddc0
rdobuilder 9fddc0
diff --git a/requests_mock/response.py b/requests_mock/response.py
rdobuilder 9fddc0
index d081cf5..13ab2b8 100644
rdobuilder 9fddc0
--- a/requests_mock/response.py
rdobuilder 9fddc0
+++ b/requests_mock/response.py
rdobuilder 9fddc0
@@ -16,9 +16,9 @@ from requests.adapters import HTTPAdapter
rdobuilder 9fddc0
 from requests.cookies import MockRequest, MockResponse
rdobuilder 9fddc0
 from requests.cookies import RequestsCookieJar
rdobuilder 9fddc0
 from requests.cookies import merge_cookies, cookiejar_from_dict
rdobuilder 9fddc0
-from requests.packages.urllib3.response import HTTPResponse
rdobuilder 9fddc0
 from requests.utils import get_encoding_from_headers
rdobuilder 9fddc0
 import six
rdobuilder 9fddc0
+from urllib3.response import HTTPResponse
rdobuilder 9fddc0
rdobuilder 9fddc0
 from requests_mock import compat
rdobuilder 9fddc0
 from requests_mock import exceptions
rdobuilder 9fddc0
--
rdobuilder 9fddc0
2.21.0
rdobuilder 9fddc0