Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(24.10): add python3 slice #388

Open
wants to merge 1 commit into
base: ubuntu-24.10
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions slices/python3.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
package: python3

essential:
- python3_copyright

slices:
core:
essential:
- python3.12_core

standard:
essential:
- python3.12_standard

utils:
essential:
- python3.12_utils
contents:
/usr/bin/pdb3:
/usr/bin/pydoc3:
/usr/bin/pygettext3:

copyright:
contents:
/usr/share/doc/python3/copyright:
14 changes: 14 additions & 0 deletions tests/spread/integration/python3/task.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
summary: Integration tests for Python3

environment:
SLICE/core: "core"
SLICE/standard: "standard"

execute: |
# Test different slice installations
echo "SLICE=${SLICE}"

rootfs="$(install-slices python3_${SLICE})"

cp ../python3.12/test_${SLICE}.py "${rootfs}/"
chroot "$rootfs" python3.12 /test_${SLICE}.py
Loading