diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c4fdb911a8..8dbae9ef23 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -26,9 +26,8 @@ jobs: strategy: matrix: os: [ ubuntu-latest, windows-latest, macos-latest ] - python-version: [ "3.13" ] + python-version: [ "3.14" ] pydantic-version: - - pydantic-v1 - pydantic-v2 include: - os: macos-latest @@ -47,7 +46,10 @@ jobs: python-version: "3.12" pydantic-version: pydantic-v1 - os: ubuntu-latest - python-version: "3.12" + python-version: "3.13" + pydantic-version: pydantic-v1 + - os: macos-latest + python-version: "3.13" pydantic-version: pydantic-v2 fail-fast: false runs-on: ${{ matrix.os }} @@ -57,6 +59,7 @@ jobs: uses: actions/setup-python@v6 with: python-version: ${{ matrix.python-version }} + allow-prereleases: true - name: Setup uv uses: astral-sh/setup-uv@v6 with: @@ -71,13 +74,16 @@ jobs: if: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.debug_enabled == 'true' }} with: limit-access-to-actor: true + - 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 if: matrix.pydantic-version == 'pydantic-v1' run: uv pip install --upgrade "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: Lint if: matrix.pydantic-version == 'pydantic-v2' && matrix.python-version != '3.8' diff --git a/pyproject.toml b/pyproject.toml index 4ae195ac73..bc596764ff 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -26,6 +26,7 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", + "Programming Language :: Python :: 3.14", "Topic :: Database", "Topic :: Database :: Database Engines/Servers", "Topic :: Internet",