jenkins-bot submitted this change.
[bugfix] fix import of httplib after release of requests 2.25
Requests v2,25 uses urllib3 1.26, which has removed the export of
httplib from urllib3/response.py.
Use httplib in urllib3.util.response then.
Bug: T267762
Change-Id: I220675cdc61bf508b346c9db2f3f8b5fa9f5d939
---
M pywikibot/comms/eventstreams.py
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pywikibot/comms/eventstreams.py b/pywikibot/comms/eventstreams.py
index e354ffb..456b35e 100644
--- a/pywikibot/comms/eventstreams.py
+++ b/pywikibot/comms/eventstreams.py
@@ -22,7 +22,7 @@
from requests import __version__ as requests_version
from requests.packages.urllib3.exceptions import ProtocolError
-from requests.packages.urllib3.response import httplib
+from requests.packages.urllib3.util.response import httplib
try:
from sseclient import SSEClient as EventSource
To view, visit change 640724. To unsubscribe, or for help writing mail filters, visit settings.