redimp / otterwiki

A minimalistic wiki powered by python, markdown and git.
https://otterwiki.com
MIT License
252 stars 23 forks source link

`datetime.UTC` requires Python 3.11 #107

Closed weaversam8 closed 5 months ago

weaversam8 commented 5 months ago

datetime.UTC (which is used in wiki.py) was added in Python 3.11, but pyproject.toml only requires Python 3.7 or greater:

https://github.com/redimp/otterwiki/blob/c805922fe886f724eefdd118ac0c1d444d59c8aa/otterwiki/wiki.py#L41

https://github.com/redimp/otterwiki/blob/c805922fe886f724eefdd118ac0c1d444d59c8aa/pyproject.toml#L9

Do you want to update the minimum Python version, or try to find a workaround?

redimp commented 5 months ago

Lazy me, I forgot to bump up the requiremnts. I've caught up on it. Thank you!