Skip to content

Pin typer below 0.26 to keep click imports working#12

Merged
sharoonthomas merged 1 commit into
fulfilio:masterfrom
debdutgoswami:fix/click-dependency
Jun 2, 2026
Merged

Pin typer below 0.26 to keep click imports working#12
sharoonthomas merged 1 commit into
fulfilio:masterfrom
debdutgoswami:fix/click-dependency

Conversation

@debdutgoswami

@debdutgoswami debdutgoswami commented Jun 2, 2026

Copy link
Copy Markdown
Member

Starting in typer 0.26.0, typer vendored click as the private typer._click module. The CLI imports click directly (FulfilGroup subclasses TyperGroup, other code paths use click decorators and Context) and relies on typer pulling click in transitively and on both sides sharing the same click Context. With typer >=0.26 a fresh install no longer resolves click transitively and the vendored context stops interoperating with external click imports, so the CLI breaks at import/runtime.

Cap typer until the direct click imports are migrated.

https://github.com/fastapi/typer/releases/tag/0.26.0

#11

Starting in typer 0.26.0, typer vendored click as the private
typer._click module. The CLI imports click directly (FulfilGroup
subclasses TyperGroup, other code paths use click decorators and
Context) and relies on typer pulling click in transitively and on
both sides sharing the same click Context. With typer >=0.26 a
fresh install no longer resolves click transitively and the
vendored context stops interoperating with external click imports,
so the CLI breaks at import/runtime.

Cap typer until the direct click imports are migrated.
@sharoonthomas sharoonthomas merged commit 54aea77 into fulfilio:master Jun 2, 2026
4 of 5 checks passed
@debdutgoswami debdutgoswami deleted the fix/click-dependency branch June 2, 2026 12:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants