From 4e1d6104d8ca451ed6079e487a1e48aac90157ee Mon Sep 17 00:00:00 2001 From: svlandeg Date: Wed, 24 Sep 2025 16:16:37 +0200 Subject: [PATCH] install pydantic 1.12.0 alpha1 when testing on python 3.14 --- .github/workflows/test.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2848abd80..2fc2e3fd6 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -85,8 +85,11 @@ jobs: if: matrix.pydantic-version == 'pydantic-v1' run: uv pip install "pydantic>=1.10.0,<2.0.0" - name: Install Pydantic v2 - if: matrix.pydantic-version == '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'