Skip to content

Commit 3717eec

Browse files
committed
update baseline mac deployment target to 10.15
1 parent 0dd3637 commit 3717eec

File tree

4 files changed

+6
-8
lines changed

4 files changed

+6
-8
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
continue-on-error: ${{ matrix.zmq == 'head' }}
3636

3737
env:
38-
MACOSX_DEPLOYMENT_TARGET: "11.7"
38+
MACOSX_DEPLOYMENT_TARGET: "13.7"
3939

4040
strategy:
4141
fail-fast: true

.github/workflows/wheels.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ jobs:
6262
name: wheel-${{ matrix.name }}
6363

6464
env:
65-
MACOSX_DEPLOYMENT_TARGET: "10.9"
65+
MACOSX_DEPLOYMENT_TARGET: "10.15"
6666
CIBW_BUILD: "${{ matrix.cibw.build || '*' }}"
6767
CIBW_SKIP: "${{ matrix.cibw.skip || '' }}"
6868
CIBW_ARCHS: "${{ matrix.cibw.arch || 'auto' }}"

pyproject.toml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -165,9 +165,8 @@ before-all = "bash tools/install_libzmq.sh"
165165
repair-wheel-command = "delocate-wheel --sanitize-rpaths --require-archs {delocate_archs} -w {dest_dir} -v {wheel}"
166166

167167
[tool.cibuildwheel.macos.environment]
168-
# note: everything here needs to also be duplicated in overrides below
169168
ZMQ_PREFIX = "/tmp/zmq"
170-
MACOSX_DEPLOYMENT_TARGET = "10.9"
169+
MACOSX_DEPLOYMENT_TARGET = "10.15"
171170

172171
[tool.cibuildwheel.windows]
173172
before-all = "python buildutils/bundle.py licenses"
@@ -190,10 +189,6 @@ repair-wheel-command = """\
190189
"cmake.define.ZMQ_HAVE_IPC" = "OFF"
191190
"cmake.define.POLLER" = "select"
192191

193-
# mac-arm target is 10.15
194-
[[tool.cibuildwheel.overrides]]
195-
select = "*macos*{universal2,arm64}*"
196-
environment = { ZMQ_PREFIX = "/tmp/zmq", MACOSX_DEPLOYMENT_TARGET = "10.15" }
197192

198193
# manylinux2010 for (less) old cp37-9, pp37-8
199194
[[tool.cibuildwheel.overrides]]

tools/install_libzmq.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ LICENSE_DIR="$PYZMQ_DIR/licenses"
88
test -d "$LICENSE_DIR" || mkdir "$LICENSE_DIR"
99

1010
if [[ "$(uname)" == "Darwin" ]]; then
11+
# make sure deployment target is set
12+
echo "${MACOSX_DEPLOYMENT_TARGET=}"
13+
test ! -z "${MACOSX_DEPLOYMENT_TARGET}"
1114
# need LT_MULTI_MODULE or libtool will strip out
1215
# all multi-arch symbols at the last step
1316
export LT_MULTI_MODULE=1

0 commit comments

Comments
 (0)