@@ -52,14 +52,14 @@ jobs:
5252 - name-suffix : " (Minimum Versions)"
5353 os : ubuntu-22.04
5454 python-version : ' 3.11'
55- extra-requirements : ' -c requirements/testing/ minver.txt'
55+ extra-requirements : ' -c ci/ minver-requirements .txt'
5656 delete-font-cache : true
5757 # https://github.com/matplotlib/matplotlib/issues/29844
5858 pygobject-ver : ' <3.52.0'
5959 - os : ubuntu-22.04
6060 python-version : ' 3.11'
6161 CFLAGS : " -fno-lto" # Ensure that disabling LTO works.
62- extra-requirements : ' -r requirements/testing/ extra.txt '
62+ extra-requirements : ' --group test- extra'
6363 # https://github.com/matplotlib/matplotlib/issues/29844
6464 pygobject-ver : ' <3.52.0'
6565 - name-suffix : " (Extra TeX packages)"
@@ -190,15 +190,17 @@ jobs:
190190 if : startsWith(runner.os, 'Linux')
191191 with :
192192 path : ~/.cache/pip
193- key : ${{ matrix.os }}-py${{ matrix.python-version }}-pip-${{ hashFiles('requirements/*/*.txt') }}
193+ key : |
194+ ${{ matrix.os }}-py${{ matrix.python-version }}-pip-${{
195+ hashFiles('pyproject.toml', 'ci/minver-requirements.txt') }}
194196 restore-keys : |
195197 ${{ matrix.os }}-py${{ matrix.python-version }}-pip-
196198 - name : Cache pip
197199 uses : actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3
198200 if : startsWith(runner.os, 'macOS')
199201 with :
200202 path : ~/Library/Caches/pip
201- key : ${{ matrix.os }}-py${{ matrix.python-version }}-pip-${{ hashFiles('requirements/*/*.txt ') }}
203+ key : ${{ matrix.os }}-py${{ matrix.python-version }}-pip-${{ hashFiles('pyproject.toml ') }}
202204 restore-keys : |
203205 ${{ matrix.os }}-py${{ matrix.python-version }}-pip-
204206 - name : Cache ccache
@@ -235,12 +237,8 @@ jobs:
235237
236238 # Install dependencies from PyPI.
237239 # Preinstall build requirements to enable no-build-isolation builds.
238- python -m pip install --upgrade $PRE \
239- 'contourpy>=1.0.1' cycler fonttools kiwisolver importlib_resources \
240- packaging pillow 'pyparsing!=3.1.0' python-dateutil setuptools-scm \
241- 'meson-python>=0.13.1' 'pybind11>=2.13.2' \
242- -r requirements/testing/all.txt \
243- ${{ matrix.extra-requirements }}
240+ python -m pip install --upgrade $PRE --prefer-binary \
241+ --group build --group test ${{ matrix.extra-requirements }}
244242
245243 # Install optional dependencies from PyPI.
246244 # Sphinx is needed to run sphinxext tests
0 commit comments