Skip to content

Commit 8df1239

Browse files
ci: include py311 in release pipeline
1 parent 0925593 commit 8df1239

File tree

1 file changed

+25
-12
lines changed

1 file changed

+25
-12
lines changed

azure-pipelines-release.yml

+25-12
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,12 @@ variables:
22
AZURE_BUILD: true
33

44
trigger:
5-
tags:
6-
include:
7-
- v*
5+
- master
6+
# tags:
7+
# include:
8+
# - v*
89

9-
pr: none
10+
#pr: none
1011

1112
jobs:
1213
- job: 'PackageWinOsx'
@@ -38,6 +39,11 @@ jobs:
3839
python.version: '3.10'
3940
ciwb.build: cp310-macosx_universal2
4041
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
4147

4248
windows - python37:
4349
image.name: 'windows-2019'
@@ -59,6 +65,11 @@ jobs:
5965
python.version: '3.10'
6066
ciwb.build: cp310-win_amd64
6167
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
6273

6374
steps:
6475
- task: UsePythonVersion@0
@@ -88,14 +99,15 @@ jobs:
8899
- bash: ls -lRh dist
89100
displayName: 'List built files'
90101

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
92103
displayName: 'Install wheel'
93104

94105
- script: pip install pynndescent
95106
displayName: 'Install optional dependencies - pynndescent'
96-
condition: ne(variables['python.version'], '3.10')
97107

98108
- script: pip install hnswlib
109+
env:
110+
HNSWLIB_NO_NATIVE: 1 # -march=native is not available on clang, so just disable it
99111
displayName: 'Install optional dependencies - hnswlib'
100112

101113
- bash: pip install pytest
@@ -139,6 +151,9 @@ jobs:
139151
python310:
140152
python: '/opt/python/cp310-cp310/bin'
141153
python.version: '3.10'
154+
python311:
155+
python: '/opt/python/cp311-cp311/bin'
156+
python.version: '3.11'
142157

143158
container:
144159
image: quay.io/pypa/manylinux2014_x86_64:latest
@@ -168,12 +183,11 @@ jobs:
168183
- bash: mv openTSNE src
169184
displayName: 'Remove source files from path'
170185

171-
- script: $(python)/pip install --force-reinstall --find-links wheelhouse openTSNE
186+
- script: $(python)/pip install --force-reinstall --find-links file://wheelhouse openTSNE
172187
displayName: 'Install openTSNE wheel'
173188

174189
- script: $(python)/pip install pynndescent
175190
displayName: 'Install optional dependencies - pynndescent'
176-
condition: ne(variables['python.version'], '3.10')
177191

178192
- script: $(python)/pip install hnswlib
179193
displayName: 'Install optional dependencies - hnswlib'
@@ -213,9 +227,9 @@ jobs:
213227

214228
steps:
215229
- task: UsePythonVersion@0
216-
displayName: 'Use Python 3.8'
230+
displayName: 'Use Python 3.10'
217231
inputs:
218-
versionSpec: '3.8'
232+
versionSpec: '3.10'
219233

220234
- script: python -m pip install build
221235
displayName: Installing build tools
@@ -232,12 +246,11 @@ jobs:
232246
- bash: ls -lRh dist
233247
displayName: 'List built files'
234248

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
236250
displayName: 'Install package'
237251

238252
- script: pip install pynndescent
239253
displayName: 'Install optional dependencies - pynndescent'
240-
condition: ne(variables['python.version'], '3.10')
241254

242255
- script: pip install hnswlib
243256
displayName: 'Install optional dependencies - hnswlib'

0 commit comments

Comments
 (0)