Skip to content

Conversation

@zaz
Copy link

@zaz zaz commented Sep 12, 2025

Fixes the deprecation warning:

/usr/lib/python3.13/site-packages/salt/utils/jid.py:19: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).

Apologies, I ignored the template because this is very minor.

Untested.

Related: #67943

@zaz zaz requested a review from a team as a code owner September 12, 2025 10:37
Copy link
Contributor

@twangboy twangboy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This needs a changelog and a test

@twangboy twangboy added this to the Argon v3008.0 milestone Sep 15, 2025
@tacerus
Copy link
Contributor

tacerus commented Oct 16, 2025

#66902 looks better

@twangboy
Copy link
Contributor

Closing in favor of #66902

@twangboy twangboy closed this Oct 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants