From 40f604dd5bec7f3b525c916e611793eca2e25a47 Mon Sep 17 00:00:00 2001 From: svlandeg Date: Wed, 24 Sep 2025 16:33:15 +0200 Subject: [PATCH] preinstall pydantic 1.12.0 alpha1 before anything else --- .github/workflows/test.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2fc2e3fd6..c1d645f59 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -79,6 +79,9 @@ jobs: cache-dependency-glob: | requirements**.txt pyproject.toml + - name: Preinstall Pydantic 2.12.0a1 for Python 3.14 + if: matrix.python-version == '3.14' + run: uv pip install --pre "pydantic==2.12.0a1" - name: Install Dependencies run: uv pip install -r requirements-tests.txt - name: Install Pydantic v1 @@ -87,9 +90,6 @@ jobs: - name: Install Pydantic v2 if: matrix.pydantic-version == 'pydantic-v2' && matrix.python-version != '3.14' run: uv pip install --upgrade "pydantic>=2.0.2,<3.0.0" - - name: Install Pydantic v2.12.0a1 for Python 3.14 - if: matrix.pydantic-version == 'pydantic-v2' && matrix.python-version == '3.14' - run: uv pip install --upgrade "pydantic==2.12.0a1" # TODO: Remove this once Python 3.8 is no longer supported - name: Install older AnyIO in Python 3.8 if: matrix.python-version == '3.8'