From 33dff26d2b2512e3294e80639863429cd326e239 Mon Sep 17 00:00:00 2001 From: zphinx Date: Mon, 4 May 2026 05:07:39 +0200 Subject: [PATCH] fix: always install python3-venv in release workflow --- .gitea/workflows/release.yml | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index ad24b64..a5f3354 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -59,20 +59,13 @@ jobs: - name: Ensure Python and build dependencies are available run: | - if ! command -v python3 >/dev/null 2>&1; then - if command -v apt-get >/dev/null 2>&1; then - apt-get update - apt-get install -y python3 python3-pip python3-venv patchelf ccache - elif command -v dnf >/dev/null 2>&1; then - dnf install -y python3 python3-pip patchelf ccache - fi + if command -v apt-get >/dev/null 2>&1; then + apt-get update + apt-get install -y python3 python3-pip python3-venv patchelf ccache + elif command -v dnf >/dev/null 2>&1; then + dnf install -y python3 python3-pip python3-devel patchelf ccache 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 - name: Set up venv and install package + build deps