Skip to content

feat: relax typer version - #2980

Open
jackwalkerlabs wants to merge 1 commit into
ag2ai:mainfrom
jackwalkerlabs:feat/relax-typer-version
Open

feat: relax typer version#2980
jackwalkerlabs wants to merge 1 commit into
ag2ai:mainfrom
jackwalkerlabs:feat/relax-typer-version

Conversation

@jackwalkerlabs

Copy link
Copy Markdown

Description

Relax the CLI extra's Typer upper bound from <=0.21.1 to <1 and refresh the lockfile to Typer 0.27.0. Since Typer 0.26 vendors Click, select the matching exception implementation when rendering startup validation errors while retaining the external Click fallback for older supported Typer versions. This prevents missing-option rendering from crashing on newer Typer releases.

Fixes #2969

Type of change

  • Bug fix (a non-breaking change that resolves an issue)
  • New feature (a non-breaking change that adds functionality)

Checklist

  • My code adheres to the style guidelines of this project
  • I have conducted a self-review of my own code
  • My changes do not generate any new warnings
  • I have added tests to validate the effectiveness of my fix or the functionality of my new feature
  • Both new and existing unit tests pass successfully in my local environment
  • Static analysis tests are passing

Testing

  • Resolver probe with faststream[cli] and typer==0.27.0
  • Startup-error regression on Typer 0.25.1 and 0.27.0
  • Full fast suite with coverage: 3,905 passed, 13 skipped, 7 xfailed; 73.60% coverage
  • Ruff format/check, codespell, mypy, Bandit, Semgrep, uv lock --check, and git diff --check

@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 Aug 3, 2026
@ApusBerliozi ApusBerliozi added the enhancement New feature or request label Aug 3, 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 enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature: relax typer version

3 participants