-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: Use uv for all pip installs (#551)
* Use 'uv pip' for all calls to 'pip install' in CI workflows. - c.f. https://github.com/astral-sh/uv/ * Use 'pipx run' over a Make command.
- Loading branch information
1 parent
2739e8e
commit de71311
Showing
4 changed files
with
14 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,15 +25,9 @@ jobs: | |
uses: actions/setup-python@v4 | ||
with: | ||
python-version: "3.10" | ||
- name: "Install Python dependencies" | ||
run: | | ||
pip install --no-cache-dir --upgrade pip setuptools wheel | ||
pip install --no-cache-dir --upgrade build | ||
pip install --no-cache-dir --quiet . | ||
pip list | ||
- name: "Build Python package" | ||
run: | | ||
make build | ||
pipx run build --installer uv | ||
- name: "Publish Python package" | ||
uses: pypa/[email protected] | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters