[
https://issues.apache.org/jira/browse/AIRFLOW-2646?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16525616#comment-16525616
]
ASF subversion and git services commented on AIRFLOW-2646:
----------------------------------------------------------
Commit 80fd3125044a62759b6ab19a046078c7f568c6a8 in incubator-airflow's branch
refs/heads/v1-10-test from [~sekikn]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-airflow.git;h=80fd312 ]
[AIRFLOW-2646] Fix setup.py not to install snakebite on Python3
setup.py has a logic to avoid installing
snakebite on Python3, but it doesn't work.
This is because the variable devel_all is
now a tuple of lists. This PR fixes
that variable to be a flat list and
makes the logic work as expected.
Closes #3522 from sekikn/AIRFLOW-2646
(cherry picked from commit 105ac150580af0a1a64bb5e0417fc57b2a0e49bb)
Signed-off-by: Bolke de Bruin <[email protected]>
> Fix setup.py not to install snakebite on Python3
> ------------------------------------------------
>
> Key: AIRFLOW-2646
> URL: https://issues.apache.org/jira/browse/AIRFLOW-2646
> Project: Apache Airflow
> Issue Type: Bug
> Components: ci
> Reporter: Kengo Seki
> Assignee: Kengo Seki
> Priority: Minor
> Fix For: 2.0.0
>
>
> setup.py has the following lines:
> {code:title=setup.py}
> 229 if PY3:
> 230 devel_ci = [package for package in devel_all if package not in
> 231 ['snakebite>=2.7.8', 'snakebite[kerberos]>=2.7.8']]
> {code}
> but it doesn't work as expected:
> {code}
> $ pip3 install --upgrade -e ".[devel_ci]"
> (snip)
> Running setup.py install for snakebite ... done
> (snip)
> Successfully installed (snip) snakebite-2.11.0 (snip)
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)