fix: always install python3-venv in release workflow
All checks were successful
CI / test (push) Successful in 19s

This commit is contained in:
2026-05-04 05:07:39 +02:00
parent 2110e83038
commit 33dff26d2b

View File

@@ -59,20 +59,13 @@ jobs:
- name: Ensure Python and build dependencies are available - name: Ensure Python and build dependencies are available
run: | run: |
if ! command -v python3 >/dev/null 2>&1; then if command -v apt-get >/dev/null 2>&1; then
if command -v apt-get >/dev/null 2>&1; then apt-get update
apt-get update apt-get install -y python3 python3-pip python3-venv patchelf ccache
apt-get install -y python3 python3-pip python3-venv patchelf ccache elif command -v dnf >/dev/null 2>&1; then
elif command -v dnf >/dev/null 2>&1; then dnf install -y python3 python3-pip python3-devel patchelf ccache
dnf install -y python3 python3-pip patchelf ccache
fi
fi fi
# patchelf is required by Nuitka for standalone Linux binaries
command -v patchelf >/dev/null 2>&1 || {
apt-get update && apt-get install -y patchelf
}
python3 --version python3 --version
- name: Set up venv and install package + build deps - name: Set up venv and install package + build deps