Skip to content

Commit d171863

Browse files
authored
Merge pull request #2059 from ngam/fix
fixing sklearn dep
2 parents 8cb3136 + b7f373d commit d171863

File tree

5 files changed

+5
-4
lines changed

5 files changed

+5
-4
lines changed

.conda/meta.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ requirements:
1818
run:
1919
- pytorch>=1.10
2020
- numpy
21-
- scikit-learn<=1.0.2 # newer versions require py3.8
21+
- scikit-learn
2222
- scipy
2323

2424
test:

.github/workflows/run_test_suite.yml

+1
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ jobs:
7070
- name: Install dependencies
7171
run: |
7272
pip install pytest nbval jupyter tqdm matplotlib torchvision scipy
73+
pip install -r requirements.txt
7374
python setup.py build develop
7475
pip install "pyro-ppl<=1.8";
7576
- name: Run example notebooks

environment.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ channels:
44
dependencies:
55
- pytorch
66
- numpy
7-
- scikit-learn<=1.0.2 # newer versions require py3.8
7+
- scikit-learn
88
- scipy

requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
torch>=1.10
22
numpy
3-
scikit-learn<=1.0.2 # newer versions require py3.8
3+
scikit-learn
44
scipy

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def find_version(*file_paths):
3535
install_requires = []
3636
except ImportError:
3737
pass
38-
install_requires += ["numpy", "scikit-learn<=1.0.2", "scipy"]
38+
install_requires += ["numpy", "scikit-learn", "scipy"]
3939

4040

4141
# Run the setup

0 commit comments

Comments
 (0)