Refresh uv.lock and adopt click 8.4 in the show-code gate#130
Merged
Conversation
Upgrade the dependency lock to the newest releases safe-chain's minimum-package-age gate permits: click 8.1.8->8.4.1, diff-cover 10.2.1->10.3.0, httpx2 2.2.0->2.4.0 (pulls in truststore), hypothesis 6.155.1->6.155.2, pyright 1.1.409->1.1.410, python-multipart 0.0.29->0.0.32, uvicorn 0.48.0->0.49.0. assemblyai, openai, yt-dlp, syrupy, and ruff stay pinned because their latest releases are still under the age gate. click 8.2 removed CliRunner(mix_stderr=...), which broke scripts/generated_code_compile_gate.py. Switch that script from real click's CliRunner to typer.testing.CliRunner, invoking the Typer app directly. This drops the typer.main.get_command() round-trip and the now-distinct Command type mismatch between external click and typer's vendored click. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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.
What
Refreshes
uv.lockto the newest releases safe-chain's minimum-package-age gate currently permits, and fixes the one code site a dependency bump broke.Upgraded
Held back (still under safe-chain's min-age gate, not bypassed)
assemblyai0.64.16,openai2.41.1,yt-dlp2026.6.9,syrupy5.3.2,ruff0.15.17 — left at current locked versions; adoptable once they age past the gate. Each upgrade above was verified to both lock anduv sync(yt-dlp resolved at lock time but its wheel download was still age-blocked, so it was excluded).Code change
click 8.2 removed
CliRunner(mix_stderr=...), breakingscripts/generated_code_compile_gate.py. Switched that script from real click'sCliRunnertotyper.testing.CliRunner, invoking the Typerappdirectly. This also drops thetyper.main.get_command()round-trip and a now-latentCommand-type mismatch between external click and typer's vendored click.Verification
./scripts/check.sh→All checks passed.(2058 tests, 99.5% coverage; CodeQL self-skips locally as documented). Script also passes pyright standalone.🤖 Generated with Claude Code