From 54285a2ab871b69e086827fb8d2b454cc20b3d0d Mon Sep 17 00:00:00 2001 From: Leon Date: Sat, 11 Oct 2025 17:52:30 +0200 Subject: [PATCH] fix: pin python 3.13 in CI --- .github/workflows/ci.yml | 10 ++++------ backend/.python-version | 1 + 2 files changed, 5 insertions(+), 6 deletions(-) create mode 100644 backend/.python-version diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6b24b75..1f03ac4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,17 +18,15 @@ jobs: steps: - uses: actions/checkout@v4 - name: Set up Python - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: - python-version: '3.12' + python-version: '3.13' - name: Install uv run: curl -LsSf https://astral.sh/uv/install.sh | sh - - name: Install system dependencies - run: sudo apt-get update && sudo apt-get install -y libxml2-dev libxslt-dev - name: Install dependencies run: | source ~/.cargo/env - uv sync --group test + uv sync --python 3.13 --group test - name: Lint with ruff run: | uv run ruff check . @@ -44,7 +42,7 @@ jobs: steps: - uses: actions/checkout@v4 - name: Set up Node.js - uses: actions/setup-node@v4 + uses: actions/setup-node@v5 with: node-version: 20 cache: 'npm' diff --git a/backend/.python-version b/backend/.python-version new file mode 100644 index 0000000..24ee5b1 --- /dev/null +++ b/backend/.python-version @@ -0,0 +1 @@ +3.13