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 12:44:13 UTC
[airflow] 01/01: Use snakebite-py3 for HDFS dependency for Python3
This is an automated email from the ASF dual-hosted git repository.
kaxilnaik pushed a commit to branch use-snakebit-py3
in repository https://gitbox.apache.org/repos/asf/airflow.git
commit 9e7069466bd0294e0733254b29314a81d9e0acef
Author: Kaxil Naik <ka...@gmail.com>
AuthorDate: Fri Nov 13 12:41:24 2020 +0000
Use snakebite-py3 for HDFS dependency for Python3
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 0b6480b..7e708f0 100644
--- a/setup.py
+++ b/setup.py
@@ -276,7 +276,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',