Skip to content

replace deprecated datetime.utcnow() functionality#72

Merged
tonybaloney merged 1 commit intopytest-dev:masterfrom
dijkstrar:fix-datetime-deprecation
Feb 13, 2024
Merged

replace deprecated datetime.utcnow() functionality#72
tonybaloney merged 1 commit intopytest-dev:masterfrom
dijkstrar:fix-datetime-deprecation

Conversation

@dijkstrar
Copy link
Contributor

datetime.utcnow() is deprecated in python3.12 Replacing it with datetime.now(datetime.UTC) will remove deprecation warnings.

datetime.utcnow() is deprecated in python3.12 The replace will fix it and make timezone aware timestamps.
@Wesztman
Copy link

Wesztman commented Feb 9, 2024

Please get this merged, it has been here for several months and causes a huge spam in our CI 😢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants