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

potiuk pushed a commit to branch v2-2-test
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/v2-2-test by this push:
     new 205332e  Exclude snowflake-sqlalchemy v1.2.5 (#20245)
205332e is described below

commit 205332e10f83059c90795ae16cc7f26cbf133ac6
Author: Kamil BreguĊ‚a <[email protected]>
AuthorDate: Mon Dec 13 12:07:26 2021 +0100

    Exclude snowflake-sqlalchemy v1.2.5 (#20245)
    
    (cherry picked from commit 044eccf61b35b6e07a9a87dc6d2e5fae76646541)
---
 setup.py | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/setup.py b/setup.py
index 7b87f48..90a2037 100644
--- a/setup.py
+++ b/setup.py
@@ -457,7 +457,10 @@ slack = [
 ]
 snowflake = [
     'snowflake-connector-python>=2.4.1',
-    'snowflake-sqlalchemy>=1.1.0',
+    # The snowflake-alchemy 1.2.5 introduces a hard dependency on 
sqlalchemy>=1.4.0, but they didn't define
+    # this requirements in setup.py, so pip cannot figure out the correct set 
of dependencies.
+    # See: https://github.com/snowflakedb/snowflake-sqlalchemy/issues/234
+    'snowflake-sqlalchemy>=1.1.0,!=1.2.5',
 ]
 spark = [
     'pyspark',

Reply via email to