From b3249e463c515a8f73a68824af6fd4e71e991a57 Mon Sep 17 00:00:00 2001 From: Todd Leonhardt Date: Wed, 8 Oct 2025 10:13:48 -0400 Subject: [PATCH] Upgrade versions of ruff, uv, and Python used for CI/CD --- .github/workflows/docs.yml | 4 ++-- .github/workflows/quality.yml | 4 ++-- .github/workflows/tests.yml | 2 +- .github/workflows/typecheck.yml | 2 +- .pre-commit-config.yaml | 2 +- Makefile | 4 ++-- 6 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 5a0f77395..bc7671408 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -22,9 +22,9 @@ jobs: fetch-depth: 0 # Needed for setuptools_scm to work correctly - name: Install uv and set the python version - uses: astral-sh/setup-uv@v6 + uses: astral-sh/setup-uv@v7 with: - python-version: "3.13" + python-version: "3.14" - name: Install the project run: uv sync --group docs - name: Check if the MkDocs documentation can be built diff --git a/.github/workflows/quality.yml b/.github/workflows/quality.yml index 7626b0cf3..f4009673c 100644 --- a/.github/workflows/quality.yml +++ b/.github/workflows/quality.yml @@ -24,9 +24,9 @@ jobs: path: ~/.cache/pre-commit key: pre-commit-${{ hashFiles('.pre-commit-config.yaml') }} - name: Install uv and set the python version - uses: astral-sh/setup-uv@v6 + uses: astral-sh/setup-uv@v7 with: - python-version: "3.13" + python-version: "3.14" - name: Install the project run: uv sync --group quality - name: Run pre-commit diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index de85f29b4..7585ff6b8 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -25,7 +25,7 @@ jobs: with: fetch-depth: 0 # Needed for setuptools_scm to work correctly - name: Install uv - uses: astral-sh/setup-uv@v6 + uses: astral-sh/setup-uv@v7 - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v6 diff --git a/.github/workflows/typecheck.yml b/.github/workflows/typecheck.yml index 79d60c311..4a5ea471f 100644 --- a/.github/workflows/typecheck.yml +++ b/.github/workflows/typecheck.yml @@ -27,7 +27,7 @@ jobs: fetch-depth: 0 # Needed for setuptools_scm to work correctly - name: Install uv and set the python version - uses: astral-sh/setup-uv@v6 + uses: astral-sh/setup-uv@v7 with: python-version: ${{ matrix.python-version }} diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b4854000a..e95bd8374 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -9,7 +9,7 @@ repos: - id: trailing-whitespace - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.13.3" + rev: "v0.14.0" hooks: - id: ruff-format args: [--config=ruff.toml] diff --git a/Makefile b/Makefile index f0b49f929..8cba3308a 100644 --- a/Makefile +++ b/Makefile @@ -2,8 +2,8 @@ .PHONY: install install: ## Install the virtual environment with dependencies @echo "🚀 Creating uv Python virtual environment" - @uv python install 3.13 - @uv sync --python=3.13 + @uv python install 3.14 + @uv sync --python=3.14 @echo "🚀 Installing Git pre-commit hooks locally" @uv run pre-commit install @echo "🚀 Installing Prettier using npm"