Skip to content

Commit b395453

Browse files
✨ Use uv for python package installation
uv is much faster than pip by itself. TODO: cache (built) wheels.
1 parent 61981c3 commit b395453

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

action.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,11 +100,16 @@ runs:
100100
cache: 'pip'
101101
cache-dependency-path: '${{ steps.requirements_path.outputs.requirements_dir_prefix }}requirements/*.txt'
102102

103+
- name: Install uv (pip alternative)
104+
# Docs: https://github.com/astral-sh/uv?tab=readme-ov-file#getting-started
105+
run: pip install uv
106+
shell: bash
107+
103108
- name: Install backend dependencies
104109
run: |
105-
pip install -r requirements/ci.txt \
106-
--use-pep517 \
107-
--use-feature=no-binary-enable-wheel-cache
110+
uv pip install \
111+
--system \
112+
-r requirements/ci.txt
108113
shell: bash
109114
working-directory: ${{ inputs.working-directory }}
110115

0 commit comments

Comments
 (0)