Closed guw closed 3 months ago
A newer Python must have deprecated it. This should be easy to fix. The only constraint is that we don't pick an API which is only in the most recent Pythons.
Yes, this is deprecated in Python 3.12.
datetime: datetime.datetime’s utcnow() and utcfromtimestamp() are deprecated and will be removed in a future version. Instead, use timezone-aware objects to represent datetimes in UTC: respectively, call now() and fromtimestamp() with the tz parameter set to datetime.UTC.
Fortunately, datetime.fromtimestamp has been available ~forever.
SGTM. fix on the way
I started to see this on MacOS Sonoma 14.3.1:
Might be related to a recent
brew upgrade
?