diff --git a/s/scikit-image/build_info.json b/s/scikit-image/build_info.json index a58efcc7a2..7eca8de76a 100644 --- a/s/scikit-image/build_info.json +++ b/s/scikit-image/build_info.json @@ -13,7 +13,7 @@ "v0.19.3": { "build_script": "scikit-image_ubi_0.19.3_9.3.sh" }, - "v0.2*.*": { + "v0.20.0": { "build_script": "scikit-image_ubi_0.19.3_9.3.sh" }, "*" : { diff --git a/s/scikit-image/scikit-image_ubi_0.19.3_9.3.sh b/s/scikit-image/scikit-image_ubi_0.19.3_9.3.sh index 9b59d3d8e4..06137a7e5e 100644 --- a/s/scikit-image/scikit-image_ubi_0.19.3_9.3.sh +++ b/s/scikit-image/scikit-image_ubi_0.19.3_9.3.sh @@ -2,7 +2,7 @@ # ----------------------------------------------------------------------------- # # Package : scikit-image -# Version : v0.26.0 +# Version : v0.19.3 # Source repo : https://github.com/scikit-image/scikit-image # Tested on : UBI:9.3 # Language : Python @@ -19,7 +19,7 @@ # ---------------------------------------------------------------------------- PACKAGE_NAME=scikit-image -PACKAGE_VERSION=${1:-v0.26.0} +PACKAGE_VERSION=${1:-v0.19.3} PACKAGE_URL=https://github.com/scikit-image/scikit-image yum install -y gcc gcc-c++ make python python-devel libtool sqlite-devel ninja-build cmake git wget xz zlib-devel openssl-devel bzip2-devel libffi-devel libevent-devel libjpeg-turbo-devel gcc-gfortran openblas openblas-devel libgomp diff --git a/s/scikit-image/scikit-image_ubi_9.3.sh b/s/scikit-image/scikit-image_ubi_9.3.sh index 7f2ec0a9d7..60a1fa61c8 100644 --- a/s/scikit-image/scikit-image_ubi_9.3.sh +++ b/s/scikit-image/scikit-image_ubi_9.3.sh @@ -2,7 +2,7 @@ # ----------------------------------------------------------------------------- # # Package : scikit-image -# Version : v0.24.0 +# Version : v0.26.0 # Source repo : https://github.com/scikit-image/scikit-image # Tested on : UBI 9.3 # Language : Python, Cython, C, C++ @@ -19,13 +19,13 @@ # ---------------------------------------------------------------------------- PACKAGE_NAME=scikit-image -PACKAGE_VERSION=${1:-v0.24.0} +PACKAGE_VERSION=${1:-v0.26.0} PACKAGE_URL=https://github.com/scikit-image/scikit-image OS_NAME=`cat /etc/os-release | grep "PRETTY" | awk -F '=' '{print $2}'` # install core dependencies -yum install -y gcc gcc-c++ gcc-gfortran pkg-config openblas-devel git python3.11 python3.11-pip python3.11-devel gcc-toolset-12 zlib-devel libjpeg-turbo-devel +yum install -y gcc gcc-c++ gcc-gfortran pkg-config openblas-devel git python3.12 python3.12-pip python3.12-devel gcc-toolset-12 zlib-devel libjpeg-turbo-devel source /opt/rh/gcc-toolset-12/enable @@ -37,18 +37,18 @@ git submodule update --init # Create a virtualenv named ``skimage-dev`` that lives outside of the repository. mkdir ~/envs -python3.11 -m venv ~/envs/skimage-dev +python3.12 -m venv ~/envs/skimage-dev # Activate it source ~/envs/skimage-dev/bin/activate # Install main development and runtime dependencies -python3.11 -m pip install -r requirements.txt +python3.12 -m pip install -r requirements.txt # Install build dependencies of scikit-image -python3.11 -m pip install -r requirements/build.txt +python3.12 -m pip install -r requirements/build.txt # build and install -if ! python3.11 -m pip install -e . --no-build-isolation; then +if ! python3.12 -m pip install -e . --no-build-isolation; then echo "------------------$PACKAGE_NAME:build_fails---------------------" echo "$PACKAGE_URL $PACKAGE_NAME" echo "$PACKAGE_NAME | $PACKAGE_VERSION | $OS_NAME | GitHub | Fail | Build_Fails" @@ -58,8 +58,8 @@ else echo "$PACKAGE_VERSION $PACKAGE_NAME" echo "$PACKAGE_NAME | $PACKAGE_VERSION | $OS_NAME | GitHub | Pass | Build_Success" - python3.11 -m pip show scikit-image - python3.11 -c "import skimage; print(skimage.__version__)" + python3.12 -m pip show scikit-image + python3.12 -c "import skimage; print(skimage.__version__)" if [ $? == 0 ]; then echo "------------------$PACKAGE_NAME:install_success-------------------------" echo "$PACKAGE_VERSION $PACKAGE_NAME"