build(deps): bump actions/setup-python from 6 to 7 - #181
Merged
Conversation
Bumps actions/setup-python from v6 to v7 across all five workflows (ci, docs, nightly, release, wheels). test_ci_uses_node24_actions and test_wheels_workflow_uses_node24_actions pin the exact action versions the workflows must use, so the bump has to update those guards in lockstep. Bumping the workflows alone fails CI, which is why the Dependabot-only diff could not go green. v7.0.0's one breaking change is the removal of the pip-install input. No workflow here passes pip-install (or cache); every setup-python step supplies only python-version, so the bump is a drop-in.
This was referenced Aug 7, 2026
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 #177.
Dependabot opened #177 to bump
actions/setup-pythonfrom v6 to v7, but that PR could never go green: this repo has workflow guard tests that pin the exact action versions, and Dependabot only touches the workflow files.Failing on #177:
tests/test_ci_workflow.py::test_ci_uses_node24_actionstests/test_wheels_config.py::test_wheels_workflow_uses_node24_actionsBoth assert
"actions/setup-python@v6" in text, so bumping the workflows alone breaks them. Every OS/Python job in the CI matrix failed for this reason.What this PR does
actions/setup-python@v6occurrences to@v7acrossci,docs,nightly,release, andwheelsworkflows (the same set of files as build(deps): bump actions/setup-python from 6 to 7 #177).actions/cachev5 to v6 bump.Compatibility
The one breaking change in setup-python v7.0.0 is the removal of the
pip-installinput. No workflow in this repo passespip-install(orcache); everysetup-pythonstep supplies onlypython-version, so the bump is a drop-in. The repo is already on the node24 action generation (checkout@v7,cache@v6,upload-artifact@v8), and all matrix runners (ubuntu-24.04,macos-15,windows-2025-vs2026) support it.Validation
Full suite run locally:
587 passed, 10 skipped.