jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/640724 )
Change subject: [bugfix] fix import of httplib after release of requests 2.25 ......................................................................
[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(-)
Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified
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