From 7eb5e9b4eea3082f31b9d42dd15b32a83515e124 Mon Sep 17 00:00:00 2001 From: Dan Davison Date: Thu, 19 Dec 2024 11:37:58 -0500 Subject: [PATCH] Fix cibuildwheel for macos --- pyproject.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index bb3384a0..e12bbeae 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -132,6 +132,9 @@ before-all = "curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain stab before-build = "pip install protoc-wheel-0" environment = { PATH = "$PATH:$HOME/.cargo/bin", CARGO_NET_GIT_FETCH_WITH_CLI = "true" } +[tool.cibuildwheel.macos] +environment = { MACOSX_DEPLOYMENT_TARGET = "10.12" } + [tool.mypy] ignore_missing_imports = true exclude = [