-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Rework checks for old macosx #18669
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
Rework checks for old macosx #18669
Conversation
This works on MacStadium, and would fix wheel CI builds. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works well for me and changes look good, thanks a lot.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm, looks like the travis build is failing on building the maxos extension.
Is it? What's the error? All I see is a truncated log in the middle of building FreeType. |
This makes it so we can still compile against old SDKs. Fixes matplotlib#18510.
Python requires the SDK to be at least 10.6.
The constant is 101000, not 10100, but fortunately, this worked anyway since 10.9's constant is 1090, and nothing else was defined in between.
I figured it out; older SDKs don't define newer |
@dopplershift if you still are OK w/ this, go ahead and merge.... |
PR Summary
This tweaks the checks to use some slightly more modern macros, and updates the documentation URL. It also changes the compatibility
#define
s to be enabled when using an older SDK minimum, instead of when not allowing a new maximum. This seems to not trigger any deprecations, yet allows us to not raise minimum requirements.cc @efiring @dstansby @jkseppan
PR Checklist
pytest
passes).flake8
on changed files to check).flake8-docstrings
andpydocstyle<4
and runflake8 --docstring-convention=all
).doc/users/next_whats_new/
(follow instructions in README.rst there).doc/api/next_api_changes/
(follow instructions in README.rst there).