You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On Ubuntu 16.04, which has Python 3.5.2, apns2.client fails to import, because typing.Deque was not added until Python 3.5.4.
>>> import apns2.client
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/lib/python3.5/dist-packages/apns2/client.py", line 9, in <module>
from typing import Deque, Dict, Iterable, Optional, Tuple, Type, Union
ImportError: cannot import name 'Deque'
The text was updated successfully, but these errors were encountered:
andersk
added a commit
to andersk/PyAPNs2
that referenced
this issue
Oct 4, 2019
On Ubuntu 16.04, which has Python 3.5.2, `apns2.client` failed to
import, because `typing.Deque` was not added until Python 3.5.4.
FixesPr0Ger#88.
Signed-off-by: Anders Kaseorg <[email protected]>
On Ubuntu 16.04, which has Python 3.5.2, `apns2.client` failed to
import, because `typing.Deque` was not added until Python 3.5.4.
Fixes#88.
Signed-off-by: Anders Kaseorg <[email protected]>
On Ubuntu 16.04, which has Python 3.5.2,
apns2.client
fails to import, becausetyping.Deque
was not added until Python 3.5.4.>>> import apns2.client Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/local/lib/python3.5/dist-packages/apns2/client.py", line 9, in <module> from typing import Deque, Dict, Iterable, Optional, Tuple, Type, Union ImportError: cannot import name 'Deque'
The text was updated successfully, but these errors were encountered: