build(deps): bump pypa/cibuildwheel from 4.1.1 to 4.2.0 - #186
Merged
Conversation
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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_1asserts the exactpypa/cibuildwheel@vX.Y.Zref in both wheel-building workflows. Dependabot cannot edit that guard, so its diff broke the only assertion that names the version: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.0tests/test_wheels_config.py: guard renamed totest_wheel_workflows_use_cibuildwheel_v4_2_0, asserts@v4.2.0, and addsv4.1.1to 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
tool.cibuildwheel.buildis"cp311-* cp312-* cp313-* cp314-*", an explicit allowlist, andtest_cibuildwheel_drops_cp310pins that string exactly.cp315-pyodide_wasm32: not selected by thebuildstring.before-all.defaultbuild-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