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.utcnow() is deprecated #6553

Closed
rdimaio opened this issue Mar 13, 2024 · 1 comment
Closed

datetime.utcnow() is deprecated #6553

rdimaio opened this issue Mar 13, 2024 · 1 comment

Comments

@rdimaio
Copy link
Contributor

rdimaio commented Mar 13, 2024

Description

The method "utcnow" in class "datetime" is deprecated
  Use timezone-aware objects to represent datetimes in UTC; e.g. by calling .now(datetime.UTC)

there are 333 instances of datetime.utcnow() in rucio/rucio as of creating this issue.

Steps to reproduce

N/A

Rucio Version

No response

Additional Information

No response

@dchristidis
Copy link
Contributor

Duplicate of #6476.

@dchristidis dchristidis closed this as not planned Won't fix, can't repro, duplicate, stale Mar 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants