chore(renovate): update the apm pin in pyproject.toml and uv.lock #523

Merged
Defame1297 merged 5 commits from chore/518-renovate-uv into main 2026-12-06 08:40:14 +00:00
5 Commits
Author SHA1 Message Date
Defame1297 5a130f143f Merge branch 'main' into chore/518-renovate-uv
Build / build (pull_request) Successful in 31s
Molecule / select (pull_request) Successful in 4s
Lint / lint (pull_request) Successful in 3m37s
Molecule / scenarios (pull_request) Successful in 35m29s
Molecule / Result (pull_request) Successful in 1s
2026-12-06 08:03:56 +00:00
Defame1297 6d054b0f8b Merge branch 'main' into chore/518-renovate-uv
Build / build (pull_request) Successful in 29s
Molecule / select (pull_request) Successful in 8s
Lint / lint (pull_request) Successful in 3m39s
Molecule / Result (pull_request) Canceled after 0s
Molecule / scenarios (pull_request) Canceled after 11m3s
2026-12-06 07:52:20 +00:00
Defame1297 2b0326801f chore(renovate): update the apm pin in pyproject.toml and uv.lock
Build / build (pull_request) Successful in 49s
Molecule / select (pull_request) Successful in 2s
Lint / lint (pull_request) Successful in 4m48s
Molecule / Result (pull_request) Canceled after 0s
Molecule / scenarios (pull_request) Canceled after 16m17s
Enable the pep621 manager for the root pyproject.toml, which updates
uv.lock with it. apm-cli gets its own pull request without automerge: CI
never runs apm, so a green run says nothing about a new version. The
manager also reads requires-python, a floor for ruff rather than a pin,
so it is disabled, and lock file maintenance is off for uv.lock, whose
check refuses a change to any package but apm-cli.

Closes: #518

Assisted-by: Claude Code
2026-12-06 07:22:02 +00:00
Defame1297 1e95d8cbdd chore(uv): rewrite uv.lock as the Renovate image's uv writes it
uv 0.13.1, the version in the pinned Renovate image, writes lock revision
5 and drops two markers on httpcore2's dependencies that uv 0.11 kept.
The bot-diff check refuses a change to any package but apm-cli, so the
lock is rewritten once here, with `uv lock --upgrade-package apm-cli` at
the unchanged pin. No package, version, source, file or hash changes, and
uv 0.11.24 reads the lock and leaves it as it is.

Refs: #518

Assisted-by: Claude Code
2026-12-06 07:21:56 +00:00
Defame1297 47641ae01d ci(lint): accept an apm-cli bump in the bot-diff check
A Renovate pull request may now change pyproject.toml and uv.lock, but
only together, so the pep621 manager can move the apm pin. In
pyproject.toml only the version of a quoted name==version pin may change.

uv.lock is parsed with tomllib in a module of its own, check_uv_lock.py,
because uv installs whatever the lock names and a line-shape rule cannot
tie a file to its package: a file of another package under apm-cli, an
added package, a marker that drops a dependency and a downgrade all passed
one. The parsed rule allows only apm-cli moving up to the pin in
pyproject.toml, as plain releases compared as numbers, with the same kinds
of file as before (an sdist if it had one, the same wheel tags), each on
files.pythonhosted.org under /packages/ without dot segments or escapes,
named for apm-cli at the pin, by sha256. Every other package, the root
project beyond its apm-cli specifier and the top level beyond `revision`
must stay as they are. Without the same file kinds, a lock could drop the
wheels and make uv build apm-cli from its sdist with a build backend
fetched at sync time. A bump that moves anything else is made by hand.

Refs: #518

Assisted-by: Claude Code
2026-12-06 07:21:44 +00:00