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 21:07:42 UTC

(airflow) 01/07: 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 v2-7-test
in repository https://gitbox.apache.org/repos/asf/airflow.git

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

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

diff --git a/setup.cfg b/setup.cfg
index 5b0a895c03..e720b93778 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -133,7 +133,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