Skip to content

Fix build on older macOS deployment targets#27883

Merged
ksunden merged 1 commit intomatplotlib:mainfrom
QuLogic:fix-mac-wheel
Mar 12, 2024
Merged

Fix build on older macOS deployment targets#27883
ksunden merged 1 commit intomatplotlib:mainfrom
QuLogic:fix-mac-wheel

Conversation

@QuLogic
Copy link
Copy Markdown
Member

@QuLogic QuLogic commented Mar 8, 2024

PR summary

Apparently, macOS incorrectly hides this std::optional.value method behind the deployment target, even though it's a header-only implementation, so it shouldn't have any runtime requirement.

Instead of fiddling with deployment targets, use an alternate method for getting the std::optional value.

PR checklist

Apparently, macOS incorrectly hides this `std::optional.value` method
behind the deployment target, even though it's a header-only
implementation, so it shouldn't have any runtime requirement.

Instead of fiddling with deployment targets, use an alternate method for
getting the `std::optional` value.
@QuLogic QuLogic added OS: Apple CI: Run cibuildwheel Run wheel building tests on a PR labels Mar 8, 2024
@QuLogic QuLogic added this to the v3.9.0 milestone Mar 8, 2024
@github-actions github-actions bot added topic: path handling and removed CI: Run cibuildwheel Run wheel building tests on a PR labels Mar 8, 2024
@tacaswell tacaswell added the CI: Run cibuildwheel Run wheel building tests on a PR label Mar 11, 2024
@tacaswell
Copy link
Copy Markdown
Member

To check my understanding we only see this in the cibuildwheel job because we force back to an older target, where as with the normal mac CI jobs we let it build with what ever the latest and greatest it has available?

@ksunden ksunden merged commit 5a4bb71 into matplotlib:main Mar 12, 2024
@QuLogic QuLogic deleted the fix-mac-wheel branch March 13, 2024 01:37
@QuLogic
Copy link
Copy Markdown
Member Author

QuLogic commented Mar 13, 2024

Yea, that should be the case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants