-
Notifications
You must be signed in to change notification settings - Fork 587
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
Python on macOS is built against 10.14 SDK #26
Comments
I can confirm that. A good reference of what viable deployment target versions should be can be seen from what's available from python.org: https://www.python.org/ftp/python/3.7.4/ There we have 10.6 and 10.9. Note for 3.5 there is only 10.5 and 10.6. It seems like the recommended approach is to use 10.6 for 3.5 and 10.9 for >3.5. |
Addition: I don't think SDK is strictly linked to deployment target. I was able to set |
due to: actions/setup-python#26 It is rare case as most python packages do not require compilation from sources. In case of any problems we will find alternative solution.
due to: actions/setup-python#26 It is rare case as most python packages do not require compilation from sources. In case of any problems we will find alternative solution.
due to: actions/setup-python#26 It is rare case as most python packages do not require compilation from sources. In case of any problems we will find alternative solution.
due to: actions/setup-python#26 It is rare case as most python packages do not require compilation from sources. In case of any problems we will find alternative solution.
due to: actions/setup-python#26 It is rare case as most python packages do not require compilation from sources. In case of any problems we will find alternative solution.
due to: actions/setup-python#26 It is rare case as most python packages do not require compilation from sources. In case of any problems we will find alternative solution.
due to: actions/setup-python#26 It is rare case as most python packages do not require compilation from sources. In case of any problems we will find alternative solution.
due to: actions/setup-python#26 It is rare case as most python packages do not require compilation from sources. In case of any problems we will find alternative solution.
due to: actions/setup-python#26 It is rare case as most python packages do not require compilation from sources. In case of any problems we will find alternative solution.
due to: actions/setup-python#26 It is rare case as most python packages do not require compilation from sources. In case of any problems we will find alternative solution.
Note that while the situation remains as is, a workaround for users is to replace
which will result in the following deployment targets:
|
Hello everyone. I'm going to close the feature request because we do not provide macOS with older versions and we're not planing to build python against of 10.9. |
Why? This is a trivial change to make, and means setup-python will be useful to those who want to keep targeting 10.9. The version of macOS (or the SDK) you provide is irrelevant to the deployment target you set when building Python. |
It looks like the Python interpreters on macOS are compiled with macOS 10.14 as deployment target. They should rather be built against the oldest supported macOS SDK so that no errors are encountered when a program built against an older SDK is linked with the Python libraries. (Ideally we'd like to build against the 10.9 SDK, but unfortunately it is not supported; it will have to be 10.12, I suppose.)
The text was updated successfully, but these errors were encountered: