@@ -2,11 +2,12 @@ variables:
2
2
AZURE_BUILD : true
3
3
4
4
trigger :
5
- tags :
6
- include :
7
- - v*
5
+ - master
6
+ # tags:
7
+ # include:
8
+ # - v*
8
9
9
- pr : none
10
+ # pr: none
10
11
11
12
jobs :
12
13
- job : ' PackageWinOsx'
38
39
python.version : ' 3.10'
39
40
ciwb.build : cp310-macosx_universal2
40
41
ciwb.archs : universal2
42
+ osx - python311 :
43
+ image.name : ' macos-12'
44
+ python.version : ' 3.11'
45
+ ciwb.build : cp311-macosx_universal2
46
+ ciwb.archs : universal2
41
47
42
48
windows - python37 :
43
49
image.name : ' windows-2019'
59
65
python.version : ' 3.10'
60
66
ciwb.build : cp310-win_amd64
61
67
ciwb.archs : AMD64
68
+ windows - python311 :
69
+ image.name : ' windows-2019'
70
+ python.version : ' 3.11'
71
+ ciwb.build : cp311-win_amd64
72
+ ciwb.archs : AMD64
62
73
63
74
steps :
64
75
- task : UsePythonVersion@0
@@ -88,14 +99,15 @@ jobs:
88
99
- bash : ls -lRh dist
89
100
displayName : ' List built files'
90
101
91
- - bash : python -m pip install --force-reinstall --find-links dist openTSNE
102
+ - bash : python -m pip install --force-reinstall --find-links file:// dist openTSNE
92
103
displayName : ' Install wheel'
93
104
94
105
- script : pip install pynndescent
95
106
displayName : ' Install optional dependencies - pynndescent'
96
- condition : ne(variables['python.version'], '3.10')
97
107
98
108
- script : pip install hnswlib
109
+ env :
110
+ HNSWLIB_NO_NATIVE : 1 # -march=native is not available on clang, so just disable it
99
111
displayName : ' Install optional dependencies - hnswlib'
100
112
101
113
- bash : pip install pytest
@@ -139,6 +151,9 @@ jobs:
139
151
python310 :
140
152
python : ' /opt/python/cp310-cp310/bin'
141
153
python.version : ' 3.10'
154
+ python311 :
155
+ python : ' /opt/python/cp311-cp311/bin'
156
+ python.version : ' 3.11'
142
157
143
158
container :
144
159
image : quay.io/pypa/manylinux2014_x86_64:latest
@@ -168,12 +183,11 @@ jobs:
168
183
- bash : mv openTSNE src
169
184
displayName : ' Remove source files from path'
170
185
171
- - script : $(python)/pip install --force-reinstall --find-links wheelhouse openTSNE
186
+ - script : $(python)/pip install --force-reinstall --find-links file:// wheelhouse openTSNE
172
187
displayName : ' Install openTSNE wheel'
173
188
174
189
- script : $(python)/pip install pynndescent
175
190
displayName : ' Install optional dependencies - pynndescent'
176
- condition : ne(variables['python.version'], '3.10')
177
191
178
192
- script : $(python)/pip install hnswlib
179
193
displayName : ' Install optional dependencies - hnswlib'
@@ -213,9 +227,9 @@ jobs:
213
227
214
228
steps :
215
229
- task : UsePythonVersion@0
216
- displayName : ' Use Python 3.8 '
230
+ displayName : ' Use Python 3.10 '
217
231
inputs :
218
- versionSpec : ' 3.8 '
232
+ versionSpec : ' 3.10 '
219
233
220
234
- script : python -m pip install build
221
235
displayName : Installing build tools
@@ -232,12 +246,11 @@ jobs:
232
246
- bash : ls -lRh dist
233
247
displayName : ' List built files'
234
248
235
- - bash : python -m pip install --force-reinstall --find-links dist openTSNE
249
+ - bash : python -m pip install --force-reinstall --find-links file:// dist openTSNE
236
250
displayName : ' Install package'
237
251
238
252
- script : pip install pynndescent
239
253
displayName : ' Install optional dependencies - pynndescent'
240
- condition : ne(variables['python.version'], '3.10')
241
254
242
255
- script : pip install hnswlib
243
256
displayName : ' Install optional dependencies - hnswlib'
0 commit comments