Skip to content

Commit 4da34d3

Browse files
lagillenwaterclaude
andcommitted
fix stack extra: distribution name is arc-stack, allow direct refs
Two adjustments so `uv sync --extra stack` resolves: - The dependency spec must use the upstream package's distribution name (arc-stack, declared in github.com/ArcInstitute/stack pyproject), not its Python import name (stack). - Hatchling refuses direct URL references in dependencies unless explicitly opted in, so add [tool.hatch.metadata] allow-direct-references = true. Verified: `uv sync` clean, `uv sync --extra stack` builds arc-stack from the GitHub repo. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 839b1d6 commit 4da34d3

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

pyproject.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ ml = [
2828
"transformers>=4.40",
2929
]
3030
stack = [
31-
"stack @ git+https://github.com/ArcInstitute/stack.git",
31+
"arc-stack @ git+https://github.com/ArcInstitute/stack.git",
3232
]
3333
dev = [
3434
"pytest>=8.0",
@@ -43,6 +43,9 @@ dev = [
4343
requires = ["hatchling"]
4444
build-backend = "hatchling.build"
4545

46+
[tool.hatch.metadata]
47+
allow-direct-references = true
48+
4649
[tool.hatch.build.targets.wheel]
4750
packages = ["src/fmharness"]
4851

0 commit comments

Comments
 (0)