38
38
python.version : ' 3.10'
39
39
ciwb.build : cp310-macosx_universal2
40
40
ciwb.archs : universal2
41
+ osx - python311 :
42
+ image.name : ' macos-12'
43
+ python.version : ' 3.11'
44
+ ciwb.build : cp311-macosx_universal2
45
+ ciwb.archs : universal2
41
46
42
47
windows - python37 :
43
48
image.name : ' windows-2019'
59
64
python.version : ' 3.10'
60
65
ciwb.build : cp310-win_amd64
61
66
ciwb.archs : AMD64
67
+ windows - python311 :
68
+ image.name : ' windows-2019'
69
+ python.version : ' 3.11'
70
+ ciwb.build : cp311-win_amd64
71
+ ciwb.archs : AMD64
62
72
63
73
steps :
64
74
- task : UsePythonVersion@0
@@ -93,9 +103,10 @@ jobs:
93
103
94
104
- script : pip install pynndescent
95
105
displayName : ' Install optional dependencies - pynndescent'
96
- condition : ne(variables['python.version'], '3.10')
97
106
98
107
- script : pip install hnswlib
108
+ env :
109
+ HNSWLIB_NO_NATIVE : 1 # -march=native is not available on clang, so just disable it
99
110
displayName : ' Install optional dependencies - hnswlib'
100
111
101
112
- bash : pip install pytest
@@ -139,6 +150,9 @@ jobs:
139
150
python310 :
140
151
python : ' /opt/python/cp310-cp310/bin'
141
152
python.version : ' 3.10'
153
+ python311 :
154
+ python : ' /opt/python/cp311-cp311/bin'
155
+ python.version : ' 3.11'
142
156
143
157
container :
144
158
image : quay.io/pypa/manylinux2014_x86_64:latest
@@ -173,7 +187,6 @@ jobs:
173
187
174
188
- script : $(python)/pip install pynndescent
175
189
displayName : ' Install optional dependencies - pynndescent'
176
- condition : ne(variables['python.version'], '3.10')
177
190
178
191
- script : $(python)/pip install hnswlib
179
192
displayName : ' Install optional dependencies - hnswlib'
@@ -213,9 +226,9 @@ jobs:
213
226
214
227
steps :
215
228
- task : UsePythonVersion@0
216
- displayName : ' Use Python 3.8 '
229
+ displayName : ' Use Python 3.10 '
217
230
inputs :
218
- versionSpec : ' 3.8 '
231
+ versionSpec : ' 3.10 '
219
232
220
233
- script : python -m pip install build
221
234
displayName : Installing build tools
@@ -237,7 +250,6 @@ jobs:
237
250
238
251
- script : pip install pynndescent
239
252
displayName : ' Install optional dependencies - pynndescent'
240
- condition : ne(variables['python.version'], '3.10')
241
253
242
254
- script : pip install hnswlib
243
255
displayName : ' Install optional dependencies - hnswlib'
0 commit comments