Mercurial > public > mercurial-scm > hg
changeset 52734:89e6952805bd
pyproject: specify `MACOSX_DEPLOYMENT_TARGET="10.9"` when building wheels
`cibuildwheel` has been doing the right thing (i.e. using 10.9 as the minimum
when it is supported), but it doesn't hurt to be explicit. Also add
documentation to indicate the current expectations.
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Wed, 15 Jan 2025 12:27:13 -0500 |
parents | 2c46b75bb56b |
children | 04a9d34395ed |
files | pyproject.toml |
diffstat | 1 files changed, 14 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/pyproject.toml Wed Jan 15 12:27:01 2025 -0500 +++ b/pyproject.toml Wed Jan 15 12:27:13 2025 -0500 @@ -98,6 +98,20 @@ archs = ["universal2"] +[[tool.cibuildwheel.overrides]] +select = "*-macosx_*" + +# The minimum value is adjusted automatically when building for later Pythons +# +# Python Version Minimum macOS +# -------------------------------------- +# Intel CPython 3.6-3.11 10.9 +# Intel CPython 3.12+ 10.13 +# AS CPython or PyPy 11 +inherit.environment = "append" +environment = { MACOSX_DEPLOYMENT_TARGET="10.9" } + + [tool.cibuildwheel.windows] archs = ["x86", "AMD64", "ARM64"]