Skip to content

fix(cli): cap Typer before Click vendoring - #303

Open
ethan-scitix wants to merge 1 commit into
mainfrom
fix/typer-click-compatibility-bound
Open

ethan-scitix wants to merge 1 commit into
mainfrom
fix/typer-click-compatibility-bound

Conversation

@ethan-scitix

Copy link
Copy Markdown
Collaborator

Summary

  • Cap Typer at >=0.24.1,<0.26 in package metadata so installs that do not use the PDM lock also avoid the incompatible range.
  • Refresh the PDM lock content hash without changing any locked versions.

Typer 0.26.0 vendored Click. SiEval's optional --resume [DIR] parser and CLI exception handling still rely on external Click types. A targeted probe passed with Typer 0.25.0 and reproduced both regressions with 0.26.0: bare --resume is rejected, and a failed eval --dry-run -o json writes two JSON documents.

Validation

  • pdm lock --check
  • python -m pytest -q tests/unit/cli/test_resume_option.py tests/unit/cli/test_output.py: 124 passed each on Typer 0.24.1 and 0.25.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants