python-pendulum / pendulum

Python datetimes made easy

Home Page:https://pendulum.eustace.io

Repository from Github https://github.compython-pendulum/pendulumRepository from Github https://github.compython-pendulum/pendulum

3.13 support

raphaelauv opened this issue · comments

  • I have searched the issues of this repo and believe that this is not a duplicate.
  • I have searched the documentation and believe that my question is not covered.

Feature Request

Hi, an official support of python 3.13, thanks

Is Pendulum incompatible right now?

commented

There are no Python 3.13 wheels provided. That’s the least I can say.
Releasing a new version on PyPI will provide a 3.13 wheel.
Python 3.13 stable has been released on October 7th!

3.13 is released, hopefully a 3.13 wheel can be provided soon. I don't want to install Rust to use Python ;-)

@sdispater Is it possible to get this in, please?

commented

May be @Secrus?

Some slightly bad news here. While the tests are passing with Python 3.12 the tests do not pass on 3.13.

Python 3.13 removed uuid._load_system_functions which is called by time-machine which pendulum depends on.

Two ways of fixing this.

1: poetry update time-machine which updates time-machine from 2.13.0 -> 2.15.0 where the call is gated based on sys.version_info.
2: bump minimum version to 3.9 which would update time-machine to 2.16.0 where they also dropped 3.8 support and the call is removed

tbh. it is hard to say why time-machine is in the dependencies. its only use is for tests, still this stuff is import into main __init__. or am I missing something?