fix(release): install python shared libraries for PyInstaller and add zipapp fallback
Release Binaries & Installers / Build & Release Windows Binaries & Installers (push) Failing after 30s
Release Binaries & Installers / Build & Release Linux Binaries (push) Canceled after 0s
CI Test Suite / Run Component Tests & Pipeline Verification (push) Canceled after 0s

This commit is contained in:
2026-09-25 23:15:31 +02:00
parent a9d5d641cd
commit 14b3586b10
2 changed files with 17 additions and 5 deletions
+9 -1
View File
@@ -21,8 +21,16 @@ jobs:
with:
fetch-depth: 0
- name: Install Python and Build Dependencies
- name: Install System and Python Build Dependencies
run: |
if command -v apt-get >/dev/null 2>&1; then
echo "[*] Installing Python shared libraries and headers for PyInstaller..."
SUDO=""
if [ "$(id -u)" -ne 0 ] && command -v sudo >/dev/null 2>&1; then
SUDO="sudo"
fi
$SUDO apt-get update && $SUDO apt-get install -y --no-install-recommends python3-dev libpython3-dev python3-all-dev "libpython3.*" || true
fi
python3 compilation/ensure_pip.py
python3 -m pip install --upgrade pip --break-system-packages 2>/dev/null || python3 -m pip install --upgrade pip 2>/dev/null || true
python3 -m pip install pyinstaller -r compilation/requirements.txt --break-system-packages 2>/dev/null || python3 -m pip install pyinstaller -r compilation/requirements.txt