-
Notifications
You must be signed in to change notification settings - Fork 216
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #441 from sebp/sklearn-1-4
Add support for scikit-learn 1.4
- Loading branch information
Showing
32 changed files
with
942 additions
and
403 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
$env:CI_PYTHON_VERSION="3.10.*" | ||
$env:CI_PANDAS_VERSION="1.5.*" | ||
$env:CI_NUMPY_VERSION="1.24.*" | ||
$env:CI_SKLEARN_VERSION="1.3.*" | ||
$env:CI_NUMPY_VERSION="1.25.*" | ||
$env:CI_SKLEARN_VERSION="1.4.*" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
$env:CI_PYTHON_VERSION="3.11.*" | ||
$env:CI_PANDAS_VERSION="2.0.*" | ||
$env:CI_NUMPY_VERSION="1.24.*" | ||
$env:CI_SKLEARN_VERSION="1.3.*" | ||
$env:CI_NUMPY_VERSION="1.25.*" | ||
$env:CI_SKLEARN_VERSION="1.4.*" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
$env:CI_PYTHON_VERSION="3.12.*" | ||
$env:CI_PANDAS_VERSION="2.1.*" | ||
$env:CI_PANDAS_VERSION="2.2.*" | ||
$env:CI_NUMPY_VERSION="1.26.*" | ||
$env:CI_SKLEARN_VERSION="1.3.*" | ||
$env:CI_SKLEARN_VERSION="1.4.*" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
$env:CI_PYTHON_VERSION="3.9.*" | ||
$env:CI_PANDAS_VERSION="1.4.*" | ||
$env:CI_NUMPY_VERSION="1.22.*" | ||
$env:CI_SKLEARN_VERSION="1.3.*" | ||
$env:CI_NUMPY_VERSION="1.25.*" | ||
$env:CI_SKLEARN_VERSION="1.4.*" |
4 changes: 2 additions & 2 deletions
4
ci/deps/py310_pandas15_numpy124_sklearn13.sh → ci/deps/py310.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
# shellcheck shell=sh | ||
export CI_PYTHON_VERSION='3.10.*' | ||
export CI_PANDAS_VERSION='1.5.*' | ||
export CI_NUMPY_VERSION='1.24.*' | ||
export CI_SKLEARN_VERSION='1.3.*' | ||
export CI_NUMPY_VERSION='1.25.*' | ||
export CI_SKLEARN_VERSION='1.4.*' | ||
export CI_NO_SLOW=true |
4 changes: 2 additions & 2 deletions
4
ci/deps/py311_pandas20_numpy124_sklearn13.sh → ci/deps/py311.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
# shellcheck shell=sh | ||
export CI_PYTHON_VERSION='3.11.*' | ||
export CI_PANDAS_VERSION='2.0.*' | ||
export CI_NUMPY_VERSION='1.24.*' | ||
export CI_SKLEARN_VERSION='1.3.*' | ||
export CI_NUMPY_VERSION='1.25.*' | ||
export CI_SKLEARN_VERSION='1.4.*' | ||
export CI_NO_SLOW=true |
4 changes: 2 additions & 2 deletions
4
ci/deps/py312_pandas21_numpy126_sklearn13.sh → ci/deps/py312.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
# shellcheck shell=sh | ||
export CI_PYTHON_VERSION='3.12.*' | ||
export CI_PANDAS_VERSION='2.1.*' | ||
export CI_PANDAS_VERSION='2.2.*' | ||
export CI_NUMPY_VERSION='1.26.*' | ||
export CI_SKLEARN_VERSION='1.3.*' | ||
export CI_SKLEARN_VERSION='1.4.*' | ||
export CI_NO_SLOW=false |
4 changes: 2 additions & 2 deletions
4
ci/deps/py39_pandas14_numpy122_sklearn13.sh → ci/deps/py39.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
# shellcheck shell=sh | ||
export CI_PYTHON_VERSION='3.9.*' | ||
export CI_PANDAS_VERSION='1.4.*' | ||
export CI_NUMPY_VERSION='1.22.*' | ||
export CI_SKLEARN_VERSION='1.3.*' | ||
export CI_NUMPY_VERSION='1.25.*' | ||
export CI_SKLEARN_VERSION='1.4.*' | ||
export CI_NO_SLOW=false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
#!/bin/bash | ||
|
||
RUNNER_OS="${1}" | ||
RUNNER_ARCH="${2}" | ||
CONDA_PKGS_DIR="${3}" | ||
|
||
run_check_sha() { | ||
echo "${1}" | shasum -a 256 --check --strict - | ||
} | ||
|
||
if [[ "${CONDA:-}" = "" ]]; then | ||
# download and install conda | ||
MINICONDA_VERSION="Miniconda3-py312_24.1.2-0" | ||
|
||
if [[ "${RUNNER_OS}" = "macOS" ]] && [[ "${RUNNER_ARCH}" = "ARM64" ]]; then | ||
MINICONDA_VERSION="${MINICONDA_VERSION}-MacOSX-arm64" | ||
MINICONDA_HASH="1c277b1ec046fd1b628390994e3fa3dbac0e364f44cd98b915daaa67a326c66a" | ||
elif [[ "${RUNNER_OS}" = "macOS" ]] && [[ "${RUNNER_ARCH}" = "X64" ]]; then | ||
MINICONDA_VERSION="${MINICONDA_VERSION}-MacOSX-x86_64" | ||
MINICONDA_HASH="bc45a2ceea9341579532847cc9f29a9769d60f12e306bba7f0de6ad5acdd73e9" | ||
elif [[ "${RUNNER_OS}" = "Linux" ]] && [[ "${RUNNER_ARCH}" = "X64" ]]; then | ||
MINICONDA_VERSION="${MINICONDA_VERSION}-Linux-x86_64" | ||
MINICONDA_HASH="b978856ec3c826eb495b60e3fffe621f670c101150ebcbdeede4f961f22dc438" | ||
else | ||
echo "Unsupported OS or ARCH: ${RUNNER_OS} ${RUNNER_ARCH}" | ||
exit 1 | ||
fi | ||
|
||
export CONDA="${GITHUB_WORKSPACE}/miniconda3" | ||
|
||
mkdir -p "${CONDA}" && \ | ||
curl "https://repo.anaconda.com/miniconda/${MINICONDA_VERSION}.sh" -o "${CONDA}/miniconda.sh" && \ | ||
run_check_sha "${MINICONDA_HASH} ${CONDA}/miniconda.sh" && \ | ||
bash "${CONDA}/miniconda.sh" -b -u -p "${CONDA}" && \ | ||
rm -rf "${CONDA}/miniconda.sh" || exit 1 | ||
|
||
echo "CONDA=${CONDA}" >> "${GITHUB_ENV}" | ||
fi | ||
|
||
"${CONDA}/bin/conda" config --set always_yes yes && \ | ||
"${CONDA}/bin/conda" config --set changeps1 no && \ | ||
"${CONDA}/bin/conda" config --set auto_update_conda false && \ | ||
"${CONDA}/bin/conda" config --set show_channel_urls true || \ | ||
exit 1 | ||
|
||
# The directory in which packages are located. | ||
# https://docs.conda.io/projects/conda/en/latest/user-guide/configuration/settings.html#pkgs-dirs-specify-package-directories | ||
if [[ ! -d "${CONDA_PKGS_DIR}" ]]; then | ||
mkdir -p "${CONDA_PKGS_DIR}" || exit 1 | ||
fi | ||
sudo chown -R "${USER}" "${CONDA_PKGS_DIR}" || \ | ||
exit 1 | ||
|
||
sudo "${CONDA}/bin/conda" update -q -n base conda && \ | ||
sudo chown -R "${USER}" "${CONDA}" || \ | ||
exit 1 | ||
|
||
export PATH="${CONDA}/bin:${PATH}" | ||
echo "${CONDA}/bin" >> "${GITHUB_PATH}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.