chore(renovate): update the apm pin in pyproject.toml and uv.lock #518
Notifications
Due Date
No due date set.
Depends on
#517 chore(apm): pin apm with uv
Mortis/Kamino
Reference: Mortis/Kamino#518
Reference in new issue
Block a user
Part of #499
Problem
Once apm is pinned in
pyproject.tomlanduv.lock, Renovate does not update it:renovate.jsondoes not enable a manager that reads those files. A bot pull request that changes them would also fail Lint, becausescripts/check_bot_pr_diff.pyrejects any file it does not list.Out of scope: changing the apm version by hand, and running apm in CI.
Proposal
pep621manager for the rootpyproject.toml.apm-cliits own pull request, without automerge: CI never runs apm, so a green run says nothing about a new version.scripts/check_bot_pr_diff.pyaccept a version bump inpyproject.tomland the matchinguv.lockchange, and nothing else in those files.uv.lockhas a different format from the pip-compile locks the script knows, so it needs its own rules.Read the rule descriptions in
renovate.json,scripts/AGENTS.mdand.gitea/workflows/AGENTS.mdfirst.Acceptance criteria
renovate --platform=local, at the version in.gitea/workflows/renovate.yml, detectsapm-cliin thedevdependency group ofpyproject.tomland proposes no update forrequires-python. The pull request quotes the relevant output.renovate.jsonrules leave automerge off forapm-cliand keep it out of the "lint tooling" group.tests/scripts/test_check_bot_pr_diff.pyshow that the check accepts anapm-clibump with itsuv.lockchange, and rejects a new dependency inpyproject.toml, a changed package source or download host inuv.lock, and an edit to any other setting inpyproject.toml.python3 -m unittest discover -s tests/scriptspasses.