@@ -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)"
@@ -186,31 +186,33 @@ jobs:
186186 esac
187187
188188 - name : Cache pip
189- uses : actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3
189+ uses : actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4
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
197- uses : actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3
199+ uses : actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4
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
205- uses : actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3
207+ uses : actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4
206208 with :
207209 path : |
208210 ~/.ccache
209211 key : ${{ matrix.os }}-py${{ matrix.python-version }}-ccache-${{ hashFiles('src/*') }}
210212 restore-keys : |
211213 ${{ matrix.os }}-py${{ matrix.python-version }}-ccache-
212214 - name : Cache Matplotlib
213- uses : actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3
215+ uses : actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4
214216 with :
215217 path : |
216218 ~/.cache/matplotlib
@@ -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
@@ -397,7 +395,7 @@ jobs:
397395 fi
398396 - name : Upload code coverage
399397 if : ${{ !cancelled() && github.event_name != 'schedule' }}
400- uses : codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # v5.5.2
398+ uses : codecov/codecov-action@1af58845a975a7985b0beb0cbe6fbbb71a41dbad # v5.5.3
401399 with :
402400 name : " ${{ matrix.python-version }} ${{ matrix.os }} ${{ matrix.name-suffix }}"
403401 token : ${{ secrets.CODECOV_TOKEN }}
0 commit comments