Python 3.12からdatetime.utcnow()がdeprecatedに。代わりにdatetime.now(timezone.utc)を使ってください、と。はい。
---
It's Time For A Change: datetime.utcnow() Is Now Deprecated
https://blog.miguelgrinberg.com/post/it-s-time-for-a-change-datetime-utcnow-is-now-deprecated
#bookmarks