aws / efs-utils

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

utcnow() deprecation warning under Python 3.12 #187

Closed major closed 2 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.
bugfood commented 3 months ago

I think that https://github.com/aws/efs-utils/pull/217 is correct for this.

anthotse commented 2 months ago

Use of datetime.utcnow() is removed in v2.0.3.