Skip to content

Commit

Permalink
Fix scikit-learn upperlimit for 23.0.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
PGijsbers committed Jun 17, 2024
1 parent 37a3d0d commit d5e703d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions frameworks/GAMA/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,10 @@ else
PIP install -U -e ${TARGET_DIR}
fi

if [[ "$VERSION" == "23.0.0" ]]; then
# We include this only because this is the fixed version for the 2023Q2 definition.
echo "GAMA/setup.sh: Downgrading scikit-learn to compatible version."
PIP install --no-cache-dir -U "scikit-learn<1.3"
fi

PY -c "from gama import __version__; print(__version__)" >> "${HERE}/.setup/installed"

0 comments on commit d5e703d

Please sign in to comment.