From ff16525806befef00a206451fa04a366a83dd2d7 Mon Sep 17 00:00:00 2001 From: Nick Mitchell Date: Mon, 9 Dec 2024 11:47:07 -0500 Subject: [PATCH] fix: remove leftover helmignore in code-quality Also removes python3xx-distutils apt install. It is deprecated in 3.12+. Signed-off-by: Nick Mitchell --- demos/data-prep-kit/code/code-quality/pail/.helmignore | 1 - pkg/runtime/needs/install_linux.go | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) delete mode 100644 demos/data-prep-kit/code/code-quality/pail/.helmignore diff --git a/demos/data-prep-kit/code/code-quality/pail/.helmignore b/demos/data-prep-kit/code/code-quality/pail/.helmignore deleted file mode 100644 index 6350f0fe..00000000 --- a/demos/data-prep-kit/code/code-quality/pail/.helmignore +++ /dev/null @@ -1 +0,0 @@ -test-data/ diff --git a/pkg/runtime/needs/install_linux.go b/pkg/runtime/needs/install_linux.go index fbfb3646..fff1899f 100644 --- a/pkg/runtime/needs/install_linux.go +++ b/pkg/runtime/needs/install_linux.go @@ -63,7 +63,7 @@ func installPython(ctx context.Context, version string, verbose bool) (string, e sudo = "" } if _, err := exec.LookPath("apt"); err == nil { - cmdline = fmt.Sprintf("%s add-apt-repository -y ppa:deadsnakes/ppa && %s apt update && %s apt install -y python%s python%s-venv python%s-distutils && curl -sS https://bootstrap.pypa.io/get-pip.py | python%s && which python%s", sudo, sudo, sudo, version, version, version, version, version) + cmdline = fmt.Sprintf("%s add-apt-repository -y ppa:deadsnakes/ppa && %s apt update && %s apt install -y python%s python%s-venv && curl -sS https://bootstrap.pypa.io/get-pip.py | python%s && which python%s", sudo, sudo, sudo, version, version, version, version) } if cmdline != "" {