You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "Michael Smith (Jira)" <ji...@apache.org> on 2023/12/19 21:10:00 UTC

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

Michael Smith created IMPALA-12656:
--------------------------------------

             Summary: 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


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/32] might fix it.



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