You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by ep...@apache.org on 2023/11/01 11:30:15 UTC

(airflow) branch main updated: Upper bound `pendulum` requirement to <3.0 (#35336)

This is an automated email from the ASF dual-hosted git repository.

ephraimanierobi pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/main by this push:
     new 4903b1114d Upper bound `pendulum` requirement to <3.0 (#35336)
4903b1114d is described below

commit 4903b1114de39926b3a79c196414a57c80a1036c
Author: Andrey Anshin <An...@taragol.is>
AuthorDate: Wed Nov 1 15:30:08 2023 +0400

    Upper bound `pendulum` requirement to <3.0 (#35336)
---
 setup.cfg | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/setup.cfg b/setup.cfg
index 21115ce83e..2cda0924cc 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -128,7 +128,9 @@ install_requires =
     opentelemetry-exporter-otlp
     packaging>=14.0
     pathspec>=0.9.0
-    pendulum>=2.0
+    # When (if) pendulum 3 released it would introduce changes in module/objects imports,
+    # since we are tightly coupled with pendulum library internally it will breaks Airflow functionality.
+    pendulum>=2.0,<3.0
     pluggy>=1.0
     psutil>=4.2.0
     # We should bump it to at least pydantic>=2.3.0 when we prepare Airflow 2.8.0 release