@@ -21,34 +21,36 @@ jobs:
21
21
SCIPY_VERSION : " 1.1.0"
22
22
SKLEARN_VERSION : " 0.23.2"
23
23
Python39 :
24
- python.version : ' 3.8'
24
+ python.version : ' 3.9'
25
+ NUMPY_VERSION : " 1.19.4"
26
+ SCIPY_VERSION : " 1.5.4"
25
27
SKLEARN_VERSION : " nightly"
26
28
variables :
27
29
OMP_NUM_THREADS : ' 2'
28
-
30
+
29
31
steps :
30
32
- task : UsePythonVersion@0
31
33
inputs :
32
34
versionSpec : ' $(python.version)'
33
35
displayName : ' Use Python $(python.version)'
34
-
36
+
35
37
- script : |
36
38
set -xe
37
39
python --version
38
40
python -m pip install --upgrade pip
39
41
if [[ "$SKLEARN_VERSION" == "nightly" ]]; then
40
42
# This also installs latest numpy, scipy and joblib.
41
- pip install --pre --extra-index https://pypi.anaconda.org/scipy-wheels-nightly/simple scikit-learn
43
+ pip install --pre scikit-learn
42
44
else
43
45
python -m pip install numpy==$NUMPY_VERSION scipy==$SCIPY_VERSION scikit-learn==$SKLEARN_VERSION
44
46
fi
45
47
displayName: 'Install dependencies'
46
-
48
+
47
49
- script : |
48
50
set -xe
49
51
pip install -e .
50
52
displayName: 'Install scikit-learn-extra'
51
-
53
+
52
54
- script : |
53
55
set -xe
54
56
python -m pip install pytest pytest-azurepipelines pytest-cov codecov
89
91
inputs :
90
92
versionSpec : ' $(python.version)'
91
93
displayName : ' Use Python $(python.version)'
92
-
94
+
93
95
- script : |
94
96
set -xe
95
97
python --version
@@ -101,12 +103,12 @@ jobs:
101
103
python -m pip install numpy==$NUMPY_VERSION scipy==$SCIPY_VERSION scikit-learn==$SKLEARN_VERSION
102
104
fi
103
105
displayName: 'Install dependencies'
104
-
106
+
105
107
- script : |
106
108
set -xe
107
109
pip install -e .
108
110
displayName: 'Install scikit-learn-extra'
109
-
111
+
110
112
- script : |
111
113
set -xe
112
114
python -m pip install pytest pytest-azurepipelines pytest pytest-cov codecov
@@ -143,18 +145,18 @@ jobs:
143
145
- task : UsePythonVersion@0
144
146
inputs :
145
147
versionSpec : ' $(python.version)'
146
-
148
+
147
149
- script : |
148
150
python --version
149
151
python -m pip install --upgrade pip
150
152
python -m pip install numpy==%NUMPY_VERSION% scipy==%SCIPY_VERSION% scikit-learn==%SKLEARN_VERSION%
151
153
displayName: 'Install dependencies'
152
-
154
+
153
155
- script : |
154
156
pip wheel . -w dist\
155
157
pip install --pre --no-index --find-links dist\ scikit-learn-extra
156
158
displayName: 'Install scikit-learn-extra'
157
-
159
+
158
160
- script : |
159
161
cd ..
160
162
python -m pip install pytest pytest-azurepipelines pytest-cov codecov
0 commit comments