BAntonellini commented on issue #36560: URL: https://github.com/apache/airflow/issues/36560#issuecomment-1876010822
I've been experiencing a similar issue, can you check which version of `pendulum` is being installed? I use Airflow 2.3.1 and I see it asks for `pendulum>=2.0` ``` Collecting pendulum>=2.0 (from apache-airflow==2.3.1) Downloading pendulum-3.0.0-cp38-cp38-macosx_11_0_arm64.whl.metadata (6.9 kB) [...] pip list | grep pendulum pendulum 3.0.0 ``` In certain test I instantiate the `DagBag` class to see if DAGs are OK, and Airflow settings' `TIMEZONE = pendulum.tz.timezone('UTC')` breaks when using Pendulum 3.0.0 If that's the case, you must rollback to `pendulum 2.1.2` ![image](https://github.com/apache/airflow/assets/22618882/0fa4430c-c0f9-4275-aac9-b14dd1a23d0a) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@airflow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org