Update fastapi requirement from <0.99.0,>=0.75.2 to >=0.75.2,<0.110.0
Updates the requirements on fastapi to permit the latest version.
Release notes
Sourced from fastapi's releases.
0.109.0
Features
Upgrades
- ⬆️ Upgrade Starlette to >=0.35.0,<0.36.0. PR #10938 by
@tiangolo.Docs
- ✏️ Fix typo in
docs/en/docs/alternatives.md. PR #10931 by@s111d.- 📝 Replace
usernameindocs_src/security/tutorial007code examples. PR #10649 by@nilslindemann.- 📝 Add VS Code tutorial link. PR #10592 by
@nilslindemann.- 📝 Add notes about Pydantic v2's new
.model_dump(). PR #10929 by@tiangolo.- 📝 Fix broken link in
docs/en/docs/tutorial/sql-databases.md. PR #10765 by@HurSungYun.- 📝 Add External Link: FastAPI application monitoring made easy. PR #10917 by
@tiangolo.- ✨ Generate automatic language names for docs translations. PR #5354 by
@jakul.- ✏️ Fix typos in
docs/en/docs/alternatives.mdanddocs/en/docs/tutorial/dependencies/index.md. PR #10906 by@s111d.- ✏️ Fix typos in
docs/en/docs/tutorial/dependencies/dependencies-with-yield.md. PR #10834 by@Molkree.- 📝 Add article: "Building a RESTful API with FastAPI: Secure Signup and Login Functionality Included". PR #9733 by
@dxphilo.- 📝 Add warning about lifecycle events with
AsyncClient. PR #4167 by@andrew-chang-dewitt.- ✏️ Fix typos in
/docs/reference/exceptions.mdand/en/docs/reference/status.md. PR #10809 by@clarencepenz.- ✏️ Fix typo in
openapi-callbacks.md. PR #10673 by@kayjan.- ✏️ Fix typo in
fastapi/routing.py. PR #10520 by@sepsh.- 📝 Replace HTTP code returned in case of existing user error in docs for testing. PR #4482 by
@TristanMarion.- 📝 Add blog for FastAPI & Supabase. PR #6018 by
@theinfosecguy.- 📝 Update example source files for SQL databases with SQLAlchemy. PR #9508 by
@s-mustafa.- 📝 Update code examples in docs for body, replace name
create_itemwithupdate_itemwhen appropriate. PR #5913 by@OttoAndrey.- ✏️ Fix typo in dependencies with yield source examples. PR #10847 by
@tiangolo.Translations
- 🌐 Add Bengali translation for
docs/bn/docs/index.md. PR #9177 by@Fahad-Md-Kamal.- ✏️ Update Python version in
index.mdin several languages. PR #10711 by@tamago3keran.- 🌐 Add Russian translation for
docs/ru/docs/tutorial/request-forms-and-files.md. PR #10347 by@AlertRED.- 🌐 Add Ukrainian translation for
docs/uk/docs/index.md. PR #10362 by@rostik1410.- ✏️ Update Python version in
docs/ko/docs/index.md. PR #10680 by@Eeap.- 🌐 Add Persian translation for
docs/fa/docs/features.md. PR #5887 by@amirilf.- 🌐 Add Chinese translation for
docs/zh/docs/advanced/additional-responses.md. PR #10325 by@ShuibeiC.- 🌐 Fix typos in Russian translations for
docs/ru/docs/tutorial/background-tasks.md,docs/ru/docs/tutorial/body-nested-models.md,docs/ru/docs/tutorial/debugging.md,docs/ru/docs/tutorial/testing.md. PR #10311 by@AlertRED.- 🌐 Add Russian translation for
docs/ru/docs/tutorial/request-files.md. PR #10332 by@AlertRED.- 🌐 Add Chinese translation for
docs/zh/docs/deployment/server-workers.md. PR #10292 by@xzmeng.- 🌐 Add Chinese translation for
docs/zh/docs/deployment/cloud.md. PR #10291 by@xzmeng.- 🌐 Add Chinese translation for
docs/zh/docs/deployment/manually.md. PR #10279 by@xzmeng.- 🌐 Add Chinese translation for
docs/zh/docs/deployment/https.md. PR #10277 by@xzmeng.- 🌐 Add Chinese translation for
docs/zh/docs/deployment/index.md. PR #10275 by@xzmeng.- 🌐 Add German translation for
docs/de/docs/tutorial/first-steps.md. PR #9530 by@fhabers21.- 🌐 Update Turkish translation for
docs/tr/docs/index.md. PR #10444 by@hasansezertasan.- 🌐 Add Chinese translation for
docs/zh/docs/learn/index.md. PR #10479 by@KAZAMA-DREAM.
... (truncated)
Commits
cb95d1c🔖 Release version 0.109.07c1aeb5📝 Update release notes5e58319⬆️ Upgrade Starlette to >=0.35.0,<0.36.0 (#10938)c3e0625📝 Update release notesc46eba8✏️ Fix typo indocs/en/docs/alternatives.md(#10931)5b1e686📝 Update release notes69cb005📝 Replaceemailwithusernameindocs_src/security/tutorial007code exa...0da980c📝 Update release notes135dcba📝 Add VS Code tutorial link (#10592)21145d8📝 Update release notes- Additional commits viewable in compare view
Most Recent Ignore Conditions Applied to This Pull Request
| Dependency Name | Ignore Conditions |
|---|---|
| fastapi | [>= 0.100.a, < 0.101] |
You can trigger a rebase of this PR by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Note Automatic rebases have been disabled on this pull request as it has been open for over 30 days.
Looks like the problem is openapi 3.1.0 support starting in fastapi 0.99.0
@yorickvP Oh yeah, this is all sounding familiar now. I recall the blocker for adopting FastAPI 0.100.0 (and therefore Pydantic 2) is that kin-openapi doesn't support OpenAPI 3.1.0. At the time, I punted on the hopes that would come soon. But now I'm doubtful that'll happen at all.
The only other game in town seems to be libopenapi, but the vibes that project gives off aren't making me eager to switch. I also found this library which I have less of an allergic reaction too, but seems less mature. WDYT?
kin-openapi could be helped along with some sponsoring maybe? https://github.com/getkin/kin-openapi/issues/230#issuecomment-1002659224
@yorickvP Perhaps. Again, I'm not confident that support will land anytime soon, even with sponsorship. Do you think either of the alternatives I mentioned are viable?
Our use of the schema in cog is limited to https://github.com/replicate/cog/blob/main/pkg/cli/predict.go#L170. I think all of these libs should be good enough to support that. I also found another library: https://github.com/swaggest/openapi-go
I don't know if any other parts of replicate parse the schema. The webinterface uses the schema to build a form, so we should check openapi 3.1 support there.
Superseded by #1552.