-
Notifications
You must be signed in to change notification settings - Fork 66
Closed
Description
Describe the bug
0.9.4 changed the way abc was imported from collections. See: #201
When Python 2.7.5 imports uplink we get the following error:
>>> import uplink
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python2.7/site-packages/uplink/__init__.py", line 4, in <module>
from uplink import returns, types
File "/usr/lib/python2.7/site-packages/uplink/returns.py", line 6, in <module>
from uplink import decorators
File "/usr/lib/python2.7/site-packages/uplink/decorators.py", line 6, in <module>
from collections import abc
ImportError: cannot import name abc
To Reproduce
pip install uplink --upgrade
python
>>> import uplink
Expected behavior
We should be able to use uplink with Python 2.7 since it is still advertised as Python 2.7 compatible.
Additional context
I have not had a chance to test this to see if this issue is solved in future Python 2.7 releases but Python 2.7.5 is what we currently use.
Metadata
Metadata
Assignees
Labels
No labels