From 5fea8fe09640b71f2f3a1a8c70e49d12b4b9f8fa Mon Sep 17 00:00:00 2001 From: zphinx Date: Mon, 4 May 2026 05:26:14 +0200 Subject: [PATCH] fix: align release Python setup with CI fallback logic --- .gitea/workflows/release.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index bf06dd2..101d202 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -61,9 +61,15 @@ jobs: run: | if command -v apt-get >/dev/null 2>&1; then apt-get update - apt-get install -y python3.12 python3.12-venv python3-pip patchelf ccache + apt-get install -y python3.12 python3.12-venv python3-pip patchelf ccache || \ + 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 + elif command -v yum >/dev/null 2>&1; then + yum install -y python3 python3-pip python3-devel patchelf ccache + else + echo "No supported package manager found to install Python/build deps." + exit 1 fi python3.12 --version || python3 --version