Conversation
|
What's the status on this? |
|
@dakl this needs to be reviewed and tested. I don't personally have access to a mac, so I cannot test or do any of the sanity checks I would normally for a code review. Here are some details that might help things along: ReviewAnyone can do a code review. If you have access to a mac that is better since you can quickly address small questions yourself. Things to consider for any reviewer (in order):
TestingSince this repo does not currently have a CI setup that tests builds, we rely on people on various platforms and configurations to report whether the fix worked for them. A 👍 is nice, but a comment stating that you were able to pull this PR locally and successfully compile (including your macOS and XCode version) is better. |
|
Thanks for commenting, @chrahunt! I'll just respond to a couple points with clarification:
Whoops, I have read through my code and my answer again, and I recognize the error you were calling out!
|
Don't try to use variable expansion syntax for command execution.
|
I really want to get this fixed, so I will try to find some time to test it since I am a full time macOS user. I just need to figure out how to undo the installation of the sdk to the legacy location that I did previously: |
|
On 10.14.1 this patch still exhibits bad I do not have the global sdk installation Josh mentions above, and I'm happy to test any iterations you might have to fix this |
|
Thanks @jeffb4! I will try to find some time! |
Co-Authored-By: andrew-humu <[email protected]>
|
Can you please add the change from #1333 and make sure the tests pass? Thanks! |
|
Firstly: really sorry to let this sit so long, haven't done much python at work recently, which means my related side work also takes a hit. Secondly: The approach in this PR doesn't work because if you trace the path of the scripts calling So basically at no point during I'm working on this right now actually, have it working, but it needs polishing (helpful errors if there is no |
|
Closing in favor of #1339 Thank you for your valiant effort, @andrew-humu 😄 |
Make sure you have checked all steps below.
Prerequisite
Description
Fixes #1219
On MacOS 10.9 and later, uses
xcrun --show-sdk-pathto find SDK path, instead of relying on Mac OS headers being available at the system level. This is required because of a change in XCode 10's default behaviour.https://developer.apple.com/documentation/xcode_release_notes/xcode_10_release_notes#3035624
Inspired by these comments:
#1219 (comment)
#1219 (comment)
#1219 (comment)
and this blog post:
https://medium.com/@pimterry/setting-up-pyenv-on-os-x-with-homebrew-56c7541fd331