PyAirbyte icon indicating copy to clipboard operation
PyAirbyte copied to clipboard

Add support for Pendulum 3.0

Open aaronsteers opened this issue 1 year ago • 1 comments

Some users have requested support for Pendulum 3.0. This issue is created to track and prioritize this update.

Work Required

We will need to first update the Airbyte Python CDK, which depends on Pendulum <3.0.

Ideal implementation

If possible, we should try to support Pendulum >=2.0,<=4.0. This would prevent conflicts if PyAirbyte is installed alongside something that requires Pendulum 2.x.

aaronsteers avatar Sep 23 '24 23:09 aaronsteers

I have been running into this issue as well. Airbyte is failing to build the wheel for Pendulum<3.0 because that is incompatible with Python 3.12 due to Pendulum<3.0 using DistUtils which was deprecated in Python 3.12.

bweithers avatar Sep 24 '24 15:09 bweithers

@bweithers @aaronsteers Yaa Airbyte works properly only with python version 3.11 other than that Airbyte is failing to build the wheel for Pendulum I am unable source-notion bcoz of this reason !! Is there any work around for this ??

Sakiruto avatar Jan 31 '25 07:01 Sakiruto

I believe that @aaronsteers laid out some larger problems with the move to pendulum 3, specifically with some BC-breaking changes that were causing blocking issues. Can't find it right now, but iirc it was pretty gnarly.

jscheel avatar Jan 31 '25 17:01 jscheel

I believe that @aaronsteers laid out some larger problems with the move to pendulum 3

Indeed!!

@Sakiruto - did you try using the latest PyAirbyte version? The latest release this week (0.23.0) attempted to clear the path for 3.12, including removing Pendulum.

aaronsteers avatar Jan 31 '25 21:01 aaronsteers

~~Update: I see that the latest release didn't properly update the Python version constraint. A new patch release (0.23.1) is in progress and should fix this in the next couple hours.~~

~~Please report back if you are able to test on the latest version - thanks!~~

aaronsteers avatar Jan 31 '25 22:01 aaronsteers

Update (2): I have confirmed that 0.23.0 is now installable on Python 3.12. As part of this migration, PyAirbyte and the CDK have removed all references to Pendulum - which should resolve dependency conflict issues with Pendulum 2.x and 3.x alike.

@jscheel, @jscheel, and @Sakiruto - Please feel free to retest using PyAirbyte >=0.23.0, and let us know if you run into any further issues. Thanks!

aaronsteers avatar Feb 01 '25 02:02 aaronsteers

Thanks a lot , it works now

yomanthunder avatar Feb 01 '25 02:02 yomanthunder

@aaronsteers can confirm it's working on my end as well 👍

jscheel avatar Feb 21 '25 15:02 jscheel