Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-12656

impala-shell cannot be installed on Python 3.11

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • Impala 4.3.0
    • None
    • None
    • ghx-label-10

    Description

      Trying to pip install impala-shell fails with

            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. 

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            MikaelSmith Michael Smith
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: