Commit 6bc3764
committed
[FIX] fastapi: bump required version to 0.120.0
Recent merged changes in a5bae2b changed `status.HTTP_422_UNPROCESSABLE_ENTITY`
to `status.HTTP_422_UNPROCESSABLE_CONTENT` in order to supress a deprecation
warning emitted by the `starlette` library.
However, older versions of `starlette` will simply break with this change.
```
Module 'starlette.status' has no attribute 'HTTP_422_UNPROCESSABLE_CONTENT'.
Did you mean: 'HTTP_422_UNPROCESSABLE_ENTITY'?
```
For this reason, we bump the minimum required version of `fastapi` to 0.120.0,
which consumes newer versions of `starlette` where this is not an issue.1 parent e8d767d commit 6bc3764
4 files changed
Lines changed: 51 additions & 61 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | 1 | | |
6 | 2 | | |
7 | 3 | | |
| |||
17 | 13 | | |
18 | 14 | | |
19 | 15 | | |
20 | | - | |
| 16 | + | |
21 | 17 | | |
22 | 18 | | |
23 | 19 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
0 commit comments