diff --git a/.circleci/config.yml b/.circleci/config.yml index 8f5c98550..6d76eb045 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -84,7 +84,6 @@ jobs: pip install --upgrade pip spin spin setup-submodule pip install .[build,doc] - pip install --pre --extra-index https://pypi.anaconda.org/scientific-python-nightly-wheels/simple scikit-learn --force - run: name: build treeple diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 492f70850..c4cb3b447 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -85,7 +85,7 @@ jobs: pip install -r test_requirements.txt - name: Install nightly wheels for scikit-learn (only for ubuntu 3.12) - if: ${{ matrix.python-version == '3.12' }} && ${{ matrix.os == 'ubuntu-latest' }} + if: ${{ matrix.python-version == '3.12' && matrix.os == 'ubuntu-latest' }} run: | pip install --pre --extra-index https://pypi.anaconda.org/scientific-python-nightly-wheels/simple scikit-learn --force @@ -189,7 +189,6 @@ jobs: pip install compilers pip install -r build_requirements.txt pip install -r test_requirements.txt - pip install --pre --extra-index https://pypi.anaconda.org/scientific-python-nightly-wheels/simple scikit-learn --force - name: Prepare compiler cache id: prep-ccache @@ -285,7 +284,6 @@ jobs: pip install spin pip install -r build_requirements.txt pip install -r test_requirements.txt - pip install --pre --extra-index https://pypi.anaconda.org/scientific-python-nightly-wheels/simple scikit-learn --force - name: Build run: | diff --git a/build_requirements.txt b/build_requirements.txt index ec63cfb3b..90af56671 100644 --- a/build_requirements.txt +++ b/build_requirements.txt @@ -3,7 +3,7 @@ meson-python>=0.16.0 cython>=3.0.10 ninja numpy -scikit-learn>=1.5.0 +scikit-learn~=1.6.0 click rich-click doit diff --git a/pyproject.toml b/pyproject.toml index 2bb8c6a23..543e0e767 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -10,7 +10,7 @@ requires = [ "setuptools<=65.5", "packaging", "Cython>=3.0.10", - "scikit-learn>=1.6.0", + "scikit-learn~=1.6.0", "scipy>=1.5.0", "numpy>=1.25; python_version>='3.9'" ]