chore(apm): pin apm with uv
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:
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"):
|
||||
|
||||
Reference in new issue
Block a user