Skip to content

Set the minimum macOS version to 13#239

Merged
BewareMyPower merged 3 commits intoapache:mainfrom
BewareMyPower:bewaremypower/fix-macos-minimum-version
Jan 24, 2025
Merged

Set the minimum macOS version to 13#239
BewareMyPower merged 3 commits intoapache:mainfrom
BewareMyPower:bewaremypower/fix-macos-minimum-version

Conversation

@BewareMyPower
Copy link
Copy Markdown
Contributor

@BewareMyPower BewareMyPower commented Jan 23, 2025

Currently the build workflow for macOS wheels run on macos-14 runner so that the wheel's target macOS version is 14. This is because the -mmacosx-version-min option is not specified when building Python from source.

You can find the following log in https://github.com/apache/pulsar-client-python/actions/runs/12878584451/job/35904753892

checking which MACOSX_DEPLOYMENT_TARGET to use... 14.7

We need to add MACOSX_DEPLOYMENT_TARGET as the environment variable, see https://github.com/python/cpython/blob/ec91e1c2762412f1408b0dfb5d281873b852affe/configure#L10759

Here we set it with 13 because 13 is the current minimum maintained version, see https://en.wikipedia.org/wiki/MacOS_version_history

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

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants