From a60248db44be9ba2601ce20d97564ad10a9502da Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Fri, 18 Oct 2024 09:10:40 -1000 Subject: [PATCH] before-all needs to be under .linux --- pyproject.toml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 57369c8b..67710d03 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -76,7 +76,9 @@ build-backend = "setuptools.build_meta" [tool.cibuildwheel] test-requires = "-r requirements/pytest.txt" test-command = "pytest {project}/tests" -before-all-linux = "yum install -y libffi-devel || apk add --upgrade libffi-dev || apt-get install libffi-dev" # don't build PyPy wheels, install from source instead skip = "pp*" free-threaded-support = true + +[tool.cibuildwheel.linux] +before-all = "yum install -y libffi-devel || apk add --upgrade libffi-dev || apt-get install libffi-dev"