Repository navigation
Conversation
The parity test built a click parameter with typer.main.get_click_param to compare help strings. That function was never public, and typer 0.29 removed it, so the test fails on the refreshed lock file while phabfive itself runs fine. Typer hands an option's help to click unchanged, so the declaration's own help is the same comparison on every version. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This branch has not been deployed
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.
Why
The lock file maintenance in #616 resolves typer 0.29.1, and every leg of
Testsfails on it:tests/test_with_option_parity.pyimportstyper.main.get_click_param, which was never public and is gone in 0.29. phabfive itself is unaffected - the CLI,mypyand the other 6900 tests pass on that lock.What
The test only compared help strings, and typer hands an option's help to click unchanged. So it now compares each command's
--withhelp withwith_spec_option(kind).helpdirectly, which asks the same question without typer internals.Testing
tests/test_with_option_parity.pypasses on the current lock (typer 0.27.3) and on #616's lock (typer 0.29.1), where the full suite also passes (6918 passed). The two kinds' help strings differ, so a command carrying the wrong kind's help still fails.🤖 Generated with Claude Code