Skip to content

fix(cli): relax Typer version constraint - #2975

Closed
lntutor wants to merge 3 commits into
ag2ai:mainfrom
lntutor:fix/2969-relax-typer-cap
Closed

fix(cli): relax Typer version constraint#2975
lntutor wants to merge 3 commits into
ag2ai:mainfrom
lntutor:fix/2969-relax-typer-cap

Conversation

@lntutor

@lntutor lntutor commented Jul 31, 2026

Copy link
Copy Markdown

Description

Removes the Typer upper bound from the CLI extra and refreshes the lockfile to Typer 0.27.0. The existing exclusion for Typer 0.12 remains unchanged.

Typer 0.27 vendors Click, so the startup-validation renderer now selects the matching Click exception classes while retaining a fallback for older Typer releases.

Fixes #2969

Type of change

  • Bug fix (a non-breaking change that resolves an issue)

Checklist

  • I have conducted a self-review of my own code
  • My changes do not generate any new warnings
  • Relevant CLI tests pass locally

Verification

  • uv lock --check
  • uv run pytest -q tests/cli
  • just mypy
  • Verified with Typer 0.27.0

@lntutor
lntutor requested a review from Lancetnik as a code owner July 31, 2026 18:54
@CLAassistant

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@github-actions github-actions Bot added the dependencies Pull requests that update a dependency file label Jul 31, 2026
@lntutor
lntutor requested a review from Sehat1137 as a code owner July 31, 2026 19:15
@lntutor

lntutor commented Aug 1, 2026

Copy link
Copy Markdown
Author

Current head 0127a5435759f6bbafc20bae2fa8387c37026518 includes the follow-up fix for the cross-platform tests/cli/utils/test_errors.py::test_draw_startup_errors failure by stripping ANSI escape codes before asserting on the rendered option names. Focused exact-head local verification passed for that regression test in both normal and forced-color modes.

On GitHub, the remaining blockers visible on this exact SHA are both external to the code diff:

  • the contributor workflows Run all tests, Run linters, Dependency Review, and CodeQL are currently action_required with no jobs started, so they appear to need maintainer workflow approval for this fork head before they can run;
  • license/cla is still pending.

Once those two gates are cleared, the previous attributable test failure should already be addressed on the current head.

@Lancetnik

Copy link
Copy Markdown
Member

Sorry, we don't accept PRs from automatic AI accounts

@Lancetnik Lancetnik closed this Aug 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature: relax typer version

3 participants