Skip to content

fix(ci): leave uv.lock to the Upgrade lock workflow, not Dependabot - #24

Merged
jmineau merged 1 commit into
mainfrom
fix/dependabot-no-uv
Oct 27, 2026
Merged

jmineau merged 1 commit into
mainfrom
fix/dependabot-no-uv

Conversation

@jmineau

@jmineau jmineau commented Oct 27, 2026

Copy link
Copy Markdown
Owner

What to check

  • template/.github/dependabot.yml has only github-actions and pre-commit now; the uv entry is gone.
  • The texts that said Dependabot updates uv.lock (README row, generated CONTRIBUTING.md "Dependency updates", two comments) now say the Upgrade lock workflow does.
  • The reason the workflow exists (the newest release for each supported Python, a fork in uv.lock) is kept in the workflow's header comment and one paragraph of CONTRIBUTING.md.

What changed

Since v1.3.0 the monthly Upgrade lock workflow (uv lock --upgrade) and Dependabot's monthly uv update both open a uv.lock pull request, and the two conflict. The workflow covers everything Dependabot's does and also the newest release for each supported Python, so Dependabot's uv entry is removed. Dependabot keeps GitHub Actions and pre-commit hooks (grouped, monthly, 7-day cooldown, unchanged). No cooldown is added to the workflow and no exclude-newer.

  • template/.github/dependabot.yml: delete the uv entry; the header says uv.lock is the workflow's.
  • template/.github/workflows/lock-upgrade.yml.jinja: header comment says the workflow is the only thing that updates uv.lock.
  • template/CONTRIBUTING.md.jinja: "Dependency updates" says Dependabot does actions and hooks, the workflow does uv.lock.
  • template/.pre-commit-config.yaml: comment "Dependabot does it" now names the workflow.
  • README.md: the Upkeep row.

Left as they were because they are still true: the comment in template/.github/zizmor.yml (Dependabot keeps action tags current), the root CONTRIBUTING.md line about astral-sh/setup-uv, and the ruff and pyrefly come from uv.lock comment in dependabot.yml. template/AGENTS.md.jinja and the after-copy message in copier.yml make no Dependabot claim.

Checked

  • just test on a compute node (both variants, every check including the zizmor hook and all pre-commit hooks): "All checks passed for both variants."
  • Baked a project with this branch and read .github/dependabot.yml, the "Dependency updates" section of CONTRIBUTING.md and every remaining mention of Dependabot.
  • gh pr list for open Dependabot pull requests in the seven packages: none open.

Not checked

  • A package's copier update with this change; GitHub's behavior on a repository whose Dependabot config lacks the uv entry (an open Dependabot uv pull request, if any, is not closed by removing the entry; none is open in the seven packages today).

Remove the uv ecosystem from the Dependabot config. Since v1.3.0 the monthly Upgrade lock workflow runs uv lock --upgrade, which covers everything Dependabot's uv update does plus the newest release for each supported Python, and the two pull requests conflict. Dependabot keeps GitHub Actions and pre-commit hooks. The README, the generated CONTRIBUTING.md and the comments that said Dependabot updates uv.lock now say the workflow does.
@jmineau
jmineau merged commit c94cd8f into main Oct 27, 2026
1 check passed
@jmineau
jmineau deleted the fix/dependabot-no-uv branch October 27, 2026 20:33
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