Package: lavacli Version: 2.2.0-2 Severity: normal Tags: patch Dear Maintainer,
When I run lavacli, I got the following warning message: /usr/lib/python3/dist-packages/lavacli/commands/jobs.py:686: 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). "dt": datetime.datetime.utcnow().isoformat(), It's related to datetime.datetime.utcnow() introduced in Python 3.12 by replacing with datetime.datetime.now(datetime.timezone.utc). The fix I attached maintain the same functionality while addressing the deprecation warnings and works for older and newer python Please help to look. Thanks Lei
0001-Fix-datetime.utcnow-deprecation-warning-in-Python-3..patch
Description: 0001-Fix-datetime.utcnow-deprecation-warning-in-Python-3..patch