@@ -136,24 +136,24 @@ jobs:
136136 run : |
137137 # Upgrade pip and setuptools and wheel to get as clean an install as
138138 # possible.
139- python -m pip install --upgrade pip setuptools wheel
139+ uv pip install --upgrade pip setuptools wheel
140140
141141 # Install dependencies from PyPI.
142142 # Preinstall build requirements to enable no-build-isolation builds.
143- python -m pip install --upgrade --prefer-binary \
143+ uv pip install --upgrade --prefer-binary \
144144 --group build --group test
145145
146146 # Install optional dependencies from PyPI.
147147 # Sphinx is needed to run sphinxext tests
148- python -m pip install --upgrade sphinx!=6.1.2
148+ uv pip install --upgrade sphinx!=6.1.2
149149
150150 # GUI toolkits are pip-installable only for some versions of Python
151151 # so don't fail if we can't install them. Make it easier to check
152152 # whether the install was successful by trying to import the toolkit
153153 # (sometimes, the install appears to be successful but shared
154154 # libraries cannot be loaded at runtime, so an actual import is a
155155 # better check).
156- python -m pip install --upgrade pycairo 'cairocffi>=0.8' 'PyGObject' &&
156+ uv pip install --upgrade pycairo 'cairocffi>=0.8' 'PyGObject' &&
157157 (
158158 python -c 'import gi; gi.require_version("Gtk", "4.0"); from gi.repository import Gtk' &&
159159 echo 'PyGObject 4 is available' || echo 'PyGObject 4 is not available'
@@ -179,7 +179,7 @@ jobs:
179179
180180 export CPPFLAGS='--coverage -fprofile-abs-path'
181181
182- python -m pip install --no-deps --no-build-isolation --verbose \
182+ uv pip install --no-deps --no-build-isolation --verbose \
183183 --config-settings=setup-args="-DrcParams-backend=Agg" \
184184 --editable .[dev]
185185
0 commit comments