Commit 9c4b473
committed
Fix typer conflict with click 8.2.1
Typer 0.9.4 is not compatible with click 8.2.1 due to a missing
positional argument in rich_utils.py:370, so update Typer to the latest
version.
This introduced a breaking change, as the rich_utils module imported to
override the dim text in help messages is now lazy-loaded [1]. The
solution is to directly import rich_utils from typer.
Typer was not updated due to using the caret requirement [2]. The
constraint stays for now, considering potential breaking changes
introduced in new versions. However, the constraint on lief changes
~=0.16, a compatible release [3] allowing >=0.16.0 and <1.0.0.
[1]: fastapi/typer#1128
[2]: https://python-poetry.org/docs/dependency-specification/#caret-requirements1 parent 4b6bb18 commit 9c4b473
3 files changed
+237
-72
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | | - | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
0 commit comments