New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BUG: Dependencies for Impala and Kerberos are insufficient in setup.py #2342
Comments
I don't understand the cons in 2, that sounds like the best solution to me, but I guess I'm not understanding your point. But @jreback will have a more informed opinion than me on this. |
@datapythonista To clarify, impyla specifies a specific version of thrift_sasl and there's the possibility that our version and the impyla version become out of sync. Option 1 lets us rely on impyla to specify the correct version with no extra maintenance work. Of course, it's not a huge deal, just one less thing to think about. |
all about making this 0-mainenance; the impala backend doesn't have a lot of dev support |
Okay, sounds like option 2 is preferred then. I can create a PR to change the dependencies in setup.py, but I'm not as familiar with how conda does the equivalent. Does the change just need to be made to the environment.yml file? |
There exists a situation in which after installing ibis with both the kerberos and impala extras, auth to a kerberized cluster will fail. I have confirmed this on Windows, I'm not sure if the issue is limited to Windows though. The issue can be reproduced by doing the following after creating a new venv:
This will throw a
ModuleNotFoundError
, which originates from the impyla library here. Looking at the impyla setup.py file, we can see if we want kerberos auth available, we must install impyla with the kerberos extras argument, which installs thrift_sasl.The change is small, but there are a couple ways to do this with some trade offs.
I would advocate for option 1 as the downsides seem negligible, but there may be other problems that I have not identified yet, so I'd prefer to gather some feedback first.
The text was updated successfully, but these errors were encountered: