From 81af4fd5508634c6f19bb468a79572512f8727f2 Mon Sep 17 00:00:00 2001 From: Benjamin Himes Date: Mon, 11 Aug 2025 20:06:15 +0200 Subject: [PATCH] uv is broken for 0.8 < python 3.10 until 0.8.8 (see https://github.com/astral-sh/uv/blob/main/CHANGELOG.md#088) --- .github/workflows/flake8-and-mypy.yml | 4 ++-- .github/workflows/unit-and-integration-tests.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/flake8-and-mypy.yml b/.github/workflows/flake8-and-mypy.yml index fe9d10159f..2e259bdd05 100644 --- a/.github/workflows/flake8-and-mypy.yml +++ b/.github/workflows/flake8-and-mypy.yml @@ -42,8 +42,8 @@ jobs: python -m venv venv source venv/bin/activate python -m pip install --upgrade pip - # uv==0.8.6 is the last version that supports python 3.9 - python -m pip install uv==0.8.6 + # needed for Python 3.9 compatibility + python -m pip install uv>=0.8.8 python -m uv sync --extra dev --active - name: Flake8 diff --git a/.github/workflows/unit-and-integration-tests.yml b/.github/workflows/unit-and-integration-tests.yml index 492b1277db..ec1fc6ded0 100644 --- a/.github/workflows/unit-and-integration-tests.yml +++ b/.github/workflows/unit-and-integration-tests.yml @@ -39,8 +39,8 @@ jobs: python -m venv venv source venv/bin/activate python -m pip install --upgrade pip - # uv==0.8.6 is the last version that supports python 3.9 - python -m pip install uv==0.8.6 + # needed for Python 3.9 compatibility + python -m pip install uv>=0.8.8 python -m uv sync --extra dev --active - name: Unit tests