python_xid icon indicating copy to clipboard operation
python_xid copied to clipboard

Missing typing requirement

Open wonderbeyond opened this issue 7 years ago • 4 comments

  • Python version: 2.7.13
  • xid==1.0.4
web_1            |     from lib.flask_request_id import RequestID
web_1            |   File "/usr/share/Amidala/lib/flask_request_id.py", line 2, in <module>
web_1            |     from xid import Xid
web_1            |   File "/usr/local/lib/python2.7/site-packages/xid.py", line 15, in <module>
web_1            |     from typing import List
web_1            | ImportError: No module named typing
web_1            | [2017-10-16 03:01:43 +0000] [9] [INFO] Worker exiting (pid: 9)

wonderbeyond avatar Oct 16 '17 03:10 wonderbeyond

odd, there's a try/except explicitly to catch that: https://github.com/graham/python_xid/blob/master/xid.py#L15

maybe the pipi package is not up to date?

graham avatar Oct 18 '17 22:10 graham

Yes, please make a update to pypi.

wonderbeyond avatar Oct 19 '17 01:10 wonderbeyond

Please make an update to PyPi package for Python3 support. The released package still throws errors for map(ord, val).

sooryranga avatar Jun 28 '19 14:06 sooryranga

+1 would really appreciate it :)

tyrantkhan avatar Sep 04 '19 11:09 tyrantkhan