@@ -49,14 +49,16 @@ stages:
49
49
if ! `gcc 2>/dev/null`; then
50
50
sudo apt install gcc
51
51
fi
52
- sudo apt install python3
53
- sudo apt install python3-dev
52
+ sudo add-apt-repository ppa:deadsnakes/ppa -y
53
+ sudo apt install python3.9
54
+ sudo apt install python3.9-dev
55
+ sudo apt install python3.9-distutils
54
56
# python3 has no setuptools, so install one to get us going
55
- python3 -m pip install --user --upgrade pip 'setuptools<49.2.0'
56
- python3 -m pip install --user -r test_requirements.txt
57
+ python3.9 -m pip install --user --upgrade pip 'setuptools<49.2.0'
58
+ python3.9 -m pip install --user -r test_requirements.txt
57
59
displayName: 'install python/requirements'
58
60
- script : |
59
- python3 runtests.py --show-build-log --cpu-baseline=native --cpu-dispatch=none \
61
+ python3.9 runtests.py --show-build-log --cpu-baseline=native --cpu-dispatch=none \
60
62
--debug-info --mode=full -- -rsx --junitxml=junit/test-results.xml
61
63
displayName: 'Run native baseline Build / Tests'
62
64
- task : PublishTestResults@2
@@ -78,7 +80,7 @@ stages:
78
80
steps :
79
81
- task : UsePythonVersion@0
80
82
inputs :
81
- versionSpec : ' 3.8 '
83
+ versionSpec : ' 3.9 '
82
84
addToPath : true
83
85
architecture : ' x64'
84
86
- script : >-
@@ -91,7 +93,7 @@ stages:
91
93
displayName: 'Run Lint Checks'
92
94
failOnStderr: true
93
95
94
- - job : Linux_Python_38_32bit_full_with_asserts
96
+ - job : Linux_Python_39_32bit_full_with_asserts
95
97
pool :
96
98
vmImage : ' ubuntu-20.04'
97
99
steps :
@@ -104,7 +106,7 @@ stages:
104
106
/bin/bash -xc " \
105
107
git config --global --add safe.directory /numpy && \
106
108
cd /numpy && \
107
- /opt/python/cp38-cp38 /bin/python -mvenv venv && \
109
+ /opt/python/cp39-cp39 /bin/python -mvenv venv && \
108
110
source venv/bin/activate && \
109
111
target=\$(python3 tools/openblas_support.py) && \
110
112
cp -r \$target/lib/* /usr/lib && \
@@ -121,7 +123,7 @@ stages:
121
123
inputs :
122
124
testResultsFiles : ' **/test-*.xml'
123
125
failTaskOnFailedTests : true
124
- testRunTitle : ' Publish test results for Python 3.8 -32 bit full Linux'
126
+ testRunTitle : ' Publish test results for Python 3.9 -32 bit full Linux'
125
127
126
128
127
129
- job : macOS
@@ -130,11 +132,11 @@ stages:
130
132
strategy :
131
133
maxParallel : 3
132
134
matrix :
133
- Python38 :
134
- PYTHON_VERSION : ' 3.8 '
135
+ Python39 :
136
+ PYTHON_VERSION : ' 3.9 '
135
137
USE_OPENBLAS : ' 1'
136
- Python38 -ILP64 :
137
- PYTHON_VERSION : ' 3.8 '
138
+ Python39 -ILP64 :
139
+ PYTHON_VERSION : ' 3.9 '
138
140
NPY_USE_BLAS_ILP64 : ' 1'
139
141
USE_OPENBLAS : ' 1'
140
142
steps :
@@ -234,7 +236,7 @@ stages:
234
236
inputs :
235
237
testResultsFiles : ' **/test-*.xml'
236
238
failTaskOnFailedTests : true
237
- testRunTitle : ' Publish test results for Python 3.8 64-bit full Mac OS'
239
+ testRunTitle : ' Publish test results for Python 3.9 64-bit full Mac OS'
238
240
239
241
240
242
- job : Windows
@@ -243,27 +245,41 @@ stages:
243
245
strategy :
244
246
maxParallel : 6
245
247
matrix :
246
- Python38 -32bit-fast :
247
- PYTHON_VERSION : ' 3.8 '
248
+ Python39 -32bit-fast :
249
+ PYTHON_VERSION : ' 3.9 '
248
250
PYTHON_ARCH : ' x86'
249
251
TEST_MODE : fast
250
252
BITS : 32
251
- Python38 -64bit-full :
252
- PYTHON_VERSION : ' 3.8 '
253
+ Python39 -64bit-full :
254
+ PYTHON_VERSION : ' 3.9 '
253
255
PYTHON_ARCH : ' x64'
254
256
TEST_MODE : full
255
257
BITS : 64
256
- Python39 -32bit-fast :
257
- PYTHON_VERSION : ' 3.9 '
258
+ Python310 -32bit-fast :
259
+ PYTHON_VERSION : ' 3.10 '
258
260
PYTHON_ARCH : ' x86'
259
261
TEST_MODE : fast
260
262
BITS : 32
261
- Python39 -64bit-full :
262
- PYTHON_VERSION : ' 3.9 '
263
+ Python310 -64bit-full :
264
+ PYTHON_VERSION : ' 3.10 '
263
265
PYTHON_ARCH : ' x64'
264
266
TEST_MODE : full
265
267
BITS : 64
266
268
NPY_USE_BLAS_ILP64 : ' 1'
269
+ Python311-32bit-fast :
270
+ PYTHON_VERSION : ' 3.11'
271
+ PYTHON_ARCH : ' x86'
272
+ TEST_MODE : fast
273
+ BITS : 32
274
+ Python311-64bit-full :
275
+ PYTHON_VERSION : ' 3.11'
276
+ PYTHON_ARCH : ' x64'
277
+ TEST_MODE : full
278
+ BITS : 64
279
+ NPY_USE_BLAS_ILP64 : ' 1'
280
+
281
+ # Not sure how the PyPy version is set here
282
+ # It is set in azure-steps-windows.ym
267
283
PyPy38-64bit-fast :
268
284
PYTHON_VERSION : ' PyPy'
269
285
PYTHON_ARCH : ' x64'
0 commit comments