Skip to content

Commit

Permalink
now using skl>=1.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ksaur committed May 30, 2024
1 parent d463516 commit 2d3d402
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
6 changes: 0 additions & 6 deletions .github/workflows/pythonapp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,6 @@ jobs:
- name: Install basic dependencies
run: |
python -m pip install -e .[tests] -f https://download.pytorch.org/whl/torch_stable.html
- name: Test with older SKLearn on Linux with py3.9 to check backward compatibility
if: ${{ matrix.python-version == '3.9' && startsWith(matrix.os, 'ubuntu') == true }}
run: python -m pip install scikit-learn==1.2.1
- name: Pin SKLearn<1.5.0 on not Linux with py3.9
if: ${{ !(matrix.python-version == '3.9' && startsWith(matrix.os, 'ubuntu') == true) }}
run: python -m pip install "scikit-learn<1.5.0"
- name: Run basic tests without extra
run: pytest
- name: Coverage on basic tests without extra
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"numpy>=1.15",
"onnxconverter-common>=1.6.0",
"scipy",
"scikit-learn",
"scikit-learn>=1.5.0",
"torch>1.7.0",
"psutil",
"dill",
Expand Down

0 comments on commit 2d3d402

Please sign in to comment.