Replace usage of datetime.utcnow() with datetime.now(UTC)
This MR replaces all usage of datetime.datetime.utcnow()
with datetime.datetime.now(datetime.UTC)
. The former is deprecated as of Python 3.12.
Maintenance will be performed on git.ligo.org, containers.ligo.org, and docs.ligo.org on Tuesday 24 September 2024 starting at approximately 9am PDT. It is expected to take around 30 minutes and there will be several periods of downtime throughout the maintenance. Please address any comments, concerns, or questions to the helpdesk.
This MR replaces all usage of datetime.datetime.utcnow()
with datetime.datetime.now(datetime.UTC)
. The former is deprecated as of Python 3.12.