FIX: Update datetimeutcnow to new syntax to fix depreciation warning.
datetime updated their syntax to use timezone-aware objects to represent datetimes in UTC. This is fixed by calling .now instead of utcnow and providing the UTC object in the now function call.
Merge request reports
Activity
Looks like the failure may be related to this: https://github.com/python-poetry/poetry/issues/9293
added 1 commit
- 1d2eacf4 - FIX: Use timezone.utc instead of datetime.UTC
Please register or sign in to reply