File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 3131 run : |
3232 python -m pip install --upgrade pip
3333 python -m pip install invoke .[test]
34- python -m pip install "scikit-learn<1.8.0"
3534 - name : Test with minimum versions
3635 run : invoke minimum
Original file line number Diff line number Diff line change 2121 '<=' : operator .le ,
2222 '==' : operator .eq ,
2323}
24+ EXTERNAL_DEPENDENCY_CAPS = {
25+ 'scikit-learn' : '1.8.0'
26+ }
2427
2528
2629if not hasattr (inspect , 'getargspec' ):
@@ -110,6 +113,8 @@ def install_minimum(c):
110113 if minimum_versions :
111114 install_deps = ' ' .join (minimum_versions )
112115 c .run (f'python -m pip install { install_deps } ' )
116+ for dep , cap in EXTERNAL_DEPENDENCY_CAPS .items ():
117+ c .run (f'python -m pip install "{ dep } <{ cap } "' )
113118
114119
115120@task
You can’t perform that action at this time.
0 commit comments