aws / efs-utils

Utilities for Amazon Elastic File System (EFS)
MIT License
285 stars 187 forks source link

Fix utcnow() deprecation warning #188

Closed major closed 10 months ago

major commented 10 months ago

Fedora 39 has Python 3.12 and running the efs-utils watchdog causes the system journal to be filled with deprecation warnings:

/usr/bin/amazon-efs-mount-watchdog:2009: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version.

Fixes: aws/efs-utils#187

major commented 10 months ago

Ugh, this was not what I meant. Will open another PR.