Skip to content

Python: Update pydantic requirement from !=2.10.0,!=2.10.1,!=2.10.2,!=2.10.3,<2.13,>=2.0 to >=2.0,!=2.10.0,!=2.10.1,!=2.10.2,!=2.10.3,<2.14 in /python#13864

Open
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/pip/python/pydantic-gte-2.0-and-neq-2.10.0-and-neq-2.10.1-and-neq-2.10.2-and-neq-2.10.3-and-lt-2.14
Open

Python: Update pydantic requirement from !=2.10.0,!=2.10.1,!=2.10.2,!=2.10.3,<2.13,>=2.0 to >=2.0,!=2.10.0,!=2.10.1,!=2.10.2,!=2.10.3,<2.14 in /python#13864
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/pip/python/pydantic-gte-2.0-and-neq-2.10.0-and-neq-2.10.1-and-neq-2.10.2-and-neq-2.10.3-and-lt-2.14

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot bot commented on behalf of github Apr 13, 2026

Updates the requirements on pydantic to permit the latest version.

Release notes

Sourced from pydantic's releases.

v2.13.0 2026-04-13

v2.13.0 (2026-04-13)

The highlights of the v2.13 release are available in the blog post. Several minor changes (considered non-breaking changes according to our versioning policy) are also included in this release. Make sure to look into them before upgrading.

This release contains the updated pydantic.v1 namespace, matching version 1.10.26 which includes support for Python 3.14.

What's Changed

See the beta releases for all changes sinces 2.12.

Packaging

  • Add zizmor for GitHub Actions workflow linting by @​Viicos in #13039
  • Update jiter to v0.14.0 to fix a segmentation fault on musl Linux by @​Viicos in #13064

New Features

  • Allow default factories of private attributes to take validated model data by @​Viicos in #13013

Changes

Fixes

  • Change type of Any when synthesizing _build_sources for BaseSettings.__init__() signature in the mypy plugin by @​Viicos in #13049
  • Fix model equality when using runtime extra configuration by @​Viicos in #13062

New Contributors

Full Changelog: pydantic/pydantic@v2.12.0...v2.13.0

Changelog

Sourced from pydantic's changelog.

v2.13.0 (2026-04-13)

GitHub release

The highlights of the v2.13 release are available in the blog post. Several minor changes (considered non-breaking changes according to our versioning policy) are also included in this release. Make sure to look into them before upgrading.

This release contains the updated pydantic.v1 namespace, matching version 1.10.26 which includes support for Python 3.14.

What's Changed

See the beta releases for all changes sinces 2.12.

New Features

  • Allow default factories of private attributes to take validated model data by @​Viicos in #13013

Changes

Fixes

  • Change type of Any when synthesizing _build_sources for BaseSettings.__init__() signature in the mypy plugin by @​Viicos in #13049
  • Fix model equality when using runtime extra configuration by @​Viicos in #13062

Packaging

  • Add zizmor for GitHub Actions workflow linting by @​Viicos in #13039
  • Update jiter to v0.14.0 to fix a segmentation fault on musl Linux by @​Viicos in #13064

New Contributors

v2.13.0b3 (2026-03-31)

GitHub release

What's Changed

New Features

Changes

... (truncated)

Commits

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 rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will 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 version will 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 dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Updates the requirements on [pydantic](https://github.com/pydantic/pydantic) to permit the latest version.
- [Release notes](https://github.com/pydantic/pydantic/releases)
- [Changelog](https://github.com/pydantic/pydantic/blob/main/HISTORY.md)
- [Commits](pydantic/pydantic@v2.0...v2.13.0)

---
updated-dependencies:
- dependency-name: pydantic
  dependency-version: 2.13.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file. Used by Dependabot. python Pull requests for the Python Semantic Kernel labels Apr 13, 2026
@dependabot dependabot bot requested a review from a team as a code owner April 13, 2026 22:42
@github-actions github-actions bot changed the title Update pydantic requirement from !=2.10.0,!=2.10.1,!=2.10.2,!=2.10.3,<2.13,>=2.0 to >=2.0,!=2.10.0,!=2.10.1,!=2.10.2,!=2.10.3,<2.14 in /python Python: Update pydantic requirement from !=2.10.0,!=2.10.1,!=2.10.2,!=2.10.3,<2.13,>=2.0 to >=2.0,!=2.10.0,!=2.10.1,!=2.10.2,!=2.10.3,<2.14 in /python Apr 13, 2026
Copy link
Copy Markdown
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Automated Code Review

Reviewers: 4 | Confidence: 94%

✓ Correctness

This diff relaxes the upper bound of the pydantic dependency from <2.13 to <2.14, allowing pydantic 2.13.x to be installed. The change is minimal and low-risk. The codebase uses standard pydantic v2 APIs (ConfigDict, BaseModel, Field, etc.) with no version-specific workarounds that would break under pydantic 2.13.x. The excluded versions (2.10.0–2.10.3) and lower bound (>=2.0) remain unchanged. The lock file currently pins pydantic at 2.11.10 and is not updated in this diff, which is expected — it would be regenerated separately.

✓ Security Reliability

This is a minimal, low-risk change that raises the upper-bound constraint on pydantic from <2.13 to <2.14, allowing the project to accept pydantic 2.13.x releases. The existing lower bound (>=2.0) and excluded bugy versions (2.10.0–2.10.3) are preserved. No security or reliability issues identified.

✓ Test Coverage

This PR bumps the pydantic upper version bound from <2.13 to <2.14, allowing pydantic 2.13.x to be used. The change is minimal and low-risk. There are no dedicated pydantic version compatibility tests in the repository; instead, pydantic models are exercised extensively throughout the existing unit and integration test suites (serialization, schema building, function decorators, agents, connectors, etc.), which serve as the de facto compatibility regression suite. While it would be ideal to have a CI matrix that explicitly tests against pydantic 2.13.x to catch any behavioral changes in the new minor version, the existing test coverage is broad enough that running the full test suite with pydantic 2.13.x installed would provide reasonable confidence. No blocking issues found.

✓ Design Approach

The change simply relaxes the pydantic upper-bound constraint from <2.13 to <2.14, allowing the 2.13.x release series. The existing exclusion list for known-bad 2.10.x releases is preserved. There are no design concerns: expanding a version ceiling is the correct mechanism to unblock a new compatible release, and the pattern of using explicit exclusions for regression-inducing releases is sound.

Suggestions

  • Consider adding a CI matrix entry (or nox/tox environment) that explicitly installs the newest allowed pydantic version (currently 2.13.x) to ensure the test suite passes against it before merging. This would catch any subtle incompatibilities introduced in pydantic minor releases rather than relying solely on the default resolved version.

Automated review by dependabot[bot]'s agents

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file. Used by Dependabot. python Pull requests for the Python Semantic Kernel

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants