56
56
pyside2-ver : ' ==5.15.1' # oldest version with working Py3.9 wheel.
57
57
pyside6-ver : ' ==6.0.0'
58
58
delete-font-cache : true
59
+ no-build-isolation : true
59
60
- os : ubuntu-20.04
60
61
python-version : 3.9
61
62
extra-requirements : ' -r requirements/testing/extra.txt'
76
77
# https://bugreports.qt.io/projects/PYSIDE/issues/PYSIDE-2346
77
78
pyside6-ver : ' !=6.5.1'
78
79
extra-requirements : ' -r requirements/testing/extra.txt'
80
+ - os : ubuntu-22.04
81
+ python-version : ' 3.12-dev'
82
+ pyside6-ver : ' !=6.5.1'
83
+ pre : true
84
+ no-build-isolation : true
79
85
- os : macos-latest
80
86
python-version : 3.9
81
87
# https://bugreports.qt.io/projects/PYSIDE/issues/PYSIDE-2346
@@ -191,8 +197,10 @@ jobs:
191
197
python -m pip install --upgrade pip setuptools wheel
192
198
193
199
# Install pre-release versions during our weekly upcoming dependency tests.
200
+ # Also install for 3.12 to get working NumPy (remove when 1.26 is released)
194
201
if [[ "${{ github.event_name == 'schedule' &&
195
- matrix.name-suffix != '(Minimum Versions)' }}" = "true" ]]; then
202
+ matrix.name-suffix != '(Minimum Versions)' }}" = "true"
203
+ || "${{ matrix.pre }}" = "true" ]]; then
196
204
PRE="--pre"
197
205
fi
198
206
@@ -204,7 +212,7 @@ jobs:
204
212
${{ matrix.extra-requirements }}
205
213
206
214
# Preinstall pybind11 on no-build-isolation builds.
207
- if [[ "${{ matrix.name-suffix }}" == '(Minimum Versions) ' ]]; then
215
+ if [[ "${{ matrix.no-build-isolation }}" == 'true ' ]]; then
208
216
python -m pip install 'pybind11>=2.6'
209
217
fi
210
218
@@ -236,7 +244,8 @@ jobs:
236
244
python -c 'import PyQt5.QtCore' &&
237
245
echo 'PyQt5 is available' ||
238
246
echo 'PyQt5 is not available'
239
- if [[ "${{ runner.os }}" != 'macOS' ]]; then
247
+ if [[ "${{ runner.os }}" != 'macOS'
248
+ && "${{ matrix.python-version != '3.12-dev'}}" = "true" ]]; then
240
249
python -mpip install --upgrade pyside2${{ matrix.pyside2-ver }} &&
241
250
python -c 'import PySide2.QtCore' &&
242
251
echo 'PySide2 is available' ||
@@ -247,18 +256,23 @@ jobs:
247
256
python -c 'import PyQt6.QtCore' &&
248
257
echo 'PyQt6 is available' ||
249
258
echo 'PyQt6 is not available'
259
+ fi
260
+ if [[ "${{ runner.os }}" != 'macOS'
261
+ && "${{ matrix.python-version != '3.12-dev'}}" = "true" ]]; then
250
262
python -mpip install --upgrade pyside6${{ matrix.pyside6-ver }} &&
251
263
python -c 'import PySide6.QtCore' &&
252
264
echo 'PySide6 is available' ||
253
265
echo 'PySide6 is not available'
254
266
fi
255
267
256
- python -mpip install --upgrade \
257
- -f "https://extras.wxpython.org/wxPython4/extras/linux/gtk3/${{ matrix.os }}" \
258
- wxPython &&
259
- python -c 'import wx' &&
260
- echo 'wxPython is available' ||
261
- echo 'wxPython is not available'
268
+ if [[ "${{ matrix.python-version != '3.12-dev'}}" = "true" ]]; then
269
+ python -mpip install --upgrade \
270
+ -f "https://extras.wxpython.org/wxPython4/extras/linux/gtk3/${{ matrix.os }}" \
271
+ wxPython &&
272
+ python -c 'import wx' &&
273
+ echo 'wxPython is available' ||
274
+ echo 'wxPython is not available'
275
+ fi
262
276
263
277
- name : Install the nightly dependencies
264
278
# Only install the nightly dependencies during the scheduled event
@@ -293,7 +307,7 @@ jobs:
293
307
294
308
cat mplsetup.cfg
295
309
296
- if [[ "${{ matrix.name-suffix }}" == '(Minimum Versions) ' ]]; then
310
+ if [[ "${{ matrix.no-build-isolation }}" == 'true ' ]]; then
297
311
# Minimum versions run does not use build isolation so that it
298
312
# builds against the pre-installed minver dependencies.
299
313
python -m pip install --no-deps --no-build-isolation -ve .
0 commit comments