Commit 9bdf304
fix: read __version__ from importlib.metadata (single source)
Hardcoding `__version__ = "1.0.0"` in `__init__.py` while pyproject.toml is at
"1.0.1" creates a two-spot version drift. Read from `importlib.metadata` so
pyproject.toml is the single source of truth (matches python-sdk's pattern).
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent baedcc7 commit 9bdf304
1 file changed
Lines changed: 10 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
0 commit comments