fedora-copr / copr

RPM build system - upstream for https://copr.fedorainfracloud.org/
115 stars 59 forks source link

utcnow() is deprecated #3296

Closed xsuchy closed 3 months ago

xsuchy commented 3 months ago

Addressing: /usr/bin/copr-backend-analyze-results:153: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC). timestamp = datetime.utcnow().isoformat()