Skip to content

Conversation

kesem0811
Copy link

Currently, PyHive relies on pure-sasl for SASL authentication. However, when attempting to use Kerberos (GSSAPI) authentication, the connection fails with an error such as:
Could not start SASL: None of the mechanisms listed meet all required properties
This happens because pure-sasl does not include GSSAPI support by default. To enable Kerberos, the package must be installed with the GSSAPI extra:
pure-sasl[GSSAPI]
This change ensures that PyHive declares the correct dependency so Kerberos authentication works out of the box. Without this, Kerberos connections will always fail unless users manually install the missing requirement.

in order to make PyHive work with pure-sasl and kerberos authentication we need to install pure-sass[GSSAPI]
do this now will never work
@CLAassistant
Copy link

CLAassistant commented Sep 17, 2025

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants