I’m seeing this deprecation warning in my test suite with Python 3.12:
/.../minio/time.py:105: 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).
return datetime.utcnow().replace(tzinfo=timezone.utc)
I’m seeing this deprecation warning in my test suite with Python 3.12:
Deprecation release notes