Skip to content

Commit 4610264

Browse files
committed
build: install pip
The update for the 'packaging' tools fails because pip is missing. Signed-off-by: Daniel Wagner <wagi@kernel.org>
1 parent 156623f commit 4610264

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/release-python.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,17 @@ jobs:
2222
container:
2323
image: ghcr.io/linux-nvme/debian.python:latest
2424
steps:
25+
- name: Install Python (if missing)
26+
run: apt-get update && apt-get install -y python3 python3-pip
27+
28+
- name: Update python dependencies
29+
run: pip install -U packaging
30+
2531
- uses: actions/checkout@v4
2632

2733
- name: Allow workspace
2834
run: git config --global --add safe.directory "$GITHUB_WORKSPACE"
2935

30-
- name: Update python dependencies
31-
run: pip install -U packaging
32-
3336
- name: Build sdist
3437
run: pipx run build --sdist
3538

0 commit comments

Comments
 (0)