Replies: 6 comments
-
Yes, this is one of the reasons FastAPI's current code base uses Starlette 17. This fix is applied for the update merge request. |
Beta Was this translation helpful? Give feedback.
-
Greetings Can I suggest that you state on the the home page that you use Starlette 17 and that users must be carefull when doing an upgrade to their python packages I upgraged my environment, then everything broke till I reinstalled fastapi[all] and I noticed that Starlette is being downgraded to 17 |
Beta Was this translation helpful? Give feedback.
-
The projects dependencies are listed in the pyproject.toml. Are you not using a vituralenv ? or perhaps listing Starlette along with FastAPI as a dependency? |
Beta Was this translation helpful? Give feedback.
-
Greetings
I used pip to install FastAPI, (with all optional dependencies) then later
I did an update to all packages. That is when I noticed that my
application was failing. I then did a reinstall of FastAPI and that is
when I noticed the downgrade. I checked the home page but did not see the
requirement, it was only when I searched git that I saw the post and the
reply with the requirement
That is why I made the suggestion that it be listed on the homepage
Hope this helps
Regards
…On Fri, 22 Apr 2022, 15:56 Jordan Gould, ***@***.***> wrote:
The projects dependencies are listed in the pyproject.toml.
Are you not using a vituralenv ? or perhaps listing Starlette along with
FastAPI as a dependency?
—
Reply to this email directly, view it on GitHub
<#4800 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AHYI5DM27RPDW4DL7POQMW3VGKVYFANCNFSM5TRCURZQ>
.
You are receiving this because you commented.Message ID:
***@***.***>
--
This message and attachments are subject to a disclaimer.
Please refer to
http://upnet.up.ac.za/services/it/documentation/docs/004167.pdf
<http://upnet.up.ac.za/services/it/documentation/docs/004167.pdf> for
full
details.
|
Beta Was this translation helpful? Give feedback.
-
@syldman can you close the issue -> https://github.com/tiangolo/fastapi/releases/tag/0.76.0 |
Beta Was this translation helpful? Give feedback.
-
Example Code
the above fails as https://github.com/encode/starlette/blob/master/starlette/responses.py requires status_code to be INT
FastAPI Version
0.75.1
Beta Was this translation helpful? Give feedback.
All reactions