Open wosc opened 4 months ago
Hello @edgarrmondragon.
Do you know if there was an answer for how to deal with this?
Hello @edgarrmondragon.
Do you know if there was an answer for how to deal with this?
Not a maintainer, but since it's just a warning the simplest way to deal with it is to ignore it either globally^1 or in the pytest config^2 if you use that.
There seems to be an open PR to address this: https://github.com/sdispater/pendulum/pull/803.
[x] I am on the latest Pendulum version
[x] I have searched the issues of this repo and believe that this is not a duplicate.
OS version and name: macOS 14.5, Debian Linux 12
Pendulum version: 3.0
Issue
datetime.utcfromtimestamp() is used by
pendulum.from_timestamp()
, but it is deprecated starting in Python-3.12 (the stdlib docs say to usedatetime.fromtimestamp(timestamp, tz=timezone.utc)
instead):