diff --git a/.github/workflows/cultmesh-portability.yml b/.github/workflows/cultmesh-portability.yml index 3755c629..a48583bc 100644 --- a/.github/workflows/cultmesh-portability.yml +++ b/.github/workflows/cultmesh-portability.yml @@ -71,6 +71,16 @@ jobs: node --version | grep -E '^v24\.' python --version | grep -E '^Python 3\.12\.' + # The image's Python is distro-managed (PEP 668): pip refuses to install into it, so the Linux leg installs the + # CultLib packages into a venv under RUNNER_TEMP that later steps find first on PATH. + - name: Create the Python environment + if: runner.os == 'Linux' + shell: bash + run: | + set -euo pipefail + python -m venv "$RUNNER_TEMP/venv" + echo "$RUNNER_TEMP/venv/bin" >> "$GITHUB_PATH" + - name: Install TypeScript workspace dependencies run: npm install --no-package-lock