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

husseinawala 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 74d22fd6ce limit simple-salesforce version which breaks MyPy checks 
(#39045)
74d22fd6ce is described below

commit 74d22fd6ceb86c90a5b142ebd7aed9c73dfd442c
Author: Hussein Awala <[email protected]>
AuthorDate: Tue Apr 16 01:07:10 2024 +0200

    limit simple-salesforce version which breaks MyPy checks (#39045)
---
 airflow/providers/salesforce/provider.yaml | 4 +++-
 generated/provider_dependencies.json       | 2 +-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/airflow/providers/salesforce/provider.yaml 
b/airflow/providers/salesforce/provider.yaml
index 5efa276b5c..05e34e8789 100644
--- a/airflow/providers/salesforce/provider.yaml
+++ b/airflow/providers/salesforce/provider.yaml
@@ -55,7 +55,9 @@ versions:
 
 dependencies:
   - apache-airflow>=2.6.0
-  - simple-salesforce>=1.0.0
+  # simple-salesforce 1.12.6 breaks static checks, so we limit it to <1.12.6 
for now
+  # https://github.com/apache/airflow/pull/39045
+  - simple-salesforce>=1.0.0,<1.12.6
   # In pandas 2.2 minimal version of the sqlalchemy is 2.0
   # 
https://pandas.pydata.org/docs/whatsnew/v2.2.0.html#increased-minimum-versions-for-dependencies
   # However Airflow not fully supports it yet: 
https://github.com/apache/airflow/issues/28723
diff --git a/generated/provider_dependencies.json 
b/generated/provider_dependencies.json
index 841f376467..8771cab541 100644
--- a/generated/provider_dependencies.json
+++ b/generated/provider_dependencies.json
@@ -970,7 +970,7 @@
     "deps": [
       "apache-airflow>=2.6.0",
       "pandas>=1.2.5,<2.2",
-      "simple-salesforce>=1.0.0"
+      "simple-salesforce>=1.0.0,<1.12.6"
     ],
     "devel-deps": [],
     "cross-providers-deps": [],

Reply via email to