Commit 2a08eeb
fix(ci): build --wheel directly; sdist-via-cross-dir doesn't resolve in CI
adk/'s wheel uses hatchling force-include to pull ../src/agentex/lib into
agentex/lib. `rye build` defaults to sdist-then-wheel-from-sdist, and when
building the wheel from the sdist, the relative path ../src/agentex/lib
resolves against the unpacked sdist dir (which doesn't have lib). Result:
FileNotFoundError: Forced include not found.
Building --wheel directly skips the sdist intermediate and resolves the
force-include path against the working tree, which works.
Sdist support for adk/ is deferred — it requires either physically copying
lib/ into the sdist tarball, or telling hatchling sdist to also pull lib
via force-include. Not needed for the wheel-based publishing flow.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 85c2bb7 commit 2a08eeb
1 file changed
Lines changed: 8 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
64 | 67 | | |
65 | 68 | | |
66 | | - | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
67 | 73 | | |
68 | 74 | | |
69 | 75 | | |
| |||
0 commit comments