Skip to content

executor+ipxe-boot-server: replace deprecated datetime.utcnow() with datetime.now(UTC)

Eric Engestrom requested to merge eric/ci-tron:utcnow into main

The problem with datetime.utcnow() is that it doesn't return a timezone-aware datetime object, which causes plenty of issues, so it has been deprecated in python 3.12 and will be removed in a future version, in favour of datetime.now(UTC).

Merge request reports