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

Remove deprecated utcnow calls #209

Closed
sigmavirus24 opened this issue Apr 10, 2024 · 2 comments · Fixed by #210
Closed

Remove deprecated utcnow calls #209

sigmavirus24 opened this issue Apr 10, 2024 · 2 comments · Fixed by #210

Comments

@sigmavirus24
Copy link
Collaborator

datetime.datetime.utcnow() is deprecated. We should use datetime.datime.now(datetime.timezone.UTC) where we use utcnow today

@cryptomail
Copy link

FYI: I think there are a few more deprecation spots 😿
Screenshot 2024-08-20 at 12 58 12 PM
adapter.py is an example I'm getting Python 3.12 complaints about.

@cryptomail
Copy link

oh wait, latest in source doesn't have this!

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

Successfully merging a pull request may close this issue.

2 participants