From 63d9d9047aa4404091cd093c1ee8399c0da42335 Mon Sep 17 00:00:00 2001 From: Talley Lambert Date: Mon, 16 Dec 2024 17:03:35 -0500 Subject: [PATCH] pin swig, update macos env --- pyproject.toml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 52a9590..3e1b868 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ # https://peps.python.org/pep-0517/ [build-system] -requires = ["setuptools ==72.1.0", "swig >=4.1", "numpy>=2.0.0"] +requires = ["setuptools ==72.1.0", "swig ==4.2.1", "numpy>=2.0.0"] build-backend = "setuptools.build_meta" # https://peps.python.org/pep-0621/ @@ -57,6 +57,8 @@ test-skip = "*-macosx_arm64" [tool.cibuildwheel.macos] # https://cibuildwheel.readthedocs.io/en/stable/faq/#apple-silicon archs = ["x86_64", "arm64"] +# Needed for C++17 support on macOS +environment = { MACOSX_DEPLOYMENT_TARGET = "10.14" } [tool.check-manifest] ignore = [".editorconfig", "Dockerfile", "maintainer-notes.md", ".gitmodules"]