Open shanedell opened 4 days ago
Using apko and this apko file:
contents:
keyring:
- https://packages.wolfi.dev/os/wolfi-signing.rsa.pub
repositories:
- https://packages.wolfi.dev/os
packages:
- python-3.10-base
- py3.10-pyasn1
- py3.10-pyasn1-modules
- py3.10-ipaddress
- py3.10-oauthlib
- py3.10-certifi
- py3.10-urllib3
- py3.10-charset-normalizer
- py3.10-idna
- py3.10-requests
- py3.10-requests-oauthlib
- py3.10-websocket-client
- py3.10-websocket-client-bin
- py3.10-frozenlist
- py3.10-durationpy
- py3.10-pyyaml
- py3.10-six
- py3.10-python-dateutil
- py3.10-cachetools
- py3.10-rsa
- py3.10-google-auth
- python-3.10
- py3.10-lru-dict
- py3.10-absl-py
- py3.10-rsa-bin
- py3.10-typing-extensions
- py3.10-zipp
- py3.10-importlib-metadata
- py3.10-attrs
- py3.10-ml-metadata
- py3.10-charset-normalizer-bin
- py3.10-grpcio-1.67
- py3.10-protobuf
- kubeflow-pipelines-metadata-writer-compat
accounts:
groups:
- groupname: nonroot
gid: 65532
users:
- username: nonroot
uid: 65532
gid: 65532
run-as: 65532
entrypoint:
command: python3.10 -u /kfp/metadata_writer/metadata_writer.py
archs:
- x86_64
- aarch64
I was able to build a new image that worked in the deployment. A better change option would be being able to change the default version of python and the py packages that are being installed. All the packages in the file are installed but are installed for 3.12 instead of 3.10 by default. I am not sure if this possible or not.
Which image/versions are related to this issue/feature request?
cgr.dev/chainguard/kubeflow-pipelines-metadata-writer:latest
Issue/Feature description
The issue is that when trying to use image in a deployment an error about Python mismatch happens. Below is the exact error: