Draft: feat(22.04): Slicing python3.10-venv and python3.10 #270
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Proposed changes
Adding python3.10-venv chiseled package and its dependency, including python3.10
The aim is to be able to use the python plugin on rockcraft entirely with chiseled packages, allowing very small OCI images for python applications.
Related issues/PRs
N/A
Forward porting
Python3.12 is available on Noble and is the default Python version for noble
Testing
To test in a VM, start an
ubuntu-22.04
, copy this branch into/home/chisel
folder (or mount it):To test using rockcraft use the following
rockcraft.yaml
at the root of this repository folderYou'll need
rockcraft
snap installed, anddocker
installed:Checklist
Additional Context
This a followup PR of #259 as Python3.11 is a
universe
package, running a release candidate of Python3.11. We wanted to have a sliced Python version relying on a maintained package.