chore(apm): pin apm with uv #520
Open
Claude
wants to merge 1 commits from
chore/517-apm-uv into main
pull from: chore/517-apm-uv
merge into: Mortis:main
Mortis:main
Labels
Clear labels
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Breaking change that won't be backward compatible
Something is not working
Documentation changes
Improve existing functionality
New functionality
This is security issue
Issue or pull request related to testing
Priority
Critical
1
The priority is critical
Priority
High
2
The priority is high
Priority
Medium
3
The priority is medium
Priority
Low
4
The priority is low
Reviewed
Confirmed
1
Issue has been confirmed
Reviewed
Duplicate
2
This issue or pull request already exists
Reviewed
Invalid
3
Invalid issue
Reviewed
Won't Fix
3
This issue won't be fixed
Status
Blocked
1
Something is blocking this issue or pull request
Status
Need More Info
2
Feedback is required to reproduce issue or to continue work
Status
Abandoned
3
Somebody has started to work on this but abandoned work
Status
Needs Triage
Maintainer needs to evaluate this issue
Status
Ready for Agent
Fully specified, ready for an AFK agent
Status
Ready for Human
Requires human implementation
Wayfinder
Grilling
Decision ticket resolved in conversation with the maintainer
Wayfinder
Map
Wayfinder map: index of a planning effort and its decision tickets
Wayfinder
Prototype
Decision ticket resolved by reacting to a rough concrete artifact
Wayfinder
Research
Decision ticket resolved by reading outside sources
Wayfinder
Task
Manual work that must happen before a decision can be made
No labels
Milestone
No items
No Milestone
Projects
Clear projects
No projects
No Assignees
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: Mortis/Kamino#520
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
What and why
Closes #517
apm is now pinned at 0.39.3 in
pyproject.tomlanduv.lock, and run asuv run --frozen apm. Before this, a contributor got whatever apm was installed on their machine.apm-clileavesrequirements-dev.txtand its lock, so this is the only pin.After merging, in every existing clone:
scripts/dev-setup.shif you have not since #519. Otherwise the next step removes the tools the git hooks use.uv sync --frozen, thenuv run --frozen apm install.ship.md), move both files aside and install again.The merge publishes a new
ciimage version, becauserequirements-dev.*andimages/ci/Dockerfileare inputs of that image. The change only removes packages from it. Estimated compressed size of the/opt/venvlayer: about 52 MB, under the 100 MB limit.Renovate does not update the new pin until #518.
Verified
uv lock --checkpasses, anduv run --frozen apm --versionprints 0.39.3.apmonPATH,uv run --frozen apm installanduv run --frozen apm auditsucceed, and the audit reports no drift..claude/commands/plan.mdand.claude/commands/ship.mdcontaindisable-model-invocation: true. Neither file is tracked.uv sync --frozenleaves.venv-devunchanged, andpre-commit run --all-filespasses afterwards.requirements-dev.lockloses 40 packages, and no other version changes.apm.lock.yamlchanges only in its timestamp, the apm version and the hashes ofplan.mdandship.md.python3 -m unittest discover -s tests/scripts: 335 tests pass.scripts/check_tarball.pyand contains neither new file.renovate --platform=local --dry-run=lookupat 44.161.0 runs cleanly with the changedrenovate.json.ansible-test sanity: passed in the pre-push hook.Not verified
ciimage was not built locally.uv sync --frozenover an old.venvthat still holds the dev tools.NOTICEandREUSE.toml, or there is none.Assisted-by: Claude Code
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.