Commit 659dd19
fix(packaging): force --wheel builds, drop broken sdist path
Greptile P1 + P2 on the slim/heavy split:
- `bin/publish-pypi` heavy `rye build --clean` missing `--wheel`. Without it,
rye defaults to sdist-then-wheel-from-sdist; the wheel build off the
unpacked sdist can't resolve adk/'s `force-include = "../src/agentex/lib"`,
silently producing an empty agentex-sdk wheel. Apply to slim too for
consistency with CI (which always passes --wheel).
- `adk/pyproject.toml` sdist `include = ["/../src/agentex/lib/**"]` is
malformed: leading `/` is project-root-relative, `..` navigation outside
the project root isn't honored by hatchling. Drop the entry; sdist support
for the dual-package layout is deferred (wheel-only is enforced by CI +
publish-pypi via `--wheel`).
Verified locally: both wheels build cleanly with `uvx pyproject-build --wheel`
and have disjoint contents (slim: 0 agentex/lib/* files; heavy: 347 lib/*
files + no top-level client surface).
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 73a7a3b commit 659dd19
2 files changed
Lines changed: 8 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
| 100 | + | |
| 101 | + | |
100 | 102 | | |
101 | 103 | | |
102 | 104 | | |
103 | 105 | | |
104 | | - | |
105 | 106 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
28 | | - | |
| 27 | + | |
29 | 28 | | |
30 | 29 | | |
31 | 30 | | |
32 | | - | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
33 | 34 | | |
34 | 35 | | |
0 commit comments