You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "Csaba Ringhofer (Jira)" <ji...@apache.org> on 2025/08/21 18:56:00 UTC

[jira] [Resolved] (IMPALA-12656) impala-shell cannot be installed on Python 3.11

     [ https://issues.apache.org/jira/browse/IMPALA-12656?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Csaba Ringhofer resolved IMPALA-12656.
--------------------------------------
    Fix Version/s: Impala 4.5.1
       Resolution: Fixed

> 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
>             Fix For: Impala 4.5.1
>
>
> 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/python@3.11/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: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org