Page MenuHomePhabricator

from requests.packages.urllib3.response import httplib failing
Closed, InvalidPublicBUG REPORT

Description

tests/eventstreams_tests.py:14: in <module>
    from pywikibot.comms.eventstreams import EventStreams, EventSource
pywikibot/comms/eventstreams.py:25: in <module>
    from requests.packages.urllib3.response import httplib
E   ImportError: cannot import name 'httplib'

This is strange because the current code is

from requests.packages.urllib3.util.response import httplib

See also T267762

Event Timeline

Xqt triaged this task as High priority.Dec 8 2020, 5:00 PM
Xqt changed the subtype of this task from "Task" to "Bug Report".
Xqt updated the task description. (Show Details)

Sorry, this is stable with older requests release