From 11a8717987e9e19c15ab3137559fa841602e8ff1 Mon Sep 17 00:00:00 2001 From: Konstantin Leontev Date: Tue, 8 Aug 2023 22:58:26 +0100 Subject: [PATCH] Fixed openturns compilation on Debian because of using wrong version of Cython from pip while install scikit-learn 0.24.2. --- products/compil_scripts/openturns-1.20.1.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/products/compil_scripts/openturns-1.20.1.sh b/products/compil_scripts/openturns-1.20.1.sh index d90b94d..86dfb68 100755 --- a/products/compil_scripts/openturns-1.20.1.sh +++ b/products/compil_scripts/openturns-1.20.1.sh @@ -300,7 +300,7 @@ if [[ -d "$SOURCE_DIR/otfftw-0.12" ]]; then continue fi echo "INFO: install scikit-learn-0.24.2" - ${PYTHONBIN} -m pip install --cache-dir=$BUILD_DIR/cache/pip $SOURCE_DIR/scikit-learn-0.24.2/scikit-learn-0.24.2.tar.gz --no-deps --prefix=$PRODUCT_INSTALL + ${PYTHONBIN} -m pip install --cache-dir=$BUILD_DIR/cache/pip $SOURCE_DIR/scikit-learn-0.24.2/scikit-learn-0.24.2.tar.gz --no-deps --prefix=$PRODUCT_INSTALL --no-build-isolation if [ $? -ne 0 ] then echo "FATAL: could not install scikit-0.24.2" @@ -346,7 +346,7 @@ if [[ -d "$SOURCE_DIR/otfftw-0.12" ]]; then exit 6 fi echo "INFO: install scikit-learn-0.24.2" - ${PYTHONBIN} -m pip install --cache-dir=$BUILD_DIR/cache/pip $SOURCE_DIR/scikit-learn-0.24.2/scikit-learn-0.24.2.tar.gz --no-deps + ${PYTHONBIN} -m pip install --cache-dir=$BUILD_DIR/cache/pip $SOURCE_DIR/scikit-learn-0.24.2/scikit-learn-0.24.2.tar.gz --no-deps --no-build-isolation if [ $? -ne 0 ] then echo "FATAL: could not install scikit-0.24.2" -- 2.39.2