Commit 38f176c
fix(packaging): bump __version__ to 2.4.0a2 + explicit hatch sdist target
Two related cleanups to packaging metadata:
1. src/agent_passport/__init__.py declared __version__ = "2.4.0a1"
while pyproject.toml + dist/ artifacts are 2.4.0a2. Module constant
now matches.
2. Add [tool.hatch.build.targets.sdist] with explicit include/exclude
lists. Hatch's default sweep would otherwise pull in tests/,
papers/, drafts/, .github/, etc. — none of which belong on PyPI.
This is the hatch-native equivalent of a setuptools MANIFEST.in.
518 tests still pass.
Surfaced by AUDIT-2026-05-12-fullsweep.md A8 + B5.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 50fd804 commit 38f176c
2 files changed
Lines changed: 25 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
41 | 65 | | |
42 | 66 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| |||
0 commit comments