Skip to content

Bump pydantic from 2.9.2 to 2.12.5#350

Merged
jonschz merged 2 commits intomasterfrom
dependabot/pip/pydantic-2.12.5
Apr 3, 2026
Merged

Bump pydantic from 2.9.2 to 2.12.5#350
jonschz merged 2 commits intomasterfrom
dependabot/pip/pydantic-2.12.5

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot bot commented on behalf of github Mar 29, 2026

Bumps pydantic from 2.9.2 to 2.12.5.

Release notes

Sourced from pydantic's releases.

v2.12.5 2025-11-26

v2.12.5 (2025-11-26)

This is the fifth 2.12 patch release, addressing an issue with the MISSING sentinel and providing several documentation improvements.

The next 2.13 minor release will be published in a couple weeks, and will include a new polymorphic serialization feature addressing the remaining unexpected changes to the serialize as any behavior.

  • Fix pickle error when using model_construct() on a model with MISSING as a default value by @​ornariece in #12522.
  • Several updates to the documentation by @​Viicos.

Full Changelog: pydantic/pydantic@v2.12.4...v2.12.5

v2.12.4 2025-11-05

v2.12.4 (2025-11-05)

This is the fourth 2.12 patch release, fixing more regressions, and reverting a change in the build() method of the AnyUrl and Dsn types.

This patch release also fixes an issue with the serialization of IP address types, when serialize_as_any is used. The next patch release will try to address the remaining issues with serialize as any behavior by introducing a new polymorphic serialization feature, that should be used in most cases in place of serialize as any.

Full Changelog: pydantic/pydantic@v2.12.3...v2.12.4

v2.12.3 2025-10-17

v2.12.3 (2025-10-17)

What's Changed

This is the third 2.13 patch release, fixing issues related to the FieldInfo class, and reverting a change to the supported after model validator function signatures.

... (truncated)

Changelog

Sourced from pydantic's changelog.

v2.12.5 (2025-11-26)

GitHub release

This is the fifth 2.12 patch release, addressing an issue with the MISSING sentinel and providing several documentation improvements.

The next 2.13 minor release will be published in a couple weeks, and will include a new polymorphic serialization feature addressing the remaining unexpected changes to the serialize as any behavior.

  • Fix pickle error when using model_construct() on a model with MISSING as a default value by @​ornariece in #12522.
  • Several updates to the documentation by @​Viicos.

v2.12.4 (2025-11-05)

GitHub release

This is the fourth 2.12 patch release, fixing more regressions, and reverting a change in the build() method of the AnyUrl and Dsn types.

This patch release also fixes an issue with the serialization of IP address types, when serialize_as_any is used. The next patch release will try to address the remaining issues with serialize as any behavior by introducing a new polymorphic serialization feature, that should be used in most cases in place of serialize as any.

v2.12.3 (2025-10-17)

GitHub release

... (truncated)

Commits
  • bd2d0dd Prepare release v2.12.5
  • 7d0302e Document security implications when using create_model()
  • e9ef980 Fix typo in Standard Library Types documentation
  • f2c20c0 Add pydantic-docs dev dependency, make use of versioning blocks
  • a76c1aa Update documentation about JSON Schema
  • 8cbc72c Add documentation about custom __init__()
  • 99eba59 Add additional test for FieldInfo.get_default()
  • c710769 Special case MISSING sentinel in smart_deepcopy()
  • 20a9d77 Do not delete mock validator/serializer in rebuild_dataclass()
  • c86515a Update parts of the model and revalidate_instances documentation
  • Additional commits viewable in compare view

@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update python code labels Mar 29, 2026
Copy link
Copy Markdown
Collaborator

@disinvite disinvite left a comment

Choose a reason for hiding this comment

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

See also #333. It should just be pydantic==2.12.5 with no version qualifier if we go for this.

@dependabot dependabot bot force-pushed the dependabot/pip/pydantic-2.12.5 branch from 0600b53 to 739ff5a Compare April 2, 2026 07:23
@jonschz
Copy link
Copy Markdown
Collaborator

jonschz commented Apr 2, 2026

The tests appear to pass for all Python versions in our CI. I would consider that to be good enough to migrate everything to 2.12.5. Also, pydantic claims support down to Python 3.9, so I don't see a reason not to upgrade.

@dependabot dependabot bot force-pushed the dependabot/pip/pydantic-2.12.5 branch from 739ff5a to 7febaa5 Compare April 2, 2026 07:57
@jonschz jonschz requested a review from disinvite April 2, 2026 07:58
dependabot bot and others added 2 commits April 3, 2026 09:22
Bumps [pydantic](https://github.com/pydantic/pydantic) from 2.9.2 to 2.12.5.
- [Release notes](https://github.com/pydantic/pydantic/releases)
- [Changelog](https://github.com/pydantic/pydantic/blob/main/HISTORY.md)
- [Commits](pydantic/pydantic@v2.9.2...v2.12.5)

---
updated-dependencies:
- dependency-name: pydantic
  dependency-version: 2.12.5
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@jonschz jonschz force-pushed the dependabot/pip/pydantic-2.12.5 branch from 13fdaaa to 1f0dce6 Compare April 3, 2026 07:22
@jonschz jonschz enabled auto-merge (squash) April 3, 2026 07:22
@jonschz jonschz merged commit 1409a4d into master Apr 3, 2026
36 checks passed
@jonschz jonschz deleted the dependabot/pip/pydantic-2.12.5 branch April 3, 2026 07:24
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 python Pull requests that update python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants