poljar / weechat-matrix

Weechat Matrix protocol script written in python
Other
961 stars 121 forks source link

Document minimal python3 requirement (for Deque)... #235

Closed strk closed 4 years ago

strk commented 4 years ago

As per _habnabit comment in #python IRC channel on Freenode Helping me to find out why I was getting:

python: stdout/stderr (?): ImportError: cannot import name 'Deque'

habnabit commented 4 years ago

it's actually 3.5.4/3.6.1: https://docs.python.org/3/library/typing.html#typing.Deque

strk commented 4 years ago

it would feel easier to avoid using that class than encoding this fine-tuned dependency

strk commented 4 years ago

By the way, the README says python2 can be used, is it real ?