5656 pyside2-ver : ' ==5.15.1' # oldest version with working Py3.9 wheel.
5757 pyside6-ver : ' ==6.0.0'
5858 delete-font-cache : true
59- no-build-isolation : true
6059 - os : ubuntu-20.04
6160 python-version : 3.9
6261 extra-requirements : ' -r requirements/testing/extra.txt'
8180 python-version : ' 3.12-dev'
8281 pyside6-ver : ' !=6.5.1'
8382 pre : true
84- no-build-isolation : true
8583 - os : macos-latest
8684 python-version : 3.9
8785 # https://bugreports.qt.io/projects/PYSIDE/issues/PYSIDE-2346
@@ -131,6 +129,7 @@ jobs:
131129 libxcb-render-util0 \
132130 libxcb-xinerama0 \
133131 lmodern \
132+ ninja-build \
134133 pkg-config \
135134 qtbase5-dev \
136135 texlive-fonts-recommended \
@@ -150,7 +149,7 @@ jobs:
150149 macOS)
151150 brew install ccache
152151 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
154153 ;;
155154 esac
156155
@@ -205,17 +204,14 @@ jobs:
205204 fi
206205
207206 # Install dependencies from PyPI.
207+ # Preinstall build requirements to enable no-build-isolation builds.
208208 python -m pip install --upgrade $PRE \
209209 'contourpy>=1.0.1' cycler fonttools kiwisolver importlib_resources \
210210 numpy packaging pillow 'pyparsing!=3.1.0' python-dateutil setuptools-scm \
211+ 'meson-python>=0.13.1' 'pybind11>=2.6' \
211212 -r requirements/testing/all.txt \
212213 ${{ matrix.extra-requirements }}
213214
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
218-
219215 # Install optional dependencies from PyPI.
220216 # Sphinx is needed to run sphinxext tests
221217 python -m pip install --upgrade sphinx!=6.1.2
@@ -300,20 +296,9 @@ jobs:
300296 fi
301297 fi
302298
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
299+ python -m pip install --no-deps --no-build-isolation --verbose \
300+ --config-settings=setup-args="-DrcParams-backend=Agg" \
301+ --editable .[dev]
317302
318303 if [[ "${{ runner.os }}" != 'macOS' ]]; then
319304 unset CPPFLAGS
0 commit comments