fix(ci): remove apt-based Python bootstrap
Some checks failed
CI/CD Pipeline / Run Tests (push) Successful in 1m1s
CI/CD Pipeline / Code Quality Checks (push) Failing after 3m20s
CI/CD Pipeline / Code Quality Checks (pull_request) Failing after 3m20s
CI/CD Pipeline / Run Tests (pull_request) Failing after 3m20s
CI/CD Pipeline / Telegram Notify Success (push) Has been skipped
CI/CD Pipeline / Telegram Notify Success (pull_request) Has been skipped

This commit is contained in:
2026-03-22 13:44:27 +01:00
parent ad5e20f6f8
commit 705245304e

View File

@@ -35,19 +35,15 @@ jobs:
- name: Install Python and uv
run: |
set -euo pipefail
export DEBIAN_FRONTEND=noninteractive
timeout 300s apt-get update
timeout 300s apt-get install -y software-properties-common curl
timeout 300s add-apt-repository -y ppa:deadsnakes/ppa
timeout 300s apt-get update
timeout 300s apt-get install -y python3.11 python3.11-venv
timeout 180s bash -lc 'curl -LsSf https://astral.sh/uv/install.sh | sh'
export PATH="$HOME/.local/bin:$PATH"
timeout 300s uv python install "${PYTHON_VERSION}"
- name: Create virtual environment and install dependencies
run: |
set -euo pipefail
export PATH="$HOME/.local/bin:$PATH"
uv venv --python python3.11
uv venv --python "${PYTHON_VERSION}"
. .venv/bin/activate
uv sync --dev --frozen
@@ -112,19 +108,15 @@ jobs:
- name: Install Python and uv
run: |
set -euo pipefail
export DEBIAN_FRONTEND=noninteractive
timeout 300s apt-get update
timeout 300s apt-get install -y software-properties-common curl
timeout 300s add-apt-repository -y ppa:deadsnakes/ppa
timeout 300s apt-get update
timeout 300s apt-get install -y python3.11 python3.11-venv
timeout 180s bash -lc 'curl -LsSf https://astral.sh/uv/install.sh | sh'
export PATH="$HOME/.local/bin:$PATH"
timeout 300s uv python install "${PYTHON_VERSION}"
- name: Create virtual environment and install dependencies
run: |
set -euo pipefail
export PATH="$HOME/.local/bin:$PATH"
uv venv --python python3.11
uv venv --python "${PYTHON_VERSION}"
. .venv/bin/activate
uv sync --dev --frozen