Commit 167cf90
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 in both requirements.txt and
requirements-slim.txt (the latter feeds the test-slim job, whose
test_slim_compat imports roboflow.cli) so `make check_code_quality`, the build
matrix, and test-slim all pass and the CLI keeps working.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent fdbc0d8 commit 167cf90
2 files changed
Lines changed: 11 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
10 | 14 | | |
11 | 15 | | |
12 | 16 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
0 commit comments