Skip to content

build(deps): bump pypa/cibuildwheel from 4.1.1 to 4.2.0 - #186

Merged
justinjoy merged 1 commit into
mainfrom
deps/cibuildwheel-4.2.0
Sep 5, 2026
Merged

build(deps): bump pypa/cibuildwheel from 4.1.1 to 4.2.0#186
justinjoy merged 1 commit into
mainfrom
deps/cibuildwheel-4.2.0

Conversation

@justinjoy

Copy link
Copy Markdown
Contributor

Supersedes #185, which bumped the workflows alone and failed all 12 test-matrix jobs.

Why #185 could not go green

tests/test_wheels_config.py::test_wheel_workflows_use_cibuildwheel_v4_1_1 asserts the exact pypa/cibuildwheel@vX.Y.Z ref in both wheel-building workflows. Dependabot cannot edit that guard, so its diff broke the only assertion that names the version:

AssertionError: assert 'pypa/cibuildwheel@v4.1.1' in 'name: wheels\n...'

Every other check on #185 passed; this was the sole failure.

This PR

  • .github/workflows/wheels.yml, .github/workflows/release.yml: pypa/cibuildwheel@v4.1.1 -> @v4.2.0
  • tests/test_wheels_config.py: guard renamed to test_wheel_workflows_use_cibuildwheel_v4_2_0, asserts @v4.2.0, and adds v4.1.1 to the list of superseded refs the workflows must not fall back to (same pattern as commit 80a2130, the 4.1.0 -> 4.1.1 bump).

v4.2.0 impact on this project

  • CPython 3.15 by default: no effect. tool.cibuildwheel.build is "cp311-* cp312-* cp313-* cp314-*", an explicit allowlist, and test_cibuildwheel_drops_cp310 pins that string exactly.
  • Pyodide 3.15 / cp315-pyodide_wasm32: not selected by the build string.
  • Download retries with exponential backoff: a strict improvement for the wirelog source fetch in before-all.
  • GraalPy pip pin, default build-frontend on Pyodide: neither platform is built here.

Validation

pytest tests/test_wheels_config.py -q -o addopts= -> 31 passed.

https://claude.ai/code/session_01MqHwvCimcvrg1osEY5MH7o

Bumps pypa/cibuildwheel from v4.1.1 to v4.2.0 in the release and wheels
workflows.

test_wheel_workflows_use_cibuildwheel_v4_1_1 pins the exact cibuildwheel
version both wheel-building workflows must use, so the bump has to update
that guard in lockstep. Dependabot cannot touch the test, which is why
#185 failed the whole test matrix on that single assertion.

The guard is renamed to match the version it now asserts, and v4.1.1 joins
the list of superseded versions the workflows must not fall back to.

v4.2.0 builds CPython 3.15 wheels by default, but `tool.cibuildwheel.build`
already enumerates cp311 through cp314 explicitly, so the wheel matrix is
unchanged. The release also retries failed downloads with exponential
backoff, which only makes the wirelog source fetch in `before-all` more
robust.

Claude-Session: https://claude.ai/code/session_01MqHwvCimcvrg1osEY5MH7o
@justinjoy
justinjoy merged commit 9fc85d9 into main Sep 5, 2026
17 checks passed
@justinjoy
justinjoy deleted the deps/cibuildwheel-4.2.0 branch September 5, 2026 05:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant