Skip to content

no setup-python step with cibuildwheel jobs#6510

Merged
nihui merged 6 commits into
Tencent:masterfrom
nihui:cibuildwheel-test
Jan 14, 2026
Merged

no setup-python step with cibuildwheel jobs#6510
nihui merged 6 commits into
Tencent:masterfrom
nihui:cibuildwheel-test

Conversation

@nihui
Copy link
Copy Markdown
Member

@nihui nihui commented Jan 14, 2026

actions/setup-python overwrites several python env, that could pollute cibuildwheel env

nihui added 4 commits January 14, 2026 10:20
Removed the build_sdist job and updated the workflow to include concurrency and permissions. Adjusted the matrix for building wheels and removed the upload_all job.
This update introduces a new job to build source distributions (SDist) and wheels for various architectures, including support for QEMU-based builds. It also modifies existing jobs to enhance compatibility with multiple operating systems and architectures.
@tencent-adm
Copy link
Copy Markdown
Member

CLA assistant check
Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR removes actions/setup-python steps from cibuildwheel build jobs to prevent environment pollution. The changes streamline the CI workflow by letting cibuildwheel manage its own Python environments.

Changes:

  • Removed actions/setup-python from cibuildwheel build jobs and the PyPI publish job
  • Added workflow_dispatch trigger for manual workflow runs
  • Added Python 3.14 (cp314) support for RISC-V builds
  • Removed PyPy wheel builds for macOS platforms (x86_64 and arm64)

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/workflows/release-python.yml
Comment thread .github/workflows/release-python.yml
@nihui nihui merged commit 3863a56 into Tencent:master Jan 14, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants