Commit 829ad11
fix: sync _version.py to 0.15.4, and guard the pair (#39)
`#38` bumped `pyproject.toml` to 0.15.4 but left `src/sonilo/_version.py` on
0.15.3. `__version__` ships as the `x-sonilo-client-version` header, so a 0.15.4
release would have had every client on it identify itself as 0.15.3.
Nothing caught it: the existing version tests compare the header to
`__version__`, which stays self-consistent however stale it is, and no test
compared either to pyproject. The release commits have always bumped both by
hand (a41a37c, 2c78bd8), which works right up until someone bumps only one.
Adds the missing comparison so the next one-sided bump fails in CI instead of
on PyPI. sonilo-cli is unaffected — its own version and its
`sonilo>=0.15.0,<0.16` pin both still hold.
Claude-Session: https://claude.ai/code/session_01SFP9xPKwk2S1Qjmk5krx6h
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>1 parent d31bd03 commit 829ad11
2 files changed
Lines changed: 23 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
0 commit comments