chore(release): 0.9.5 hotfix -- __version__ sync + cli --help cp949 fix - #23
Merged
Conversation
Two bugs surfaced by dogfooding 0.9.4 on a Windows-Korean (cp949) host
immediately after PyPI publish:
1. __version__ was stale at "0.9.2"
- src/llm_relay/__init__.py and src/llm_relay/detect/__init__.py
were never updated when pyproject.toml moved to 0.9.4.
- `llm-relay verify install` correctly flagged this with the
version_consistency check ("metadata 0.9.4 != runtime 0.9.2").
- Both files now read "0.9.5".
2. UnicodeEncodeError on `llm-relay --help` under cp949
- Three em-dash characters in Click docstrings / click.echo calls
in src/llm_relay/detect/cli.py crashed --help on Korean Windows
(`'cp949' codec can't encode character '—'`).
- Replaced em-dash with ASCII `--`. No behavior change beyond
making the command actually usable on Windows-Korean hosts.
Also bumps pyproject.toml version to 0.9.5 and adds a [0.9.5] section
to CHANGELOG describing the hotfix.
Full suite: 593 pass. Ruff clean. NDA grep on diff: 0 hits.
3 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Two bugs surfaced by dogfooding 0.9.4 on a Windows-Korean (cp949) host
immediately after PyPI publish. This release contains both fixes plus the
version bump.
Fixed
1.
__version__was stale at0.9.2Files:
src/llm_relay/__init__.py,src/llm_relay/detect/__init__.py.The 0.9.4 release bumped only
pyproject.toml; the importable runtimeversion stayed at the locally-tagged
0.9.2.llm-relay verify installcorrectly flagged this with its
version_consistencycheck on the freshlyinstalled wheel:
Both
__version__constants now read0.9.5and the check returnspassonce installed.
2.
UnicodeEncodeErroronllm-relay --helpunder cp949File:
src/llm_relay/detect/cli.py(3 occurrences).Em-dash characters (
—— "—") in Click docstrings andclick.echocalls were unprintable on cp949 stdout (Korean Windows default), causing
llm-relay --helpto crash before showing any subcommands. Replaced withASCII
--.This blocked the
AGENT_SETUP.mdplaybook's Phase 0 on Windows-Koreanhosts — agents trying to enumerate available commands hit a stack trace.
Test plan
pytest— 593 pass / 0 failruff check src/ tests/— cleanverify install --format jsonon pre-fix wheel returnedoverall: failwith the two issues above; ASCII path now resolves bothPost-merge sequence (out of this PR)
git tag v0.9.5+ pushgh release create v0.9.5with CHANGELOG bodygh workflow run publish.yml -f confirm=publish(Trusted Publishing OIDC, no token)verify installon the 5090 desktop afterpip install --upgrade llm-relay