Skip to content

CI Set MACOSX_DEPLOYMENT_TARGET=10.9 #23833

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

Merged
merged 5 commits into from
Aug 5, 2022

Conversation

thomasjpfan
Copy link
Member

@thomasjpfan thomasjpfan commented Jul 4, 2022

Reference Issues/PRs

Fixes #23830
Fixes #24113

What does this implement/fix? Explain your changes.

For conda-forge, their llvm-openmp uses MACOSX_DEPLOYMENT_TARGET=10.9:

https://github.com/conda-forge/openmp-feedstock/blob/1b7c7da892528e2e17a51c449d41e1ba54cc16f2/.ci_support/osx_64_.yaml

This means we can set the same target and support older version of OSX.

@thomasjpfan
Copy link
Member Author

thomasjpfan commented Aug 1, 2022

I'll put this on milestone 1.2. I think setting MACOSX_DEPLOYMENT_TARGET=10.9 to improve compatibility should be okay in general.

@thomasjpfan thomasjpfan added this to the 1.2 milestone Aug 1, 2022
Copy link
Member

@jjerphan jjerphan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for solving this issue, @thomasjpfan.

I am OK with this change, but I think the (reasons for the) support for older version of OS X must be documented in the change-log and above this script export. What do you think?

@thomasjpfan
Copy link
Member Author

thomasjpfan commented Aug 3, 2022

I am OK with this change, but I think the (reasons for the) support for older version of OS X

I do not have a great reason to build for 10.9 besides it's not more work for us. The original reason the min version was bumped up from 10.9 to 10.13 was because the openmp we were using was built with 10.13. The one from conda-forge is built with 10.9 so we can go back to 10.9.

As noted in #23830, this fix did not work, but I can not really debug what went wrong without a 10.12 system.

For me, I am +0.4 on moving the version back down.

@thomasjpfan
Copy link
Member Author

thomasjpfan commented Aug 4, 2022

We have another issue regarding old versions of OSX: #24113 Since there is user demand, I think we should build with OSX 10.9 as the minimum version.

@glemaitre Do you think this should a part of 1.1.2?

@thomasjpfan thomasjpfan modified the milestones: 1.2, 1.1.2 Aug 4, 2022
@glemaitre
Copy link
Member

I assume because the wheels are broken right now.

@thomasjpfan
Copy link
Member Author

Okay, I added this PR to the 1.1.2 changelog as a bug fix.

@thomasjpfan thomasjpfan added the To backport PR merged in master that need a backport to a release branch defined based on the milestone. label Aug 4, 2022
@thomasjpfan thomasjpfan mentioned this pull request Aug 4, 2022
12 tasks
@glemaitre glemaitre merged commit c8f68e8 into scikit-learn:main Aug 5, 2022
glemaitre pushed a commit to glemaitre/scikit-learn that referenced this pull request Aug 5, 2022
glemaitre pushed a commit that referenced this pull request Aug 5, 2022
glemaitre pushed a commit to glemaitre/scikit-learn that referenced this pull request Sep 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Build / CI To backport PR merged in master that need a backport to a release branch defined based on the milestone.
Projects
None yet
3 participants