Switch to using sasl3 (sasl doesn't work on newer versions of Python)
jamescurtin opened this issue · comments
The extras_require
dependencies for hive
currently install sasl
, though this package was last updated about 5 years ago and has issues when run against newer versions of Python.
This could be resolved by updating to use sasl3
, a maintained fork of the sasl
project that is compatible with Python 3.
One blocker for this fix is that the thrift_sasl
dependency also tries to install the unmaintained version of sasl
. There is a PR to address this, but a new release of thrift_sasl
would need to be made before this project could fully update.
is there a fix for this yet?
The latest version of thrift-sasl
has been released 26th of May https://pypi.org/project/thrift-sasl/0.4.3/ and they already got rid of the sasl dependency (it depnds on puresasl whicj is pure-python sasl implementation)
Using pyhive[hive] with sasl package is the last (I hope) blocker for us at Apache Airflow to add full support for Python 3.9.
Maybe you can switch to pure-sasl as well
? Can I help somehow?