Skip to content

Commit a3c1a0a

Browse files
fix: add build-system to pyproject.toml for correct package discovery
Without a [build-system] table, uv sync in CI failed to discover nested subpackages like spec2event.adapters.build, causing ModuleNotFoundError in test collection. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent a9a8063 commit a3c1a0a

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

apps/api/pyproject.toml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
[build-system]
2+
requires = ["hatchling"]
3+
build-backend = "hatchling.build"
4+
5+
[tool.hatch.build.targets.wheel]
6+
packages = ["src/spec2event"]
7+
18
[project]
29
name = "spec2event-api"
310
version = "0.1.0"

0 commit comments

Comments
 (0)