Install numpy ABI target version before testing
In order to test compatility.
@@ -101,6 +101,8 @@ stages:
mv ${TILEDB_INSTALL} .libtiledb
export TILEDB_INSTALL=.libtiledb
export CIBW_ENVIRONMENT="TILEDB_PATH=${TILEDB_INSTALL} TILEDB_WHEEL_BUILD=1"
+ # use the requirements_wheel.txt with numpy pins to ensure ABI compatibility
+ export CIBW_BEFORE_TEST="pip install -r misc/requirements_wheel.txt"
export CIBW_TEST_COMMAND="python -c 'import tiledb'"
# copy libtiledb into usr/local for audithweel to find
export CIBW_BEFORE_BUILD="cp -R .libtiledb/* /usr/local"
@@ -119,6 +121,8 @@ stages:
set -xe pipefail
export TILEDB_WHEEL_BUILD=1
+ # use the requirements_wheel.txt with numpy pins to ensure ABI compatibility
+ export CIBW_BEFORE_TEST="pip install -r misc/requirements_wheel.txt"
export CIBW_TEST_COMMAND="python -c 'import tiledb'"
echo "${TILEDB_INSTALL}"
