build(deps): update dependency pydantic to ~=2.13.5 (main)
Metadata
Current evaluation
Merged Renovate PR updating pydantic from ~=2.12.5 to ~=2.13.5 in pyproject.toml; commit b865a31.
Resolution: closed resolved
Reason: PR #466 was merged as commit b865a31, updating the pydantic dependency in pyproject.toml to ~=2.13.5.
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://docs.pydantic.dev/latest/changelog/)) | `~=2.12.5` → `~=2.13.5` |  |  |
---
### Release Notes
<details>
<summary>pydantic/pydantic (pydantic)</summary>
### [`v2.13.5`](https://redirect.github.com/pydantic/pydantic/compare/v2.13.4...v2.13.5)
[Compare Source](https://redirect.github.com/pydantic/pydantic/compare/v2.13.4...v2.13.5)
### [`v2.13.4`](https://redirect.github.com/pydantic/pydantic/releases/tag/v2.13.4): 2026-05-06
[Compare Source](https://redirect.github.com/pydantic/pydantic/compare/v2.13.3...v2.13.4)
#### v2.13.4 (2026-05-06)
##### What's Changed
##### Packaging
- Bump libc from 0.2.155 to 0.2.185 by [@​Viicos](https://redirect.github.com/Viicos) in [#​13109](https://redirect.github.com/pydantic/pydantic/pull/13109)
- Adapt `pydantic-core` linker flags on macOS by [@​washingtoneg](https://redirect.github.com/washingtoneg) and [@​Viicos](https://redirect.github.com/Viicos) in [#​13147](https://redirect.github.com/pydantic/pydantic/pull/13147)
##### Fixes
- Preserve `RootModel` core metadata by [@​Viicos](https://redirect.github.com/Viicos) in [#​13129](https://redirect.github.com/pydantic/pydantic/pull/13129)
-
**Full Changelog**: <https://github.com/pydantic/pydantic/compare/v2.13.3...v2.13.4>
### [`v2.13.3`](https://redirect.github.com/pydantic/pydantic/blob/HEAD/HISTORY.md#v2133-2026-04-20)
[Compare Source](https://redirect.github.com/pydantic/pydantic/compare/v2.13.2...v2.13.3)
[GitHub release](https://redirect.github.com/pydantic/pydantic/releases/tag/v2.13.3)
##### What's Changed
##### Fixes
- Handle `AttributeError` subclasses with `from_attributes` by [@​Viicos](https://redirect.github.com/Viicos) in [#​13096](https://redirect.github.com/pydantic/pydantic/pull/13096)
### [`v2.13.2`](https://redirect.github.com/pydantic/pydantic/compare/v2.13.1...v2.13.2)
[Compare Source](https://redirect.github.com/pydantic/pydantic/compare/v2.13.1...v2.13.2)
### [`v2.13.1`](https://redirect.github.com/pydantic/pydantic/releases/tag/v2.13.1): 2026-04-15
[Compare Source](https://redirect.github.com/pydantic/pydantic/compare/v2.13.0...v2.13.1)
#### v2.13.1 (2026-04-15)
##### What's Changed
##### Fixes
- Fix `ValidationInfo.data` missing with `model_validate_json()` by [@​davidhewitt](https://redirect.github.com/davidhewitt) in [#​13079](https://redirect.github.com/pydantic/pydantic/pull/13079)
**Full Changelog**: <https://github.com/pydantic/pydantic/compare/v2.13.0...v2.13.1>
### [`v2.13.0`](https://redirect.github.com/pydantic/pydantic/blob/HEAD/HISTORY.md#v2130-2026-04-13)
[Compare Source](https://redirect.github.com/pydantic/pydantic/compare/v2.12.5...v2.13.0)
[GitHub release](https://redirect.github.com/pydantic/pydantic/releases/tag/v2.13.0)
The highlights of the v2.13 release are available in the [blog post](https://pydantic.dev/articles/pydantic-v2-13-release).
Several minor changes (considered non-breaking changes according to our [versioning policy](https://pydantic.dev/docs/validation/2.13/get-started/version-policy/#pydantic-v2))
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](https://redirect.github.com/Viicos) in [#​13013](https://redirect.github.com/pydantic/pydantic/pull/13013)
##### Changes
- Warn when serializing fixed length tuples with too few items by [@​arvindsaripalli](https://redirect.github.com/arvindsaripalli) in [#​13016](https://redirect.github.com/pydantic/pydantic/pull/13016)
##### Fixes
- Change type of `Any` when synthesizing `_build_sources` for `BaseSettings.__init__()` signature in the mypy plugin by [@​Viicos](https://redirect.github.com/Viicos) in [#​13049](https://redirect.github.com/pydantic/pydantic/pull/13049)
- Fix model equality when using runtime `extra` configuration by [@​Viicos](https://redirect.github.com/Viicos) in [#​13062](https://redirect.github.com/pydantic/pydantic/pull/13062)
##### Packaging
- Add zizmor for GitHub Actions workflow linting by [@​Viicos](https://redirect.github.com/Viicos) in [#​13039](https://redirect.github.com/pydantic/pydantic/pull/13039)
- Update jiter to v0.14.0 to fix a segmentation fault on musl Linux by [@​Viicos](https://redirect.github.com/Viicos) in [#​13064](https://redirect.github.com/pydantic/pydantic/pull/13064)
##### New Contributors
- [@​arvindsaripalli](https://redirect.github.com/arvindsaripalli) made their first contribution in [#​13016](https://redirect.github.com/pydantic/pydantic/pull/13016)
</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:eyJjcmVhdGVkSW5WZXIiOiI0NC4xMjUuMSIsInVwZGF0ZWRJblZlciI6IjQ0LjEyNS4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJQUjogRGVwZW5kZW5jaWVzIl19-->
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| ~deepseek/deepseek-pro-latest | — | closed resolved | Merged Renovate PR updating pydantic from ~=2.12.5 to ~=2.13.5 in pyproject.toml; commit b865a31. | |
| ~deepseek/deepseek-pro-latest | — | closed resolved | Merged Renovate dependency update bumping pydantic from ~=2.12.5 to ~=2.13.5 in pyproject.toml and uv.lock. | |
| stealth/space-bunny-alpha |
Impact:
32
Quick Win:
19
Complexity:
22
Confidence:
82
Actionability:
78
|
needs review | Renovate bump of pydantic from ~=2.12.5 to ~=2.13.5 in imagecraft (main). All test/lint/policy checks pass; build and snap-builds (amd64/arm64) checks still pending. Awaiting maintainer review. |
Update history
| Date | Change |
|---|---|
| updated | |
| merged | |
| created |
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #493 build(deps): update dependency pydantic to ~=2.14.0 (main) | imagecraft | merged | Merged Renovate PR #493 updating pydantic dependency from 2.13.5 to 2.14.0. | |
| #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. | |
| #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. | |
| #688 build(deps): update dependency mypy to v1.12.0 (main) | craft-providers | merged | Merged Renovate PR #688 (commit 8c2f9b9) bumping the pinned mypy dependency in pyproject.toml from ==1.11.2 to ==1.12.0; a one-line dev-dependency change with no CI failures. | |
| #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. | |
| #2189 build(deps): update bugfixes (main) | charmcraft | merged | Renovate's weekly bugfix dependency PR #2189 was merged into main as commit bba6a32e, bumping dev deps (ruff-pre-commit, numpy, poetry, pylint, protobuf, sphinx stack, etc.) across pyproject.toml and .pre-commit-config.yaml. | |
| #1014 build(deps): update dependency pydantic-kitbash to v1 (main) | craft-application | merged | Renovate PR #1014 bumped pydantic-kitbash from ~=0.1.1 to ~=1.0.1; merged into main as commit e17cbf84, updating pyproject.toml and uv.lock. | |
| #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. | |
| #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. |