chore(apm): pin apm with uv
Build / build (pull_request) Successful in 28s
Molecule / select (pull_request) Successful in 5s
Lint / lint (pull_request) Successful in 4m16s
Molecule / scenarios (pull_request) Successful in 34m33s
Molecule / Result (pull_request) Successful in 1s

A bare `apm` is whatever version a machine has. apm 0.37.0 to 0.39.1
refuse an apm.lock.yaml rewritten by 0.39.2 or later, and versions before
0.39.0 drop `disable-model-invocation` from the deployed Claude commands.
uv now runs one pinned version, from a .venv of its own.

apm-cli leaves requirements-dev.txt, so there is one pin. Its lock loses 40
packages and no other version moves. apm.lock.yaml is regenerated with the
pinned apm.

Refs: #517
Assisted-by: Claude Code
This commit is contained in:
Defame1297 committed 2026-12-04 21:48:53 +00:00
1 parent d732ac0a71
commit 595f517b49
12 files changed
+1994 -1193

No files matched your search

@@ -217,6 +217,10 @@ class SelectTest(unittest.TestCase):
chosen, _reason = self.select(["requirements-dev.txt", "requirements-dev.lock"])
self.assertEqual(chosen, [])
def test_the_apm_pin_selects_nothing(self):
chosen, _reason = self.select(["pyproject.toml", "uv.lock"])
self.assertEqual(chosen, [])
def test_molecule_requirements_select_everything(self):
# An ansible-core or molecule bump there changes the tools every scenario runs with.
for path in ("requirements-molecule.txt", "requirements-molecule.lock"):