@@ -177,18 +177,20 @@ jobs:
177177 uses : actions/setup-python@v5
178178 with :
179179 python-version : ${{ matrix.python }}
180- cache : ' pip'
180+
181+ - name : Install uv
182+ uses : astral-sh/setup-uv@v4
181183
182184 - name : Install maturin and pytest
183- run : pip install maturin pytest
185+ run : uv pip install --system maturin pytest
184186
185187 - name : Build Python wheel
186188 working-directory : crates/feedparser-rs-py
187189 run : maturin build --release --out dist
188190
189191 - name : Install wheel
190192 working-directory : crates/feedparser-rs-py
191- run : pip install dist/*.whl
193+ run : uv pip install --system dist/*.whl
192194
193195 - name : Run Python tests
194196 working-directory : crates/feedparser-rs-py
@@ -308,18 +310,20 @@ jobs:
308310 uses : actions/setup-python@v5
309311 with :
310312 python-version : ' 3.12'
311- cache : ' pip'
313+
314+ - name : Install uv
315+ uses : astral-sh/setup-uv@v4
312316
313317 - name : Install dependencies
314- run : pip install maturin pytest pytest-cov
318+ run : uv pip install --system maturin pytest pytest-cov
315319
316320 - name : Build Python wheel
317321 working-directory : crates/feedparser-rs-py
318322 run : maturin build --release --out dist
319323
320324 - name : Install wheel
321325 working-directory : crates/feedparser-rs-py
322- run : pip install dist/*.whl
326+ run : uv pip install --system dist/*.whl
323327
324328 - name : Run tests with coverage
325329 working-directory : crates/feedparser-rs-py
0 commit comments