Commit 9968f9c
# Description
In [This commit that landed in
v0.48.0](Kludex/starlette@40a8147)
starlette changed constants to conform to
[RFC9110](https://www.rfc-editor.org/rfc/rfc9110#name-413-content-too-large).
It's the only [one
affected](Kludex/starlette@40a8147#diff-966c562bff3b11736a75544f42526c942c185b9fe9eb4b7f5a0dabbeca874fa7R180)
that I could find in this codebase.
- [x] Follow the [`CONTRIBUTING`
Guide](https://github.com/a2aproject/a2a-python/blob/main/CONTRIBUTING.md).
- [x] Make your Pull Request title in the
<https://www.conventionalcommits.org/> specification.
- Important Prefixes for
[release-please](https://github.com/googleapis/release-please):
- `fix:` which represents bug fixes, and correlates to a
[SemVer](https://semver.org/) patch.
- `feat:` represents a new feature, and correlates to a SemVer minor.
- `feat!:`, or `fix!:`, `refactor!:`, etc., which represent a breaking
change (indicated by the `!`) and will result in a SemVer major.
- [x] Ensure the tests and linter pass (Run `bash scripts/format.sh`
from the repository root to format)
- [x] Appropriate docs were updated (if necessary)
# Tests
```zsh
uv sync --all-groups
```
Before and after: confirmed that this is fixed.
```zsh
uv run python -W error::DeprecationWarning -c "from a2a.server.apps.jsonrpc.fastapi_app import *"
```
Confirmed that tests worked with
```zsh
uv run pytest
```
# Other
uv.lock currently has
```toml
[[package]]
name = "starlette"
version = "0.50.0"
```
So I don't think the dependency pinning is a breaking change.
---------
Co-authored-by: Holt Skinner <13262395+holtskinner@users.noreply.github.com>
1 parent cdd4a91 commit 9968f9c
1 file changed
Lines changed: 18 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
67 | | - | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
68 | 75 | | |
69 | 76 | | |
70 | 77 | | |
| |||
76 | 83 | | |
77 | 84 | | |
78 | 85 | | |
79 | | - | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
80 | 94 | | |
81 | 95 | | |
82 | 96 | | |
| |||
90 | 104 | | |
91 | 105 | | |
92 | 106 | | |
93 | | - | |
| 107 | + | |
94 | 108 | | |
95 | 109 | | |
96 | 110 | | |
| |||
381 | 395 | | |
382 | 396 | | |
383 | 397 | | |
384 | | - | |
| 398 | + | |
385 | 399 | | |
386 | 400 | | |
387 | 401 | | |
| |||
0 commit comments