From f89851d7850ca3348a3395f6235d3d3fb4406a3f Mon Sep 17 00:00:00 2001 From: Justin Kim Date: Fri, 19 Jun 2026 21:02:01 +0900 Subject: [PATCH] build(deps): bump pypa/cibuildwheel from 4.0.0 to 4.1.0 Bumps pypa/cibuildwheel from v4.0.0 to v4.1.0 in the wheels and release workflows. Minor release within the existing v4 major, low risk. Update the version-pinning contract test (renamed to test_wheel_workflows_use_cibuildwheel_v4_1_0) to pin the new minor and forbid the now-stale v4.0.0. Supersedes #170 (dependabot did not update the version-pinning test). --- .github/workflows/release.yml | 2 +- .github/workflows/wheels.yml | 2 +- tests/test_wheels_config.py | 5 +++-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3a00003..934d611 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -127,7 +127,7 @@ jobs: } - name: build wheels - uses: pypa/cibuildwheel@v4.0.0 + uses: pypa/cibuildwheel@v4.1.0 env: CIBW_BUILD_VERBOSITY: 1 diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index 4a0acaf..c8beea7 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -125,7 +125,7 @@ jobs: } - name: build wheels - uses: pypa/cibuildwheel@v4.0.0 + uses: pypa/cibuildwheel@v4.1.0 env: CIBW_BUILD_VERBOSITY: 1 diff --git a/tests/test_wheels_config.py b/tests/test_wheels_config.py index 0a6c7ce..800c8f4 100644 --- a/tests/test_wheels_config.py +++ b/tests/test_wheels_config.py @@ -281,10 +281,11 @@ def test_wheels_workflow_uses_cibuildwheel_action(): assert any("pypa/cibuildwheel" in s.get("uses", "") for s in steps) -def test_wheel_workflows_use_cibuildwheel_v4_0_0(): +def test_wheel_workflows_use_cibuildwheel_v4_1_0(): for path in (".github/workflows/wheels.yml", ".github/workflows/release.yml"): text = _read(path) - assert "pypa/cibuildwheel@v4.0.0" in text + assert "pypa/cibuildwheel@v4.1.0" in text + assert "pypa/cibuildwheel@v4.0.0" not in text assert "pypa/cibuildwheel@v3.4.1" not in text assert "pypa/cibuildwheel@v2.21.3" not in text