HTHou opened a new pull request, #3598: URL: https://github.com/apache/thrift/pull/3598
## What changed This updates the PyPI release workflow to build and publish Python wheel distributions in addition to the existing source distribution. The workflow now: - builds the sdist with `python -m build` and validates it with `twine check` - builds CPython 3.10-3.14 wheels with `cibuildwheel` - covers manylinux x86_64/aarch64, musllinux x86_64/aarch64, macOS x86_64/arm64, and Windows amd64 - pins manylinux wheels to the manylinux2014 baseline for glibc 2.17+ compatibility - keeps PyPI publishing in a separate release-only job with OIDC Trusted Publishing permissions The release management notes now describe the automated PyPI publishing path and the expected artifacts. ## Why PyPI releases for the Python `thrift` package currently publish only an sdist, so users without a matching prebuilt wheel must build locally. This adds wheel artifacts while keeping the sdist path intact. ## Validation - Parsed `.github/workflows/pypi.yml` as YAML - Ran `git diff --check` - Built `lib/py` sdist in a temporary directory with `python -m build --sdist` - Ran `twine check` on the generated sdist - Verified `cibuildwheel==4.1.0 --print-build-identifiers` selects the expected CPython 3.10-3.14 targets for Linux, macOS, and Windows Full multi-platform wheel builds are expected to run in GitHub Actions. ## Licensing `cibuildwheel` is used as a CI build-time tool and is BSD-2-Clause licensed, which is compatible with Apache License 2.0. No new runtime dependency is added. ## AI assistance Co-Authored-By: Codex <[email protected]> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
