You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by po...@apache.org on 2020/12/23 06:56:23 UTC

[airflow] 02/02: Click should be limited for Python 2.7

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

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

commit 33b2c82fcf4b8efc264360a7f54a541daf8c0025
Author: Jarek Potiuk <ja...@potiuk.com>
AuthorDate: Wed Dec 23 07:54:09 2020 +0100

    Click should be limited for Python 2.7
---
 setup.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/setup.py b/setup.py
index f60b7c9..733cc9f 100644
--- a/setup.py
+++ b/setup.py
@@ -345,7 +345,6 @@ papermill = [
     'pyarrow<1.0.0',
     'fsspec<0.8.0;python_version=="3.5"',
     'black==20.8b0;python_version>="3.6"'  # we need to limit black version as we have click < 7
-
 ]
 password = [
     'bcrypt>=2.0.0',
@@ -601,6 +600,7 @@ INSTALL_REQUIREMENTS = [
     # cattrs >= 1.1.0 dropped support for Python 3.6
     'cattrs>=1.0, <1.1.0;python_version<="3.6"',
     'cattrs>=1.0, <2.0;python_version>"3.6"',
+    'click<8.0.0;python_version<"3.0"',  # click >8 is python 3.6 only but not marked as such yet
     'colorlog==4.0.2',
     'configparser>=3.5.0, <3.6.0',
     'croniter>=0.3.17, <0.4',