From 30eb54d191e6013c144f2fa6bf1a61051ed204ec Mon Sep 17 00:00:00 2001 From: honglei Date: Mon, 24 Aug 2026 16:08:59 +0800 Subject: [PATCH] Add Python 3.15 wheel and test coverage --- .github/workflows/release.yml | 4 ++-- .github/workflows/tests.yml | 7 ++++++- pyproject.toml | 1 + 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 353ed824..69e757f1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -83,7 +83,7 @@ jobs: - uses: actions/setup-python@v6 with: python-version: "3.x" - - run: pip install cibuildwheel==3.3.0 + - run: pip install cibuildwheel==4.2.0 - id: set-matrix run: | MATRIX_INCLUDE=$( @@ -123,7 +123,7 @@ jobs: if: runner.os == 'Linux' uses: docker/setup-qemu-action@29109295f81e9208d7d86ff1c6c12d2833863392 # v3.6.0 - - uses: pypa/cibuildwheel@63fd63b352a9a8bdcc24791c9dbee952ee9a8abc # v3.3.0 + - uses: pypa/cibuildwheel@1828c10ab37f080699c7b81cea34097c684a7074 # v4.2.0 with: only: ${{ matrix.only }} env: diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 77e63738..ef81b6bb 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -17,13 +17,18 @@ jobs: # job. strategy: matrix: - python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14", "3.14t"] + python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14", "3.14t", "3.15", "3.15t"] os: [ubuntu-latest, macos-latest, windows-latest] loop: [asyncio, uvloop] exclude: # uvloop does not support windows - loop: uvloop os: windows-latest + # uvloop is excluded from the Python 3.15 test dependencies + - loop: uvloop + python-version: "3.15" + - loop: uvloop + python-version: "3.15t" runs-on: ${{ matrix.os }} diff --git a/pyproject.toml b/pyproject.toml index e2b18388..4893ffa3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -25,6 +25,7 @@ classifiers = [ "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", "Programming Language :: Python :: 3.14", + "Programming Language :: Python :: 3.15", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Free Threading :: 2 - Beta", "Topic :: Database :: Front-Ends",