deps(deps): bump the fastapi group across 1 directory with 2 updates
Type: Pull Request
State: Open
Association: Unknown
Comments: 1
(8 months ago)
(8 months ago)
devops-thiago
Updates the requirements on fastapi and uvicorn to permit the latest version.
Updates fastapi to 0.119.0
Release notes
Sourced from fastapi's releases.
0.119.0
FastAPI now (temporarily) supports both Pydantic v2 models and
pydantic.v1models at the same time in the same app, to make it easier for any FastAPI apps still using Pydantic v1 to gradually but quickly migrate to Pydantic v2.from fastapi import FastAPI from pydantic import BaseModel as BaseModelV2 from pydantic.v1 import BaseModelclass Item(BaseModel):
name: str
description: str | None = Noneclass ItemV2(BaseModelV2):
title: str
summary: str | None = Noneapp = FastAPI()
@app.post("/items/", response_model=ItemV2)
def create_item(item: Item):
return {"title": item.name, "summary": item.description}
Adding this feature was a big effort with the main objective of making it easier for the few applications still stuck in Pydantic v1 to migrate to Pydantic v2.
And with this, support for Pydantic v1 is now deprecated and will be removed from FastAPI in a future version soon.
Note: have in mind that the Pydantic team already stopped supporting Pydantic v1 for recent versions of Python, starting with Python 3.14.
You can read in the docs more about how to Migrate from Pydantic v1 to Pydantic v2.
Features
- ✨ Add support for
from pydantic.v1 import BaseModel, mixed Pydantic v1 and v2 models in the same app. PR #14168 by@tiangolo.
Commits
2e721e1🔖 Release version 0.119.0fc7a068📝 Update release notes3a3879b📝 Update release notesd34918a✨ Add support forfrom pydantic.v1 import BaseModel, mixed Pydantic v1 and ...352dbef🔖 Release version 0.118.396e7d6e📝 Update release notes3611c3f⬆️ Add support for Python 3.14 (#14165)942fce3🔖 Release version 0.118.213b067c📝 Update release notes185cecd🐛 Fix tagged discriminated union not recognized as body field (#12942)- Additional commits viewable in compare view
Updates uvicorn to 0.38.0
Release notes
Sourced from uvicorn's releases.
Version 0.38.0
What's Changed
- Support Python 3.14 by
@Kludexin Kludex/uvicorn#2723
New Contributors
@NGANAMODEIJuniormade their first contribution in Kludex/uvicorn#2713Full Changelog: https://github.com/Kludex/uvicorn/compare/0.37.0...0.38.0
Changelog
Sourced from uvicorn's changelog.
0.38.0 (October 18, 2025)
Added
- Support Python 3.14 (#2723)
0.37.0 (September 23, 2025)
Added
0.36.1 (September 23, 2025)
Fixed
- Raise an exception when calling removed
Config.setup_event_loop()(#2709)0.36.0 (September 20, 2025)
Added
- Support custom IOLOOPs (#2435)
- Allow to provide importable string in
--http,--wsand--loop(#2658)0.35.0 (June 28, 2025)
Added
- Add
WebSocketsSansIOProtocol(#2540)Changed
- Refine help message for option
--proxy-headers(#2653)0.34.3 (June 1, 2025)
Fixed
- Don't include
cwd()when non-empty--reload-dirsis passed (#2598)- Apply
get_client_addrformatting to WebSocket logging (#2636)0.34.2 (April 19, 2025)
Fixed
- Flush stdout buffer on Windows to trigger reload (#2604)
0.34.1 (April 13, 2025)
... (truncated)
Commits
3850ad6Version 0.38.0 (#2733)9b3f17aSupport Python 3.14 (#2723)ce79f95Revert "Add Marcelo Trylesinski to the license (#2699)" (#2730)dbf8797docs: add social icons (#2728)58f28beAdd section about event loop (#2725)93d9510Bump docs dependencies (#2724)9b1c6c4Move Marcelo Trylesinski to maintainers inpyproject.toml(#2719)57a61d8Add discord to README (#2718)7ef5f9fchore(deps): bump astral-sh/setup-uv from 6.7.0 to 6.8.0 (#2717)6d26d88Update pyproject.toml for PEP639 compliance (#2713)- See full diff in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually 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 <dependency name> major versionwill close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)@dependabot ignore <dependency name> minor versionwill close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)@dependabot ignore <dependency name>will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)@dependabot unignore <dependency name>will remove all of the ignore conditions of the specified dependency@dependabot unignore <dependency name> <ignore condition>will remove the ignore condition of the specified dependency and ignore conditions
Technical Details
| ID: | 10331788 |
| UUID: | 3531964718 |
| Node ID: | PR_kwDOP5TZt86um0JM |
| Host: | GitHub |
| Repository: | devops-thiago/otel-example-python |