From 100633ce9c9a72edb8502335b54283764953a62d Mon Sep 17 00:00:00 2001 From: Andreas Kloeckner Date: Sun, 1 Oct 2023 15:13:54 -0500 Subject: [PATCH] Allow building numpy without BLAS in cibw --- pyproject.toml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index f1eae47c2..e32756101 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -14,15 +14,17 @@ build-backend = "setuptools.build_meta" test-command = "pytest {project}/test" test-extras = ["test"] -# Skipping 3.12 for now because of -# https://github.com/numpy/numpy/issues/22623 +# Skipping pypy 3.10 because there's no numpy wheel [tool.cibuildwheel.linux] -skip = ["pp37*", "cp36-*", "cp37-*", "cp312-*"] +skip = ["pp37*", "cp36-*", "cp37-*"] test-command = "" before-all = [ "yum install -y git openssl-devel ruby", "bash {package}/scripts/build-ocl.sh", ] +before-build = [ + "pip install numpy -Csetup-args=-Dallow-noblas=true", +] repair-wheel-command = "auditwheel repair -w {dest_dir} --lib-sdir=/.libs {wheel}" [[tool.cibuildwheel.overrides]]