-
Notifications
You must be signed in to change notification settings - Fork 33
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
On Mac, target macOS 10.9 when possible (fixes build on XCode 10+) #13
On Mac, target macOS 10.9 when possible (fixes build on XCode 10+) #13
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks OK to me. Who is maintaining this now and can make a release, @timarmstrong @toddlipcon?
I think @lekv was investigating a release. |
Yes, I'm planning to put together a new release in the next days. I'm still figuring out the process and probably will put up a RC beforehand so everyone can have a look at it. |
I've just hit this issue. Is there an RC available @lekv? |
We've just released version 0.15.0 and it's available on pypi. |
HI @lekv, Could you point me to the PyPI listing page for the 0.15.0 release of From https://pypi.org/project/sasl/ it looks like there hasn't been a new release. Are you sure you were referring to this library and not a different one in your comment? Edit: looks like you were referring to an Impyla release, not this library. I'm bumping this because it sounds like this is still a problem for |
Hi @lekv, I'm still having to install from @JoshRosen's branch. Please can we get an official fix on pypi? |
I confused this one with impyla. However, |
adding in PR cloudera#13 cc @JoshRosen
https://pypi.org/project/sasl3/ |
@lekv
sasl3 on PyPI does seem to fix the problem, but thrift_sasl's dependency is on this package. |
Thanks @VincentBLortie for posting the error. From [https://github.com/pandas-dev/pandas/issues/23424#issuecomment-446393981|pandas/issues/23424#issuecomment-446393981] it looks to me like some older library versions on my system have made this work.
With that understanding the change looks good to me (I validated that it can be installed from with this PR on my local machine). |
This resolves some MacOS build issues, which stem from the release of XCode10. See cloudera/python-sasl#13 for details about the issue itself. The [sasl3 fork](https://github.com/sparkur/python-sasl3) contains these changes.
This patch aims to fix an issue where
python-sasl
cannot be compiled with newer versions of XCode. In particular, this library fails to compile out-of-the-box on OS X Mojave (see cloudera/thrift_sasl#15).The problem seems to be related to missing
stdlibc++
headers, which are not installed by default in XCode 10+.To fix this issue, I copied changes from pandas-dev/pandas#24274 (with proper attribution). Quoting from that patch description:
This worked for me and I think it's a simpler approach than some of the other workarounds suggested in cloudera/thrift_sasl#15 and hkwi/python-geohash#27 because it doesn't require the installation of additional headers or commandline tools. I have little experience with native code builds, however, so please chime in if I'm overlooking something.