From 9052fb5d9d1dc74e4a1aa540c13de660c79a0b4a Mon Sep 17 00:00:00 2001 From: mattip Date: Tue, 4 Nov 2025 08:05:59 +0200 Subject: [PATCH 1/2] use ci_requirements from numpy --- requirements/openblas_requirements.txt | 2 -- tools/wheels/cibw_before_build.sh | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) delete mode 100644 requirements/openblas_requirements.txt diff --git a/requirements/openblas_requirements.txt b/requirements/openblas_requirements.txt deleted file mode 100644 index 11f22ce..0000000 --- a/requirements/openblas_requirements.txt +++ /dev/null @@ -1,2 +0,0 @@ -scipy-openblas32==0.3.30.0.2 -scipy-openblas64==0.3.30.0.2 diff --git a/tools/wheels/cibw_before_build.sh b/tools/wheels/cibw_before_build.sh index 73a44d9..c8c07dd 100644 --- a/tools/wheels/cibw_before_build.sh +++ b/tools/wheels/cibw_before_build.sh @@ -43,7 +43,7 @@ if [[ "$INSTALL_OPENBLAS" = "true" ]] ; then echo pkgconf_path is $pkgconf_path, OPENBLAS is ${OPENBLAS} rm -rf $pkgconf_path mkdir -p $pkgconf_path - python -m pip install -r $PROJECT_DIR/requirements/openblas_requirements.txt + python -m pip install -r $PROJECT_DIR/numpy/requirements/ci_requirements.txt python -c "import scipy_${OPENBLAS}; print(scipy_${OPENBLAS}.get_pkg_config())" > $pkgconf_path/scipy-openblas.pc # Copy scipy-openblas DLL's to a fixed location so we can point delvewheel From 3d881b3e5061ede0ecf9f86a862b47f37b7d6639 Mon Sep 17 00:00:00 2001 From: mattip Date: Tue, 4 Nov 2025 08:12:58 +0200 Subject: [PATCH 2/2] use correct path --- tools/wheels/cibw_before_build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/wheels/cibw_before_build.sh b/tools/wheels/cibw_before_build.sh index c8c07dd..97d0e95 100644 --- a/tools/wheels/cibw_before_build.sh +++ b/tools/wheels/cibw_before_build.sh @@ -43,7 +43,7 @@ if [[ "$INSTALL_OPENBLAS" = "true" ]] ; then echo pkgconf_path is $pkgconf_path, OPENBLAS is ${OPENBLAS} rm -rf $pkgconf_path mkdir -p $pkgconf_path - python -m pip install -r $PROJECT_DIR/numpy/requirements/ci_requirements.txt + python -m pip install -r $NUMPY_SRC_DIR/requirements/ci_requirements.txt python -c "import scipy_${OPENBLAS}; print(scipy_${OPENBLAS}.get_pkg_config())" > $pkgconf_path/scipy-openblas.pc # Copy scipy-openblas DLL's to a fixed location so we can point delvewheel