PrefectHQ
prefect
BlogDocsChangelog

update typer minimum to 0.16.0 for click 8.2+ compatibility

#19269Merged
Comparing
update-typer-minimum
(
2b97f5c
) with
main
(
8a37e7b
)
CodSpeed Performance Gauge
0%
Untouched
2
Ignored
6

Benchmarks

Passed

bench_task_decorator
benches/bench_tasks.py
CodSpeed Performance Gauge
0%
457.5 µs457.7 µs
bench_import_prefect_flow
benches/bench_import.py
CodSpeed Performance Gauge
0%
1.4 s1.4 s

Ignored

bench_task_call
benches/bench_tasks.py
Ignored
CodSpeed Performance Gauge
-2%
163.2 ms166.6 ms
bench_import_prefect
benches/bench_import.py
Ignored
CodSpeed Performance Gauge
0%
1 s1 s
bench_flow_call[options1]
benches/bench_flows.py
Ignored
CodSpeed Performance Gauge
0%
107.3 ms107.5 ms
bench_flow_decorator
benches/bench_flows.py
Ignored
CodSpeed Performance Gauge
+3%
6.4 ms6.2 ms
bench_task_submit
benches/bench_tasks.py
Ignored
CodSpeed Performance Gauge
-35%
4.6 ms7.1 ms
bench_flow_call[options0]
benches/bench_flows.py
Ignored
CodSpeed Performance Gauge
-3%
164.3 ms170 ms

Commits

Click on a commit to change the comparison range
Base
main
8a37e7b
-0.06%
update typer minimum to 0.16.0 for click 8.2+ compatibility Prefect 3.4.24 requires typer>=0.16.0 to work with click 8.2+. The current constraint (typer>=0.12.0) allows dependency solvers to pick typer 0.12.5, which fails with click 8.3.0: TypeError: Secondary flag is not valid for non-boolean flag. This was discovered while fixing the conda-forge feedstock, where the conda solver was picking typer 0.12.5. Our Docker builds work because uv.lock pins to exactly 0.16.0. Tested combinations: - typer 0.12.5 + click 8.3.0: fails - typer 0.15.0 + click 8.3.0: fails (different error) - typer 0.16.0 + click 8.3.0: works Removed !=0.12.2 exclusion as it's now redundant. Related to #19259
2b97f5c
12 days ago
by zzstoatzz
© 2025 CodSpeed Technology
Home Terms Privacy Docs