Skip to content

Commit 9c48a3a

Browse files
committed
uses pipx instead of uvx
When validating built wheels, there's no need to checkout the repo. And, setup-uv action is not oriented for this behavior (emits useless warning about missing uv.lock file),
1 parent d50f6a3 commit 9c48a3a

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.github/workflows/python-packaging.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -183,12 +183,14 @@ jobs:
183183
pattern: wheels-*
184184
path: dist
185185
merge-multiple: true
186-
- name: Install uv
186+
- name: Setup Python
187187
if: ${{ !startsWith(github.ref, 'refs/tags/') }}
188-
uses: astral-sh/setup-uv@v6
188+
uses: actions/setup-python@v5
189+
with:
190+
python-version: 3.x
189191
- name: Check distributions
190192
if: ${{ !startsWith(github.ref, 'refs/tags/') }}
191-
run: uvx twine check dist/*
193+
run: pipx run twine check dist/*
192194
- name: Publish to PyPI
193195
if: startsWith(github.ref, 'refs/tags/')
194196
uses: pypa/gh-action-pypi-publish@76f52bc884231f62b9a034ebfe128415bbaabdfc

cspell.config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ words:
7070
- patchelf
7171
- peaceiris
7272
- peekable
73+
- pipx
7374
- pkgs
7475
- posargs
7576
- positionals

0 commit comments

Comments
 (0)