build(deps): update dependency pydantic to ~=2.14.0 (main)
Metadata
Current evaluation
Merged Renovate PR #493 updating pydantic dependency from 2.13.5 to 2.14.0.
Resolution: closed resolved
Reason: The PR was merged, successfully applying the pydantic version bump to the main branch.
Evaluated by: mr-cal-bot
No scores available.
Issue body
This PR contains the following updates:
| Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) |
|---|---|---|---|
| [pydantic](https://redirect.github.com/pydantic/pydantic) ([changelog](https://pydantic.dev/docs/validation/latest/get-started/changelog/)) | `~=2.13.5` → `~=2.14.0` |  |  |
---
### Release Notes
<details>
<summary>pydantic/pydantic (pydantic)</summary>
### [`v2.14.0`](https://redirect.github.com/pydantic/pydantic/blob/HEAD/HISTORY.md#v2140-2026-10-08)
[Compare Source](https://redirect.github.com/pydantic/pydantic/compare/v2.13.5...v2.14.0)
[GitHub release](https://redirect.github.com/pydantic/pydantic/releases/tag/v2.14.0)
##### What's Changed
The highlights of the v2.14 release are available in the [blog post](https://pydantic.dev/articles/pydantic-v2-14-release).
Several minor changes (considered non-breaking changes according to our [versioning policy](https://pydantic.dev/docs/validation/2.14/get-started/version-policy/#pydantic-v2))
are also included in this release. Make sure to look into them before upgrading.
This release drops support for Python 3.9 and adds support for Python 3.15.
##### New Features
- Add support for `multiple_of` constraint in `fraction` and `timedelta` core schemas by [@​Viicos](https://redirect.github.com/Viicos) in [#​13873](https://redirect.github.com/pydantic/pydantic/pull/13873)
- Add `__namespace__` parameter to `create_model()` by [@​Viicos](https://redirect.github.com/Viicos) in [#​13895](https://redirect.github.com/pydantic/pydantic/pull/13895)
##### Changes
- Add an `ordered-dict` core schema by [@​Viicos](https://redirect.github.com/Viicos) in [#​13796](https://redirect.github.com/pydantic/pydantic/pull/13796)
- Add a `counter` core schema by [@​Viicos](https://redirect.github.com/Viicos) in [#​13824](https://redirect.github.com/pydantic/pydantic/pull/13824)
- Do not mutate `model_config` attribute by [@​Viicos](https://redirect.github.com/Viicos) in [#​13825](https://redirect.github.com/pydantic/pydantic/pull/13825)
- Reject newlines in `NameEmail` validation by [@​Viicos](https://redirect.github.com/Viicos) in [#​13897](https://redirect.github.com/pydantic/pydantic/pull/13897)
##### Fixes
- Call enum constructors in both validation modes by [@​Viicos](https://redirect.github.com/Viicos) in [#​13792](https://redirect.github.com/pydantic/pydantic/pull/13792)
- Fix documentation examples not raising and remove unused `string_sub_type` unused error code by [@​Viicos](https://redirect.github.com/Viicos) in [#​13821](https://redirect.github.com/pydantic/pydantic/pull/13821)
- Catch `OverflowError` during `ByteSize` validation by [@​Viicos](https://redirect.github.com/Viicos) in [#​13850](https://redirect.github.com/pydantic/pydantic/pull/13850)
- Require `multiple_of` constraints to be positive by [@​Viicos](https://redirect.github.com/Viicos) in [#​13862](https://redirect.github.com/pydantic/pydantic/pull/13862)
- Always pop field name and model type stacks during schema generation by [@​saquibjawedbit](https://redirect.github.com/saquibjawedbit) in [#​13859](https://redirect.github.com/pydantic/pydantic/pull/13859)
- Handle `TypeError` gracefully during docstring extraction by [@​Viicos](https://redirect.github.com/Viicos) in [#​13874](https://redirect.github.com/pydantic/pydantic/pull/13874)
- Fix config propagation of stdlib dataclasses and `TypedDict`s in JSON Schema by [@​Viicos](https://redirect.github.com/Viicos) in [#​13891](https://redirect.github.com/pydantic/pydantic/pull/13891)
- Don't apply `ser_json_timedelta` to all datetime types in serialization inference by [@​Viicos](https://redirect.github.com/Viicos) in [#​13892](https://redirect.github.com/pydantic/pydantic/pull/13892)
- Encode JSON Schema defaults with a consistent configuration by [@​Viicos](https://redirect.github.com/Viicos) in [#​13893](https://redirect.github.com/pydantic/pydantic/pull/13893)
- Propagate `init` and `kw_only=False` from `Field()` to stdlib dataclass fields by [@​Viicos](https://redirect.github.com/Viicos) in [#​13898](https://redirect.github.com/pydantic/pydantic/pull/13898)
- Respect propagated extra config in the JSON Schema of stdlib dataclasses by [@​Viicos](https://redirect.github.com/Viicos) in [#​13899](https://redirect.github.com/pydantic/pydantic/pull/13899)
- Handle OS errors during `ZoneInfo` validation by [@​Viicos](https://redirect.github.com/Viicos) in [#​13912](https://redirect.github.com/pydantic/pydantic/pull/13912)
- Handle exceptions during `Decimal` validation by [@​Viicos](https://redirect.github.com/Viicos) in [#​13940](https://redirect.github.com/pydantic/pydantic/pull/13940)
- Rebuild incomplete types during serialization inference by [@​Viicos](https://redirect.github.com/Viicos) in [#​13922](https://redirect.github.com/pydantic/pydantic/pull/13922)
- Reject large exponents in `Fraction` validation by [@​Viicos](https://redirect.github.com/Viicos) in [#​13944](https://redirect.github.com/pydantic/pydantic/pull/13944)
- Avoid validating URL prefix multiple times in multi host URLs by [@​Viicos](https://redirect.github.com/Viicos) in [#​13945](https://redirect.github.com/pydantic/pydantic/pull/13945)
##### New Contributors
- [@​saquibjawedbit](https://redirect.github.com/saquibjawedbit) made their first contribution in [#​13859](https://redirect.github.com/pydantic/pydantic/pull/13859)
</details>
---
### Configuration
📅 **Schedule**: (in timezone Etc/UTC)
- Branch creation
- "every weekend"
- Automerge
- At any time (no schedule defined)
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
---
This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/canonical/imagecraft).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4xMzQuMSIsInVwZGF0ZWRJblZlciI6IjQ0LjEzNC4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJQUjogRGVwZW5kZW5jaWVzIl19-->
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | closed resolved | Merged Renovate PR #493 updating pydantic dependency from 2.13.5 to 2.14.0. |
Update history
| Date | Change |
|---|---|
| merged | |
| created |
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #466 build(deps): update dependency pydantic to ~=2.13.5 (main) | imagecraft | merged | Merged Renovate PR updating pydantic from ~=2.12.5 to ~=2.13.5 in pyproject.toml; commit b865a31. | |
| #2177 build(deps): update dependency pydantic-core to v2.29.0 (main) | charmcraft | closed | Renovate PR #2177 was closed unmerged, so pydantic-core 2.29.0 was not adopted; Renovate ignored that version and would retry with a newer release. | |
| #84 build(deps): update dependency mypy to v2 (main) | craft-artifacts | merged | Merged Renovate PR #84, updating mypy from ~=1.20.0 to ~=2.1.0 in dependency groups and the lockfile via commit f1142e7. | |
| #455 build(deps): update dependency mypy to v2 (main) | craft-cli | merged | Merged Renovate PR #455 into main, updating mypy from 1.20.2 to 2.1.0 in commit ef7bd49. | |
| #2314 build(deps): update dependency pydantic to ~=2.11,<2.12 (main) - autoclosed | charmcraft | closed | Renovate PR #2314 was autoclosed unmerged after 471 days; the Pydantic 2.11 update was not shipped, with snap-build, snap tests, and diff-schema failing. | |
| #5173 build(deps): update pydantic etc. (main) | snapcraft | merged | Merged #5173 via commit 2973439a0, updating pydantic 2.9.2→2.10.3 and pydantic-core 2.23.4→2.27.1. | |
| #166 ci(deps): prevent renovate from updating pydantic | craft-application | merged | Merged PR #166 updated CI and dependency configuration to prevent Renovate from updating Pydantic; approved by two reviewers with no unresolved comments. | |
| #1999 build(deps): update pydantic etc. (main) | charmcraft | closed | Renovate PR #1999 proposed Pydantic 2.10.2 and pydantic-core 2.27.1, but was closed unmerged after 664 days of inactivity; neither version landed. | |
| #2408 build(deps): update bugfixes (main) | charmcraft | merged | Renovate PR #2408 merged into main via commit f0c585b8, bumping ruff-pre-commit v0.12.4->v0.12.7 and pydantic-kitbash 0.0.6->0.0.7 in pyproject.toml. | |
| #441 build(deps): update bugfixes (main) | craft-cli | merged | Merged Renovate PR #441 in commit 8379793, updating ruff-pre-commit to v0.15.15 and mypy to v0.20.2. |