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
60
59
- os : ubuntu-20.04
61
60
python-version : 3.9
62
61
extra-requirements : ' -r requirements/testing/extra.txt'
81
80
python-version : ' 3.12-dev'
82
81
pyside6-ver : ' !=6.5.1'
83
82
pre : true
84
- no-build-isolation : true
85
83
- os : macos-latest
86
84
python-version : 3.9
87
85
# https://bugreports.qt.io/projects/PYSIDE/issues/PYSIDE-2346
@@ -131,6 +129,7 @@ jobs:
131
129
libxcb-render-util0 \
132
130
libxcb-xinerama0 \
133
131
lmodern \
132
+ ninja-build \
134
133
pkg-config \
135
134
qtbase5-dev \
136
135
texlive-fonts-recommended \
@@ -150,7 +149,7 @@ jobs:
150
149
macOS)
151
150
brew install ccache
152
151
brew tap homebrew/cask-fonts
153
- brew install font-noto-sans-cjk gobject-introspection gtk4
152
+ brew install font-noto-sans-cjk gobject-introspection gtk4 ninja
154
153
;;
155
154
esac
156
155
@@ -211,10 +210,8 @@ jobs:
211
210
-r requirements/testing/all.txt \
212
211
${{ matrix.extra-requirements }}
213
212
214
- # Preinstall pybind11 on no-build-isolation builds.
215
- if [[ "${{ matrix.no-build-isolation }}" == 'true' ]]; then
216
- python -m pip install 'pybind11>=2.6'
217
- fi
213
+ # Preinstall build requirements to enable no-build-isolation builds.
214
+ python -m pip install 'meson-python>=0.13.1' 'pybind11>=2.6'
218
215
219
216
# Install optional dependencies from PyPI.
220
217
# Sphinx is needed to run sphinxext tests
@@ -300,20 +297,9 @@ jobs:
300
297
fi
301
298
fi
302
299
303
- cat <<EOT >> mplsetup.cfg
304
- [rc_options]
305
- backend=Agg
306
- EOT
307
-
308
- cat mplsetup.cfg
309
-
310
- if [[ "${{ matrix.no-build-isolation }}" == 'true' ]]; then
311
- # Minimum versions run does not use build isolation so that it
312
- # builds against the pre-installed minver dependencies.
313
- python -m pip install --no-deps --no-build-isolation -ve .
314
- else
315
- python -m pip install --no-deps -ve .
316
- fi
300
+ python -m pip install --no-deps --no-build-isolation -v \
301
+ --config-settings=setup-args="-DrcParams-backend=Agg" \
302
+ --editable .
317
303
318
304
if [[ "${{ runner.os }}" != 'macOS' ]]; then
319
305
unset CPPFLAGS
0 commit comments