[ 
https://issues.apache.org/jira/browse/AIRFLOW-5033?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16892548#comment-16892548
 ] 

Jarek Potiuk commented on AIRFLOW-5033:
---------------------------------------

[~thesuperzapper] [~jackjack10]  I switched snakebite to snakebite-py3 in 
[https://github.com/apache/airflow/pull/5659] - maybe you can try out to 
install this version locally. Snakebite-py3 is alledgedly py3 compatible. I 
still cannot do `pip install -e. [kerberos]` and get this error - but maybe you 
can start from there and be able to fix it :


{code:java}
gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall 
-fPIC -I. -Ikrb5 -Icom_err -I/usr/local/include/python3.6m -c krb5util.c -o 
build/temp.linux-x86_64-3.6/krb5util.o
 krb5util.c: In function ‘dict_addint’:
 krb5util.c:7:9: warning: implicit declaration of function 
‘PyString_FromString’ [-Wimplicit-function-declaration]
 key = PyString_FromString(name);
 ^~~~~~~~~~~~~~~~~~~
 krb5util.c:7:7: warning: assignment makes pointer from integer without a cast 
[-Wint-conversion]
 key = PyString_FromString(name);
...{code}

> Cannot install apache-airflow[kerberos] on Python 3
> ---------------------------------------------------
>
>                 Key: AIRFLOW-5033
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-5033
>             Project: Apache Airflow
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 1.10.3
>            Reporter: Mathew Wicks
>            Priority: Major
>
> Currently you cannot install apache-airflow[kerberos] with Python 3.
> *Steps to reproduce: (For Ubuntu)*
>  # Ensure you have the required build dependencies, _*sudo apt install 
> libsasl2-dev libkrb5-dev*_
>  # Create a new conda environment. _*conda create -n airflow_36 python=3.6*_
>  # Activate the environment: _*conda activate airflow_36*_
>  # Attempt to install _*pip install apache-airflow[kerberos]*_
>  # **fails**
> The error is caused by trying to install python-krbV as a depednancy of 
> snakebite[kerberos], as python-krbV does not support Python 3.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

Reply via email to