Skip to content

Relax MACOSX_DEPLOYMENT_TARGET check#36

Merged
jaraco merged 1 commit intopypa:mainfrom
jmroot:relax-mdt-check
Apr 24, 2021
Merged

Relax MACOSX_DEPLOYMENT_TARGET check#36
jaraco merged 1 commit intopypa:mainfrom
jmroot:relax-mdt-check

Conversation

@jmroot
Copy link
Contributor

@jmroot jmroot commented Mar 21, 2021

Only complain if the config target is >= 10.3 and the current target is
< 10.3. The check was originally added to ensure that incompatible
LDSHARED flags are not used, because '-undefined dynamic_lookup' is
used when building for 10.3 and later, and is not supported on older OS
versions[1]. Apart from that, there should be no problem in general
with using an older target.

[1] python/cpython@6b08a40

Only complain if the config target is >= 10.3 and the current target is
< 10.3. The check was originally added to ensure that incompatible
LDSHARED flags are not used, because '-undefined dynamic_lookup' is
used when building for 10.3 and later, and is not supported on older OS
versions[1]. Apart from that, there should be no problem in general
with using an older target.

[1] python/cpython@6b08a40
@jaraco jaraco merged commit 7423f07 into pypa:main Apr 24, 2021
@jmroot jmroot deleted the relax-mdt-check branch April 25, 2021 03:09
jaraco pushed a commit that referenced this pull request Jul 1, 2023
This change adds `nitpicky=True` (which is an equivalent of `-n`) to
make Sphinx emit warnings for any references to non-existing targets.
Then, it adds `-W` to make it fail whenever a single warning is seen.
Finally, `--keep-going` allows Sphinx to print out all the warnings
before exiting instead of showing just one and bailing.

Resolves #29

Refs:
* https://www.sphinx-doc.org/en/master/man/sphinx-build.html#cmdoption-sphinx-build-n
* https://www.sphinx-doc.org/en/master/man/sphinx-build.html#cmdoption-sphinx-build-W
* https://www.sphinx-doc.org/en/master/man/sphinx-build.html#cmdoption-sphinx-build-keep-going
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants