@@ -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 - name-suffix : " (Extra TeX packages)"
@@ -182,15 +182,15 @@ jobs:
182182 if : startsWith(runner.os, 'Linux')
183183 with :
184184 path : ~/.cache/pip
185- key : ${{ matrix.os }}-py${{ matrix.python-version }}-pip-${{ hashFiles('requirements/*/*.txt ') }}
185+ key : ${{ matrix.os }}-py${{ matrix.python-version }}-pip-${{ hashFiles('pyproject.toml ') }}
186186 restore-keys : |
187187 ${{ matrix.os }}-py${{ matrix.python-version }}-pip-
188188 - name : Cache pip
189189 uses : actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
190190 if : startsWith(runner.os, 'macOS')
191191 with :
192192 path : ~/Library/Caches/pip
193- key : ${{ matrix.os }}-py${{ matrix.python-version }}-pip-${{ hashFiles('requirements/*/*.txt ') }}
193+ key : ${{ matrix.os }}-py${{ matrix.python-version }}-pip-${{ hashFiles('pyproject.toml ') }}
194194 restore-keys : |
195195 ${{ matrix.os }}-py${{ matrix.python-version }}-pip-
196196 - name : Cache ccache
@@ -227,12 +227,8 @@ jobs:
227227
228228 # Install dependencies from PyPI.
229229 # Preinstall build requirements to enable no-build-isolation builds.
230- python -m pip install --upgrade $PRE \
231- 'contourpy>=1.0.1' cycler fonttools kiwisolver importlib_resources \
232- packaging pillow 'pyparsing!=3.1.0' python-dateutil setuptools-scm \
233- 'meson-python>=0.13.1' 'pybind11>=2.13.2' \
234- -r requirements/testing/all.txt \
235- ${{ matrix.extra-requirements }}
230+ python -m pip install --upgrade $PRE --prefer-binary \
231+ --group build --group test ${{ matrix.extra-requirements }}
236232
237233 # Install optional dependencies from PyPI.
238234 # Sphinx is needed to run sphinxext tests
0 commit comments