ehpor / hcipy

A framework for performing optical propagation simulations, meant for high contrast imaging, in Python.
https://hcipy.org
MIT License
93 stars 31 forks source link

`utcnow` is deprecated in Python 3.12 #200

Closed ehpor closed 1 year ago

ehpor commented 1 year ago

See https://docs.python.org/3.12/library/datetime.html#datetime.datetime.utcnow.

We're using it here: https://github.com/ehpor/hcipy/blob/68fbe9c6c3f3aaecfdd0cc79e7912c33acfb884a/hcipy/util/io.py#L107