From 32cc243809640fb3186f572d4559d9d3cbb6dada Mon Sep 17 00:00:00 2001 From: Steven Silvester Date: Tue, 30 Sep 2025 10:03:32 -0500 Subject: [PATCH 1/3] PYTHON-5584 Add wheels for Python 3.14 and 3.14t --- .github/workflows/dist.yml | 8 ++++---- pyproject.toml | 2 -- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/dist.yml b/.github/workflows/dist.yml index e5b36ad7dd..81f11ecc4f 100644 --- a/.github/workflows/dist.yml +++ b/.github/workflows/dist.yml @@ -70,10 +70,10 @@ jobs: platforms: all - name: Install cibuildwheel - # Note: the default manylinux is manylinux2014 + # Note: the default manylinux is manylinux_2_28 run: | python -m pip install -U pip - python -m pip install "cibuildwheel>=2.20,<3" + python -m pip install "cibuildwheel>=3.2.0,<4" - name: Build wheels env: @@ -87,7 +87,6 @@ jobs: CIBW_MANYLINUX_I686_IMAGE: manylinux1 CIBW_BUILD: "cp39-${{ matrix.buildplat[1] }} cp39-${{ matrix.buildplat[1] }}" run: python -m cibuildwheel --output-dir wheelhouse - - name: Assert all versions in wheelhouse if: ${{ ! startsWith(matrix.buildplat[1], 'macos') }} run: | @@ -96,8 +95,9 @@ jobs: ls wheelhouse/*cp311*.whl ls wheelhouse/*cp312*.whl ls wheelhouse/*cp313*.whl + ls wheelhouse/*cp314*.whl # Free-threading builds: - ls wheelhouse/*cp313t*.whl + ls wheelhouse/*cp314t*.whl - uses: actions/upload-artifact@v4 with: diff --git a/pyproject.toml b/pyproject.toml index 890244b688..e0c028b854 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -270,8 +270,6 @@ partial_branches = ["if (.*and +)*not _use_c( and.*)*:"] directory = "htmlcov" [tool.cibuildwheel] -# Enable free-threaded support -free-threaded-support = true skip = "pp* *-musllinux*" build-frontend = "build" test-command = "python {project}/tools/fail_if_no_c.py" From 255d81d6c8f9ce9cb948dd8b16faa35492b644e2 Mon Sep 17 00:00:00 2001 From: Steven Silvester Date: Tue, 30 Sep 2025 10:05:41 -0500 Subject: [PATCH 2/3] update changelog --- doc/changelog.rst | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/doc/changelog.rst b/doc/changelog.rst index c8e17bc30b..6721d53e4a 100644 --- a/doc/changelog.rst +++ b/doc/changelog.rst @@ -1,6 +1,22 @@ Changelog ========= +Changes in Version 4.15.2 (2025/XX/YY) +-------------------------------------- + +Version 4.15.2 is a bug fix release. + +- Add wheels for Python 3.14 and 3.14t that were missing from 4.15.0 release. Drop the 3.13t wheel. + +Issues Resolved +............... + +See the `PyMongo 4.15.2 release notes in JIRA`_ for the list of resolved issues +in this release. + +.. _PyMongo 4.15.2 release notes in JIRA: https://jira.mongodb.org/secure/ReleaseNote.jspa?projectId=10004&version=47186 + + Changes in Version 4.15.1 (2025/09/11) -------------------------------------- From a6d7ec5e4e9785709ca1d5e30ecc2500eacb44a9 Mon Sep 17 00:00:00 2001 From: Steven Silvester Date: Tue, 30 Sep 2025 10:19:30 -0500 Subject: [PATCH 3/3] drop the manylinux1 wheels --- .github/workflows/dist.yml | 7 ------- 1 file changed, 7 deletions(-) diff --git a/.github/workflows/dist.yml b/.github/workflows/dist.yml index 81f11ecc4f..f9b61d73e5 100644 --- a/.github/workflows/dist.yml +++ b/.github/workflows/dist.yml @@ -80,13 +80,6 @@ jobs: CIBW_BUILD: ${{ matrix.buildplat[2] }} run: python -m cibuildwheel --output-dir wheelhouse - - name: Build manylinux1 wheels - if: ${{ matrix.buildplat[1] == 'manylinux_x86_64' || matrix.buildplat[1] == 'manylinux_i686' }} - env: - CIBW_MANYLINUX_X86_64_IMAGE: manylinux1 - CIBW_MANYLINUX_I686_IMAGE: manylinux1 - CIBW_BUILD: "cp39-${{ matrix.buildplat[1] }} cp39-${{ matrix.buildplat[1] }}" - run: python -m cibuildwheel --output-dir wheelhouse - name: Assert all versions in wheelhouse if: ${{ ! startsWith(matrix.buildplat[1], 'macos') }} run: |