You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
.venv/lib/python3.12/site-packages/skyfield/timelib.py:134: 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 self.from_datetime(self._utcnow().replace(tzinfo=utc))
The text was updated successfully, but these errors were encountered:
yuvadm
changed the title
utcnow() is being deprecated
DeprecationWarning: datetime.datetime.utcnow() is deprecated
Oct 27, 2024
ruitcatarino
pushed a commit
to ruitcatarino/python-skyfield
that referenced
this issue
Oct 29, 2024
Skyfield is using
utcnow()
which is being deprecated:python-skyfield/skyfield/timelib.py
Line 134 in 2d104a4
This results in warnings being thrown:
The text was updated successfully, but these errors were encountered: