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

Fix deprecation warnings for datetime.datetime.utcnow #1025

Open
soapy1 opened this issue Dec 16, 2024 · 3 comments
Open

Fix deprecation warnings for datetime.datetime.utcnow #1025

soapy1 opened this issue Dec 16, 2024 · 3 comments

Comments

@soapy1
Copy link
Contributor

soapy1 commented Dec 16, 2024

Context

datetime.datetime.utcnow is deprecated after python 3.10. It should be replaced with datetime.datetime.now(datetime.UTC). Once we drop python 3.10 support, we will be able to replace all instances of datetime.datetime.utcnow() with datetime.datetime.now(datetime.UTC).

Follow up to #1013

Value and/or benefit

  • Fixes deprecation warnings 🔧
@imprvhub
Copy link
Contributor

Hi @soapy1 can i be assigned to this? i would like to contribute!.

@soapy1
Copy link
Contributor Author

soapy1 commented Dec 23, 2024

Hey @imprvhub thanks for reaching out! I would say this is not a good one to take on. We'll want to do this when conda-store drops support for python 3.10. We're not ready to do that just yet. Thanks!

@imprvhub
Copy link
Contributor

Hey @imprvhub thanks for reaching out! I would say this is not a good one to take on. We'll want to do this when conda-store drops support for python 3.10. We're not ready to do that just yet. Thanks!
@soapy1
Ok! No worries.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: New 🚦
Development

No branches or pull requests

2 participants