fix: use python3.12 explicitly for venv on Ubuntu Noble runner
Some checks failed
CI / test (push) Successful in 19s
Release / build (push) Failing after 3s

This commit is contained in:
2026-05-04 05:19:43 +02:00
parent f88048762e
commit 69d2bdd661

View File

@@ -61,16 +61,16 @@ jobs:
run: | run: |
if command -v apt-get >/dev/null 2>&1; then if command -v apt-get >/dev/null 2>&1; then
apt-get update apt-get update
apt-get install -y python3 python3-pip python3-venv patchelf ccache apt-get install -y python3.12 python3.12-venv python3-pip patchelf ccache
elif command -v dnf >/dev/null 2>&1; then elif command -v dnf >/dev/null 2>&1; then
dnf install -y python3 python3-pip python3-devel patchelf ccache dnf install -y python3 python3-pip python3-devel patchelf ccache
fi fi
python3 --version python3.12 --version || python3 --version
- name: Set up venv and install package + build deps - name: Set up venv and install package + build deps
run: | run: |
python3 -m venv .venv python3.12 -m venv .venv 2>/dev/null || python3 -m venv .venv
. .venv/bin/activate . .venv/bin/activate
python -m pip install --upgrade pip python -m pip install --upgrade pip
python -m pip install -e ".[build]" python -m pip install -e ".[build]"