Repository navigation
⬆️ Upgrade Starlette to >=0.37.2,<0.38.0, remove Starlette filterwarning for internal tests - #11266
Conversation
|
should be 0.37.1 because of a bug in starlette 0.37.0 I think. |
|
Thanks for putting this together! Would love to see this merged as it also fixes the issue discussed here |
|
I noticed theres a few other PR's sprouting up that are attempting to make similar changes: |
Approved, sorry for the delay. |
|
thanks for the help here @alfreedom! @nothielf are we good to merge or waiting on anything else? Sorry to keep bumping this, we are being forced to upgrade for a vulnerability that comes with deadlines from compliance. |
|
i dont have write access to merge. but it seems is good to go :) |
|
@alfreedom are you able to merge it? |
Nope, just maintainers have write access, maybe @alejsdev |
| ] | ||
| dependencies = [ | ||
| "starlette>=0.36.3,<0.37.0", | ||
| "starlette>=0.37.2,<0.38.0", |
There was a problem hiding this comment.
This should be good?
| "starlette>=0.37.2,<0.38.0", | |
| "starlette>=0.36.3,<0.38.0", |
There was a problem hiding this comment.
No, minimal version should NOT be less than 0.37.2, as it fixes DeprecationWarning described in the first post.
Also, 0.37.1 fixes another, very important regression: see #11320.
|
@Kludex sorry to bug you on this but is this something you can merge by chance? Not sure who has the ability to merge for FastAPI |
|
Only @tiangolo . |
|
I would like to see this get merged soon as well. Like others, I'm trying to update FastAPI to resolve CVE-2024-24762, but am running into the |
|
You can just bump Python-multipart. |
|
Great, thanks for the contribution @nothielf! 🚀 And thanks all for the comments. ☕ This will be available in FastAPI |
…ing for internal tests (fastapi#11266)
…ion warning from httpx>=0.27 See fastapi/fastapi#11266 for the details
Upgrading Starlette should solve
When running tests using TestClient
Also, removed filterwarning for method parameter. That was removed on Starlette 0.35.1