Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

datetime.datetime.utcnow() deprecation (fix #13804) #13805

Closed
wants to merge 2 commits into from

Conversation

teward
Copy link
Member

@teward teward commented Nov 18, 2024

We have confirmed cases of deprecated code in our ws.py system. See #13804.

This fixes this but keeps Python 3.9/3.10 compatibility by using datetime.timezone.utc instead of Python 3.12's recommendation of using datetime.UTC which is an alias/copy of the same.

@teward teward linked an issue Nov 18, 2024 that may be closed by this pull request
@teward teward closed this Nov 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

datetime.datetime.now() Items still deprecated (see #8552)
1 participant