diff --git a/api/py/pyproject.toml b/api/py/pyproject.toml index c916a2b85c..25bde52f5d 100644 --- a/api/py/pyproject.toml +++ b/api/py/pyproject.toml @@ -15,6 +15,8 @@ test-command = """pytest {project}""" [tool.cibuildwheel.linux] skip = "cp312-* *-musllinux_i686" before-build = """ +set -ex +pip install numpy --config-settings=setup-args="-Dallow-noblas=true" cargo --version || (curl https://sh.rustup.rs -sSf | sh -s -- -y --profile minimal . $HOME/.cargo/env rustup toolchain add stable @@ -32,10 +34,17 @@ RUSTC_WRAPPER=sccache archs = "x86_64 universal2 arm64" skip = "cp312-*" before-build = """ +pip install numpy --config-settings=setup-args="-Dallow-noblas=true" rustup target add aarch64-apple-darwin [ -e $HOME/.local/bin/sccache ] || ./.travis/setup-sccache.sh ] """ [tool.cibuildwheel.windows] -skip = "cp312-* *-win32" +# pip install numpy --config-settings=setup-args="-Dallow-noblas=true" +before-build = """ +choco install mingw --version=8.1.0 +pip install "numpy==1.24.4" +pip install "numpy==1.25.2" +""" +skip = "cp312-* *-win32 cp36-* cp37-* pp*"