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

[airflow] branch v1-10-test updated: Use snakebite-py3 for HDFS dependency for Python3 (#12340)

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

kaxilnaik pushed a commit to branch v1-10-test
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/v1-10-test by this push:
     new ef2cf4d  Use snakebite-py3 for HDFS dependency for Python3 (#12340)
ef2cf4d is described below

commit ef2cf4da424bb7c5536d5dd54e4080b9b84c04ad
Author: Kaxil Naik <ka...@gmail.com>
AuthorDate: Fri Nov 13 18:14:39 2020 +0000

    Use snakebite-py3 for HDFS dependency for Python3 (#12340)
    
    closes https://github.com/apache/airflow/issues/10940
---
 setup.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/setup.py b/setup.py
index 20c05a9..0be4c6b 100644
--- a/setup.py
+++ b/setup.py
@@ -281,7 +281,8 @@ hashicorp = [
     'hvac~=0.10',
 ]
 hdfs = [
-    'snakebite>=2.7.8',
+    'snakebite>=2.7.8;python_version<"3.0"',
+    'snakebite-py3;python_version>="3.0"'
 ]
 hive = [
     'hmsclient>=0.1.0',