Skip to content

Commit

Permalink
test: add python3 symlink in pip/task.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
rebornplusplus committed Oct 1, 2024
1 parent 106c2ee commit 085d712
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions tests/spread/integration/python3-pip/task.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
summary: Integration tests for python3-pip

execute: |
rootfs="$(install-slices base-files_base python3.12_standard python3-pip_bins)"
rootfs="$(install-slices python3.12_standard python3-pip_bins)"
# pip depends on python3.
ln -s /usr/bin/python3.12 ${rootfs}/usr/bin/python3
# Smoke tests.
chroot ${rootfs} /usr/bin/pip --version
chroot ${rootfs} /usr/bin/pip install helloworld
chroot ${rootfs} /usr/bin/pip install --upgrade setuptools

0 comments on commit 085d712

Please sign in to comment.