@@ -50,14 +50,14 @@ jobs:
5050 - name-suffix : " (Minimum Versions)"
5151 os : ubuntu-22.04
5252 python-version : ' 3.11'
53- extra-requirements : ' -c requirements/testing/ minver.txt '
53+ extra-requirements : ' --group test- minver'
5454 delete-font-cache : true
5555 # https://github.com/matplotlib/matplotlib/issues/29844
5656 pygobject-ver : ' <3.52.0'
5757 - os : ubuntu-22.04
5858 python-version : ' 3.11'
5959 CFLAGS : " -fno-lto" # Ensure that disabling LTO works.
60- extra-requirements : ' -r requirements/testing/ extra.txt '
60+ extra-requirements : ' --group test- extra'
6161 # https://github.com/matplotlib/matplotlib/issues/29844
6262 pygobject-ver : ' <3.52.0'
6363 - os : ubuntu-22.04-arm
@@ -183,15 +183,15 @@ jobs:
183183 if : startsWith(runner.os, 'Linux')
184184 with :
185185 path : ~/.cache/pip
186- key : ${{ matrix.os }}-py${{ matrix.python-version }}-pip-${{ hashFiles('requirements/*/*.txt ') }}
186+ key : ${{ matrix.os }}-py${{ matrix.python-version }}-pip-${{ hashFiles('pyproject.toml ') }}
187187 restore-keys : |
188188 ${{ matrix.os }}-py${{ matrix.python-version }}-pip-
189189 - name : Cache pip
190190 uses : actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
191191 if : startsWith(runner.os, 'macOS')
192192 with :
193193 path : ~/Library/Caches/pip
194- key : ${{ matrix.os }}-py${{ matrix.python-version }}-pip-${{ hashFiles('requirements/*/*.txt ') }}
194+ key : ${{ matrix.os }}-py${{ matrix.python-version }}-pip-${{ hashFiles('pyproject.toml ') }}
195195 restore-keys : |
196196 ${{ matrix.os }}-py${{ matrix.python-version }}-pip-
197197 - name : Cache ccache
@@ -228,12 +228,8 @@ jobs:
228228
229229 # Install dependencies from PyPI.
230230 # Preinstall build requirements to enable no-build-isolation builds.
231- python -m pip install --upgrade $PRE \
232- 'contourpy>=1.0.1' cycler fonttools kiwisolver importlib_resources \
233- packaging pillow 'pyparsing!=3.1.0' python-dateutil setuptools-scm \
234- 'meson-python>=0.13.1' 'pybind11>=2.13.2' \
235- -r requirements/testing/all.txt \
236- ${{ matrix.extra-requirements }}
231+ python -m pip install --upgrade $PRE --prefer-binary \
232+ --group build --group test ${{ matrix.extra-requirements }}
237233
238234 # Install optional dependencies from PyPI.
239235 # Sphinx is needed to run sphinxext tests
0 commit comments