Skip to content

Commit

Permalink
fix: remove leftover helmignore in code-quality
Browse files Browse the repository at this point in the history
Also removes python3xx-distutils apt install. It is deprecated in 3.12+.

Signed-off-by: Nick Mitchell <[email protected]>
  • Loading branch information
starpit committed Dec 17, 2024
1 parent 4ee6eab commit 6206ba6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion demos/data-prep-kit/code/code-quality/pail/.helmignore

This file was deleted.

2 changes: 1 addition & 1 deletion pkg/runtime/needs/install_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 != "" {
Expand Down

0 comments on commit 6206ba6

Please sign in to comment.