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

ASF subversion and git services commented on IMPALA-12656:
----------------------------------------------------------

Commit 9437f9fd1689320e74c71d61a8692d767fa0e073 in impala's branch 
refs/heads/master from Csaba Ringhofer
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=9437f9fd1 ]

IMPALA-12656: Bump sasl to 0.4a1 to allow Python3.11+ in impala-shell

Before this change impala-shell could not be installed on Python 3.11
duo to compilation failure in python-sasl. Checked installation
on Python 3.11/3.12/3.13.

Also bumps impyla version to 0.21a2.

Change-Id: I4efdd105e489e1d0a996d156fb7efbb6fad8da7d
Reviewed-on: http://gerrit.cloudera.org:8080/22593
Tested-by: Impala Public Jenkins <[email protected]>
Reviewed-by: Riza Suminto <[email protected]>


> impala-shell cannot be installed on Python 3.11
> -----------------------------------------------
>
>                 Key: IMPALA-12656
>                 URL: https://issues.apache.org/jira/browse/IMPALA-12656
>             Project: IMPALA
>          Issue Type: Bug
>    Affects Versions: Impala 4.3.0
>            Reporter: Michael Smith
>            Assignee: Csaba Ringhofer
>            Priority: Critical
>              Labels: python3
>
> Trying to {{pip install impala-shell}} fails with
> {code:java}
>       clang -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG 
> -g -fwrapv -O3 -Wall -isysroot 
> /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -Isasl 
> -I/opt/homebrew/opt/[email protected]/Frameworks/Python.framework/Versions/3.11/include/python3.11
>  -c sasl/saslwrapper.cpp -o 
> build/temp.macosx-14-arm64-cpython-311/sasl/saslwrapper.o
>       sasl/saslwrapper.cpp:196:12: fatal error: 'longintrepr.h' file not found
>         #include "longintrepr.h"
>                  ^~~~~~~~~~~~~~~
>       1 error generated. {code}
> Python 3.11 moved this file to a subdirectory in 
> [https://github.com/python/cpython/commit/8e5de40f90476249e9a2e5ef135143b5c6a0b512.]
> Adopting [https://github.com/cloudera/python-sasl/pull/31] or 
> [https://github.com/cloudera/python-sasl/pull/32] might fix it. But they need 
> to be included in a new release of sasl on pypi.org.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to