Skip to content

build(deps): bump actions/setup-python from 6 to 7 - #181

Merged
justinjoy merged 1 commit into
mainfrom
ci/setup-python-v7
Aug 7, 2026
Merged

build(deps): bump actions/setup-python from 6 to 7#181
justinjoy merged 1 commit into
mainfrom
ci/setup-python-v7

Conversation

@justinjoy

Copy link
Copy Markdown
Contributor

Supersedes #177.

Dependabot opened #177 to bump actions/setup-python from 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_actions
  • tests/test_wheels_config.py::test_wheels_workflow_uses_node24_actions

Both 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

  1. Bumps all 10 actions/setup-python@v6 occurrences to @v7 across ci, docs, nightly, release, and wheels workflows (the same set of files as build(deps): bump actions/setup-python from 6 to 7 #177).
  2. Updates the two guard assertions in lockstep, matching the precedent set by 668a2ca for the actions/cache v5 to v6 bump.

Compatibility

The one breaking change in setup-python v7.0.0 is the removal of the pip-install input. No workflow in this repo passes pip-install (or cache); every setup-python step supplies only python-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.

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.
@justinjoy
justinjoy merged commit 5fbab92 into main Aug 7, 2026
17 checks passed
@justinjoy
justinjoy deleted the ci/setup-python-v7 branch August 7, 2026 03:59
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