diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index c4af4fb..032e78c 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -22,10 +22,11 @@ jobs: with: fetch-depth: 0 - - name: Verify Environment + - name: Verify Environment & Dependencies run: | python3 --version - python3 -c "import pgpy, fastapi, uvicorn, websockets, sqlalchemy; print('[+] All required dependencies are pre-installed in runner image.')" + python3 -m pip install -r compilation/requirements.txt --no-warn-script-location --break-system-packages 2>/dev/null || python3 -m pip install -r compilation/requirements.txt --no-warn-script-location || true + python3 -c "import pgpy, fastapi, uvicorn, websockets, sqlalchemy; print('[+] All required dependencies are verified.')" - name: Verify Python Syntax run: | diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index de075b5..fb6f972 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -23,13 +23,14 @@ jobs: with: fetch-depth: 0 - - name: Verify Builder Runner Environment + - name: Verify Builder Runner Environment & Dependencies run: | echo "=== LOGAR BUILD RUNNER ENVIRONMENT ===" uname -a python3 --version which makensis || echo "[!] Warning: makensis not found in PATH" - python3 -c "import pyinstaller, distlib, pgpy, fastapi, uvicorn, websockets, sqlalchemy; print('[+] All core build & packaging dependencies verified.')" + python3 -m pip install -r compilation/requirements.txt --no-warn-script-location --break-system-packages 2>/dev/null || python3 -m pip install -r compilation/requirements.txt --no-warn-script-location || true + python3 -c "import PyInstaller, distlib, pgpy, fastapi, uvicorn, websockets, sqlalchemy; print('[+] All core build & packaging dependencies verified.')" - name: Compile Standalone Binaries (Linux & Windows) run: | diff --git a/compilation/requirements.txt b/compilation/requirements.txt index a39a74f..75fd1ad 100644 --- a/compilation/requirements.txt +++ b/compilation/requirements.txt @@ -6,4 +6,7 @@ uvicorn>=0.28.0 websockets>=11.0.0 pydantic>=2.6.0 distlib>=0.3.8 +pyinstaller>=6.0.0 +sqlalchemy>=2.0.0 +requests>=2.28.0 pywin32>=306; sys_platform == "win32"