clld / crossgram

Apache License 2.0
0 stars 0 forks source link

py3.5/3.6 incompatibility #1

Closed xrotwang closed 3 years ago

xrotwang commented 3 years ago

fromisoformat is new in py 3.7 - so should not be used for clld apps (yet):

  File "/home/forkel/venvs/crossgram/crossgram/crossgram/lib/cldf.py", line 375, in load
    published = date.fromisoformat(contrib_md['published'])
AttributeError: type object 'datetime.date' has no attribute 'fromisoformat'
xrotwang commented 3 years ago

nice. can run the app locally, now. wild logo, though.

johenglisch commented 3 years ago

Oh, right -- I keep forgetting about that. (<_<)"