Repository navigation
ci(deps): bump actions/setup-python from 5 to 7 - #254
dependabot[bot] wants to merge 1 commit into
Conversation
AssigneesThe following users could not be added as assignees: Please fix the above issues or remove invalid values from |
|
Major version update detected This PR contains a major version update that requires manual review. Dependency: actions/setup-python Please review the changelog and breaking changes before merging. |
4 similar comments
|
Major version update detected This PR contains a major version update that requires manual review. Dependency: actions/setup-python Please review the changelog and breaking changes before merging. |
|
Major version update detected This PR contains a major version update that requires manual review. Dependency: actions/setup-python Please review the changelog and breaking changes before merging. |
|
Major version update detected This PR contains a major version update that requires manual review. Dependency: actions/setup-python Please review the changelog and breaking changes before merging. |
|
Major version update detected This PR contains a major version update that requires manual review. Dependency: actions/setup-python Please review the changelog and breaking changes before merging. |
ac7b116 to
aa11e3a
Compare
|
Major version update detected This PR contains a major version update that requires manual review. Dependency: actions/setup-python Please review the changelog and breaking changes before merging. |
aa11e3a to
56cc253
Compare
|
Major version update detected This PR contains a major version update that requires manual review. Dependency: actions/setup-python Please review the changelog and breaking changes before merging. |
…discarded (#289) `time: 09:00` unquoted is not a string in YAML 1.1: Dependabot's parser reads it as a sexagesimal integer, its schema requires a string, and it rejects the ENTIRE FILE — one error per ecosystem entry, six of them. An invalid config is not partially applied, it is ignored. So every `labels:`, `groups:`, `reviewers:` and `ignore:` block in this file was dead and Dependabot ran on its defaults. Present since 2025-10-15 (d4ff903), where the key was introduced unquoted and never quoted after. This also explains a fix that appeared to land and didn't. `automerge` was missing from the repository, Dependabot drops unknown labels silently, and every approve and merge step in dependabot-automerge.yml is gated on that label — 46 PRs opened, 0 merged. That was diagnosed and fixed: the label is in .github/labels.yml and on the repository, guarded by TestDependabotLabelsAreDefined. And it still did not work, because `labels:` sat inside a file being thrown away. Confirmed on the open PRs — #210, #249, #254 and #258 all carry `dependencies` plus an ecosystem label and no `automerge`. Two independent causes for one symptom; fixing the visible one left the other invisible. It hid for nine months because it surfaces as a failing `.github/dependabot.yml` check on every PR, which reads like a failed job rather than an invalid config — and the file has a `version: 2` key and six well-formed-looking entries, so nothing about reading it suggests it is being discarded. TestDependabotScheduleTimesAreQuoted checks the file TEXT, not the decoded value, and that is deliberate. Asserting the decoded Go type is the obvious design and it cannot work: gopkg.in/yaml.v2 and gopkg.in/yaml.v3 both decode 09:00, 9:00, 10:30 and 05:00 as Go `string`, because Go's YAML 1.2 core schema has no sexagesimal integer type while Dependabot's YAML 1.1 parser does. A decode-based assertion therefore passes on exactly the input that breaks the file — the first version of this test did, which is how the text approach was arrived at. The narrower claim that buys: it cannot tell `"9am"` from `"09:00"`, since both are quoted strings and only Dependabot's own schema knows the difference. The failing check on the PR stays the authority on validity; this stops the known regression. Mutation-verified three ways: unquoting fails it, single-quoting passes, renaming the key trips the scan-found-nothing guard. Refs #288
|
@dependabot rebase |
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 5 to 7. - [Release notes](https://github.com/actions/setup-python/releases) - [Commits](actions/setup-python@v5...v7) --- updated-dependencies: - dependency-name: actions/setup-python dependency-version: '7' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]>
56cc253 to
e97aa33
Compare
|
Superseded by #304, which takes this bump along with the other seven outdated action majors in one reviewed change. Two reasons for consolidating rather than merging these individually:
#304 carries the same version change, with the removed-input and removed-env checks done against this repo, and — for |
|
OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting If you change your mind, just re-open this PR and I'll resolve any conflicts on it. |
|
Major version update detected This PR contains a major version update that requires manual review. Dependency: actions/setup-python Please review the changelog and breaking changes before merging. |
… cause 5 (#304) * ci: every action to its current major, and stop switching Go toolchains mid-build Eight actions: setup-go 5→7, setup-node 4→7, setup-python 5→7, docker/metadata-action 5→6, docker/setup-buildx-action 3→4, docker/build-push-action 5→7, docker/login-action 3→4, dependabot/fetch-metadata 2→3. Dependabot proposed five of these (#254-#258) and five is also open-pull-requests-limit, so the other three were never proposed at all. The queue was saturated. Worth remembering that a quiet Dependabot can mean "nothing to do" or "no room to say so." setup-go is the one that changes behavior, so it was traced rather than assumed. v5 reads the `go` line and installed go1.26.0; Go's own toolchain switching then fetched go1.26.5 on the first build, because `toolchain go1.26.5` says to. The right compiler was used — `go version` reported 1.26.5 — but it arrived at build time, over the network, once per job, and the tar warnings about gotoolchain_*.txt "File exists" in every job log were that download racing the module cache restore. v6+ parses `toolchain` directly and exports GOTOOLCHAIN=local, so 1.26.5 installs up front and nothing switches. Verified against the v7 sources, not the PR discussion: installer.ts parseGoVersionFile matches /^toolchain go(1\.\d+...)/m and prefers it unless GOTOOLCHAIN is already `local`, and main.ts calls setGoToolchain() to set exactly that. The comment in go.mod is updated, including the new failure mode — under GOTOOLCHAIN=local a toolchain version setup-go cannot install fails the build rather than quietly falling back to one that works. Checked for each of the others instead of trusting the release notes: - buildx v4 removed the deprecated `config`, `config-inline` and `install` inputs. Not used here. - build-push-action v7 removed DOCKER_BUILD_NO_SUMMARY and DOCKER_BUILD_EXPORT_RETENTION_DAYS. Neither appears in .github/. - setup-python v7 removed the `pip-install` input. Not used. - setup-node v6 limited automatic caching to npm. No `cache:` input is set on the Node or Python steps, so it cannot apply. - All eight need runner >= v2.327.1 for their Node 24 runtime; ubuntu-latest satisfies that. Node 20 -> 22 in the sdk-metrics job while it was open. 20 reached end of life in April 2026 and sdks/javascript declares `node >=16`, so nothing held the pin down except never having revisited it. Closes #254, closes #255, closes #256, closes #257, closes #258 * fix(ci): drop the approve step — Actions can't approve, and bash -e ate the merge Cause 5 of "46 Dependabot PRs opened, 0 merged." Fixing #288 made .github/dependabot.yml valid. Dependabot re-evaluated it within minutes and opened 14 PRs across ecosystems it had never touched, and the `automerge` label arrived on every one of them — the label plumbing works. And still nothing merged, because the step finally ran instead of being skipped, and failed: failed to create review: GraphQL: GitHub Actions is not permitted to approve pull requests. (addPullRequestReview) can_approve_pull_request_reviews is false at the repository level. The step body was `gh pr review --approve` then `gh pr merge --auto --squash`, under `bash -e`, so the failing first line aborted before the line that does the work. The approval was never needed. Branch protection on main requires status checks and has required_pull_request_reviews: null — nothing is waiting on a review. Deleting the line is the fix. Enabling "Allow GitHub Actions to create and approve pull requests" would instead grant every workflow in the repository the ability to satisfy a review requirement, to buy something no rule asks for. Causes 1 and 4 both kept the `if:` condition false, so the step was skipped and this one could not produce a symptom until they were gone. That is the shape worth recording: a fix that should have worked and didn't usually means a second cause, not a wrong diagnosis. All five are now enumerated in the workflow header in the order they were found, with why each hid the next. Closes #305
…silent open-pull-requests-limit caps discovery, not display. Once the slots are full Dependabot stops proposing, and the PR list can't distinguish "nothing to update" from "no room to say so" — the same condition that hid three outdated action majors behind #254-#258. Measured: `go list -u -m all` shows twelve outdated direct modules against five slots, with client_golang, go-redis, substrate and x/sys absent from every open PR. pom.xml declares nine artifacts against three slots. gomod 5 -> 8, maven 3 -> 6. Both npm limits stay at 3: those queues are full of majors correctly waiting for a human, which is the limit working.
…ork, and three TTL tests that raced themselves (#315) * fix(ci): add typedoc to the typescript-toolchain group The regrouped PR from #306 still failed to install. typedoc constrains the TypeScript version as tightly as ts-jest does, and was left out of the group because it doesn't read like a member of one. Measuring the peer ranges instead of assuming them turned up two things: [email protected] peers <=5.1.x, so `typescript: ^5.0.0` has been resolving to 5.1.6 all along; and TypeScript 7 is unreachable at any grouping, since ts-jest's latest peers <7 with nothing above it. The ceiling is 6. What the install failure was hiding is filed as #314: `npm run build` fails with 48 tsc errors, two of which name identifiers that don't exist, and nothing in CI runs tsc. * fix(ci): raise the gomod and maven PR limits so outdated deps aren't silent open-pull-requests-limit caps discovery, not display. Once the slots are full Dependabot stops proposing, and the PR list can't distinguish "nothing to update" from "no room to say so" — the same condition that hid three outdated action majors behind #254-#258. Measured: `go list -u -m all` shows twelve outdated direct modules against five slots, with client_golang, go-redis, substrate and x/sys absent from every open PR. pom.xml declares nine artifacts against three slots. gomod 5 -> 8, maven 3 -> 6. Both npm limits stay at 3: those queues are full of majors correctly waiting for a human, which is the limit working. * fix(cache): three TTL tests raced their own assertions They set a 100ms TTL and then asserted an entry exists "immediately after Put". Put stamps Timestamp: now on entry and then gzips and writes to disk, so the clock starts before the bytes land, and any delay before the Get — GC, scheduler, slow tmpfs — spends the same 100ms the assertion needs. TestPersistentCache_TTLExpiration failed on a PR that changed nothing but dependabot.yml, which is the tell. Reproduced by sleeping 120ms after the Put: the entry is gone before it is read. Optimize was worse — asserting a final count of 1 needs a fourth Put plus a full index sweep inside the same window, and losing that looks like Optimize evicting a fresh entry. The tests change, not the caches: TTL from the start of the write is the right semantic, since an entry is as old as its data. 2s budget plus an expiryWait helper. All three verified against an isExpired-returns-false mutant.
Bumps actions/setup-python from 5 to 7.
Release notes
Sourced from actions/setup-python's releases.
... (truncated)
Commits
5fda3b9Pin SHA commits and update docs with latest versions (#1338)4ab7e95Merge pull request #1337 from actions/philip-gai/bump-actions-cache-6-2-00f3a009Remove the pip-install input (#1336)f8cf429Migrate to ESM and upgrade dependencies (#1330)54baeeaValidate and retry manifest fetch to prevent silent failures (#1332)c709277Annotation code fix (#1335)6849080remove EOL Python versions and Bumps numpy text fixture (#1333)0903b46Bump certifi from 2020.6.20 to 2024.7.4 in /tests/data (#1328)ece7cb0Fix pip cache error handling on Windows. (#1040)1d18d7aUpdate advanced-usage.md (#811)