PrefectHQ / prefect

Prefect is a workflow orchestration framework for building resilient data pipelines in Python.
https://prefect.io
Apache License 2.0
15.45k stars 1.52k forks source link

Deprecate `pendulum` 2.X support #11619

Open zangell44 opened 6 months ago

zangell44 commented 6 months ago

First check

Description

At the time of this writing, pendulum 3.X is required to work with Python 3.12 and later. pendulum 2.X does not work with Python 3.12.

To minimize user facing impact, pendulum 2.X is installed alongside any prefect version using Python 3.11 or earlier and pendulum 3.X is installed alongside any prefect version using Python 3.12 or later.

Impact

Forcing users to upgrade pendulum may break their code. When adoption of pendulum 3.X is sufficient, we should upgrade.

Alternatively, we may choose to vendor pendulum to avoid this issue going forward.

Additional context

No response

egeres commented 4 weeks ago

I also had a bug on termux with pendulum 2.X which fixed by installing pendulum 3.X