build: pin apm-cli 0.39.3 per repo with uv
Add a root pyproject.toml with no build system, uv package mode off, Python 3.11 or later, and a dev dependency group pinning apm-cli==0.39.3, as ADR-0034 decides. Commit the uv.lock that hashes apm-cli and its transitive dependencies, and ignore uv's .venv/. Refs: #271 Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_014uGZTNugst7K9Bd2FTR4Mi
This commit is contained in:
1 parent
e1a99a7291
commit
d15688ee99
3 files changed
+1971
No files matched your search
@@ -66,3 +66,7 @@ build/
|
|||||||
# apm copies the whole hooks directory, so a stray cache would deploy with it.
|
# apm copies the whole hooks directory, so a stray cache would deploy with it.
|
||||||
__pycache__/
|
__pycache__/
|
||||||
*.pyc
|
*.pyc
|
||||||
|
|
||||||
|
# uv's project environment for the repo-pinned apm (ADR-0034). Created by
|
||||||
|
# `uv sync --frozen` from the committed uv.lock; machine-local, never content.
|
||||||
|
.venv/
|
||||||
@@ -0,0 +1,16 @@
|
|||||||
|
# Pins this repo's apm with uv (ADR-0034). Not a Python package: there is no
|
||||||
|
# build system, and uv only installs the dev group below. Run apm as
|
||||||
|
# `uv run --frozen apm ...`; the repo's gate scripts spell that once in
|
||||||
|
# scripts/lib/apm.sh. uv pins the apm tool only, never plugin content
|
||||||
|
# (ADR-0024).
|
||||||
|
[project]
|
||||||
|
name = "holocron-tooling"
|
||||||
|
version = "0.0.0"
|
||||||
|
requires-python = ">=3.11"
|
||||||
|
dependencies = []
|
||||||
|
|
||||||
|
[tool.uv]
|
||||||
|
package = false
|
||||||
|
|
||||||
|
[dependency-groups]
|
||||||
|
dev = ["apm-cli==0.39.3"]
|
||||||
Reference in new issue
Block a user