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
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:
@@ -35,19 +35,15 @@ jobs:
|
|||||||
- name: Install Python and uv
|
- name: Install Python and uv
|
||||||
run: |
|
run: |
|
||||||
set -euo pipefail
|
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'
|
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
|
- name: Create virtual environment and install dependencies
|
||||||
run: |
|
run: |
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
export PATH="$HOME/.local/bin:$PATH"
|
export PATH="$HOME/.local/bin:$PATH"
|
||||||
uv venv --python python3.11
|
uv venv --python "${PYTHON_VERSION}"
|
||||||
. .venv/bin/activate
|
. .venv/bin/activate
|
||||||
uv sync --dev --frozen
|
uv sync --dev --frozen
|
||||||
|
|
||||||
@@ -112,19 +108,15 @@ jobs:
|
|||||||
- name: Install Python and uv
|
- name: Install Python and uv
|
||||||
run: |
|
run: |
|
||||||
set -euo pipefail
|
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'
|
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
|
- name: Create virtual environment and install dependencies
|
||||||
run: |
|
run: |
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
export PATH="$HOME/.local/bin:$PATH"
|
export PATH="$HOME/.local/bin:$PATH"
|
||||||
uv venv --python python3.11
|
uv venv --python "${PYTHON_VERSION}"
|
||||||
. .venv/bin/activate
|
. .venv/bin/activate
|
||||||
uv sync --dev --frozen
|
uv sync --dev --frozen
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user