- Sponsor
-
Notifications
You must be signed in to change notification settings - Fork 7.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
⬆️ 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 |
@@ -41,7 +41,7 @@ classifiers = [ | |||
"Topic :: Internet :: WWW/HTTP", | |||
] | |||
dependencies = [ | |||
"starlette>=0.36.3,<0.37.0", | |||
"starlette>=0.37.2,<0.38.0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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