chore(deps)(deps): Bump pydantic from 2.10.3 to 2.12.4 in /backend#148
chore(deps)(deps): Bump pydantic from 2.10.3 to 2.12.4 in /backend#148dependabot[bot] wants to merge 1 commit into
Conversation
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
farelens-api | bf66a60 | Commit Preview URL Branch Preview URL |
Dec 08 2025, 10:35 AM |
|
/gemini review and address why the two checks failed |
|
@codex review and address why the two checks failed |
There was a problem hiding this comment.
Code Review
This pull request updates pydantic from version 2.10.3 to 2.12.4. This is a minor version bump that includes new features and bug fixes. I've left a comment highlighting a potential breaking change in pydantic v2.12 that you should be aware of. Please ensure the application is thoroughly tested after this upgrade to catch any potential regressions.
| fastapi==0.115.5 | ||
| uvicorn[standard]==0.38.0 | ||
| pydantic==2.10.3 | ||
| pydantic==2.12.4 |
There was a problem hiding this comment.
Heads up: pydantic v2.12 introduced changes to the behavior of serialize_as_any. If your codebase relies on serialize_as_any=True, this update may introduce breaking changes in serialization logic. It's recommended to thoroughly test model serialization to prevent unexpected output. The release notes mention that a new polymorphic serialization feature is planned to replace serialize_as_any in many cases.
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| fastapi==0.115.5 | ||
| uvicorn[standard]==0.38.0 | ||
| pydantic==2.10.3 | ||
| pydantic==2.12.4 | ||
| pydantic-settings==2.6.1 |
There was a problem hiding this comment.
Keep pydantic within FastAPI’s supported range
Bumping pydantic to 2.12.4 conflicts with fastapi==0.115.5, which still declares an upper bound of <2.12. When the CI jobs run pip install -r requirements.txt, dependency resolution fails before linting or tests can start, which explains both failing checks. Either revert the bump or upgrade FastAPI (and any other consumers) to a version that allows 2.12.x.
Useful? React with 👍 / 👎.
bdcacf3 to
8028e37
Compare
Bumps [pydantic](https://github.com/pydantic/pydantic) from 2.10.3 to 2.12.4. - [Release notes](https://github.com/pydantic/pydantic/releases) - [Changelog](https://github.com/pydantic/pydantic/blob/v2.12.4/HISTORY.md) - [Commits](pydantic/pydantic@v2.10.3...v2.12.4) --- updated-dependencies: - dependency-name: pydantic dependency-version: 2.12.4 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
8028e37 to
bf66a60
Compare
Bumps pydantic from 2.10.3 to 2.12.4.
Release notes
Sourced from pydantic's releases.
... (truncated)
Changelog
Sourced from pydantic's changelog.
... (truncated)
Commits
5c842dfPrepare release v2.12.4c678a71Bumppydantic-coreto v2.41.5a7cd292Bumpcloudpickleto v3.1.221f6278Bump actions/setup-node from 5 to 68d6be8fBump astral-sh/setup-uv from 6 to 717865eaBump actions/upload-artifact from 4 to 590ad0afBump actions/download-artifact from 5 to 618e6672Drop testing under PyPy 3.9650215bDocument workaround forMongoDsndefault porte326790Fix example of forbytes_invalid_encodingvalidation errorYou 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)