@@ -50,14 +50,14 @@ jobs:
50
50
- name-suffix : " (Minimum Versions)"
51
51
os : ubuntu-22.04
52
52
python-version : ' 3.11'
53
- extra-requirements : ' -c requirements/testing/ minver.txt '
53
+ extra-requirements : ' --group test- minver'
54
54
delete-font-cache : true
55
55
# https://github.com/matplotlib/matplotlib/issues/29844
56
56
pygobject-ver : ' <3.52.0'
57
57
- os : ubuntu-22.04
58
58
python-version : ' 3.11'
59
59
CFLAGS : " -fno-lto" # Ensure that disabling LTO works.
60
- extra-requirements : ' -r requirements/testing/ extra.txt '
60
+ extra-requirements : ' --group test- extra'
61
61
# https://github.com/matplotlib/matplotlib/issues/29844
62
62
pygobject-ver : ' <3.52.0'
63
63
- os : ubuntu-22.04-arm
@@ -183,15 +183,15 @@ jobs:
183
183
if : startsWith(runner.os, 'Linux')
184
184
with :
185
185
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 ') }}
187
187
restore-keys : |
188
188
${{ matrix.os }}-py${{ matrix.python-version }}-pip-
189
189
- name : Cache pip
190
190
uses : actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
191
191
if : startsWith(runner.os, 'macOS')
192
192
with :
193
193
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 ') }}
195
195
restore-keys : |
196
196
${{ matrix.os }}-py${{ matrix.python-version }}-pip-
197
197
- name : Cache ccache
@@ -228,12 +228,8 @@ jobs:
228
228
229
229
# Install dependencies from PyPI.
230
230
# 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 }}
237
233
238
234
# Install optional dependencies from PyPI.
239
235
# Sphinx is needed to run sphinxext tests
0 commit comments