Skip to content

Commit 51efe63

Browse files
leeclemnetclaude
andcommitted
chore(deps): pin typer<0.26 to keep external click for CLI
typer 0.26 vendors its own click as `typer._click` and drops the external click dependency. roboflow/cli/_compat.py subclasses TyperGroup using external click types, so under typer 0.26 the CLI mistypes (mypy fails) and click isn't installed at all. typer 0.25.x still depends on external click and type-checks (it's what main resolved to on 2026-05-25). Pin typer<0.26 and declare click explicitly so `make check_code_quality` passes and the CLI keeps working. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent fdbc0d8 commit 51efe63

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

requirements.txt

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,9 @@ tqdm>=4.41.0
1919
PyYAML>=5.3.1
2020
requests_toolbelt
2121
filetype
22-
typer>=0.12.0
22+
# typer 0.26 vendors its own click as typer._click and drops the external click dep, which
23+
# breaks roboflow/cli/_compat.py's SortedGroup (it subclasses TyperGroup using external click
24+
# types). 0.25.x still depends on external click and type-checks; pin below 0.26.
25+
typer>=0.12.0,<0.26
26+
# CLI imports click directly; declare it explicitly rather than relying on typer's transitive dep.
27+
click>=8.0

0 commit comments

Comments
 (0)