← Back to issue list

build(deps): update dependency pydantic-core to v2.23.0 (main)

View original Github issue

Metadata

Project
charmcraft
Number
#1833
Type
pull request
State
closed
Author
renovate[bot]
Labels
—
Created
Updated
Closed

Current evaluation

Closed unmerged after maintainers deferred the core-only bump to a future Pydantic update; the broader dependency update later merged in #2310 as e635550d.

Resolution: closed superseded

Reason: @lengau closed the PR without merging, stating pydantic-core would be updated with Pydantic. PR canonical/charmcraft#2310 later merged as e635550d and performed that broader dependency update.

Evaluated by: mr-cal-bot

No scores available.

Issue body

This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [pydantic-core](https://togithub.com/pydantic/pydantic-core) | `==2.20.1` -> `==2.23.0` | [![age](https://developer.mend.io/api/mc/badges/age/pypi/pydantic-core/2.23.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/pydantic-core/2.23.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/pydantic-core/2.20.1/2.23.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/pydantic-core/2.20.1/2.23.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>pydantic/pydantic-core (pydantic-core)</summary> ### [`v2.23.0`](https://togithub.com/pydantic/pydantic-core/releases/tag/v2.23.0): 2024-08-19 [Compare Source](https://togithub.com/pydantic/pydantic-core/compare/v2.22.0...v2.23.0) #### What's Changed - Adding `cls` reference to `TypedDictSchema` by [@&#8203;sydney-runkle](https://togithub.com/sydney-runkle) in [https://github.com/pydantic/pydantic-core/pull/1410](https://togithub.com/pydantic/pydantic-core/pull/1410) - Breaking change: Change `metadata` type hint from `Any` -> `Dict[str, Any] | None` by [@&#8203;sydney-runkle](https://togithub.com/sydney-runkle) in [https://github.com/pydantic/pydantic-core/pull/1411](https://togithub.com/pydantic/pydantic-core/pull/1411) **Full Changelog**: https://github.com/pydantic/pydantic-core/compare/v2.22.0...v2.23.0 ### [`v2.22.0`](https://togithub.com/pydantic/pydantic-core/releases/tag/v2.22.0): 2024-08-15 [Compare Source](https://togithub.com/pydantic/pydantic-core/compare/v2.21.0...v2.22.0) ##### What's Changed - Expose `AnySerializer` via core schema by [@&#8203;BoxyUwU](https://togithub.com/BoxyUwU) in [https://github.com/pydantic/pydantic-core/pull/1394](https://togithub.com/pydantic/pydantic-core/pull/1394) - Don't embed `RUSTFLAGS` in final binary by [@&#8203;BoxyUwU](https://togithub.com/BoxyUwU) in [https://github.com/pydantic/pydantic-core/pull/1396](https://togithub.com/pydantic/pydantic-core/pull/1396) - Validate `base64` standard encoding by [@&#8203;josh-newman](https://togithub.com/josh-newman) in [https://github.com/pydantic/pydantic-core/pull/1395](https://togithub.com/pydantic/pydantic-core/pull/1395) - Show value of wrongly typed in serialization warning by [@&#8203;BoxyUwU](https://togithub.com/BoxyUwU) in [https://github.com/pydantic/pydantic-core/pull/1377](https://togithub.com/pydantic/pydantic-core/pull/1377) - Try each option in union serializer before inference by [@&#8203;sydney-runkle](https://togithub.com/sydney-runkle) in [https://github.com/pydantic/pydantic-core/pull/1398](https://togithub.com/pydantic/pydantic-core/pull/1398) - Stop clone-ing serializers by [@&#8203;davidhewitt](https://togithub.com/davidhewitt) in [https://github.com/pydantic/pydantic-core/pull/1402](https://togithub.com/pydantic/pydantic-core/pull/1402) - Fix float serialization behavior in `strict` mode by [@&#8203;sydney-runkle](https://togithub.com/sydney-runkle) in [https://github.com/pydantic/pydantic-core/pull/1400](https://togithub.com/pydantic/pydantic-core/pull/1400) - For missing fields, we don't warn on `exclude_`, so don't warn on `exclude` by [@&#8203;sydney-runkle](https://togithub.com/sydney-runkle) in [https://github.com/pydantic/pydantic-core/pull/1403](https://togithub.com/pydantic/pydantic-core/pull/1403) - Use `typing_extensions.TypedDict` on Python < 3.12 by [@&#8203;candleindark](https://togithub.com/candleindark) in [https://github.com/pydantic/pydantic-core/pull/1404](https://togithub.com/pydantic/pydantic-core/pull/1404) - Support `complex` numbers by [@&#8203;changhc](https://togithub.com/changhc) in [https://github.com/pydantic/pydantic-core/pull/1331](https://togithub.com/pydantic/pydantic-core/pull/1331) - Adding tagged union serializer 🚀 by [@&#8203;sydney-runkle](https://togithub.com/sydney-runkle) in [https://github.com/pydantic/pydantic-core/pull/1397](https://togithub.com/pydantic/pydantic-core/pull/1397) - Introduce `exactness` into `Decimal` validation logic by [@&#8203;sydney-runkle](https://togithub.com/sydney-runkle) in [https://github.com/pydantic/pydantic-core/pull/1405](https://togithub.com/pydantic/pydantic-core/pull/1405) ##### New Contributors - [@&#8203;candleindark](https://togithub.com/candleindark) made their first contribution in [https://github.com/pydantic/pydantic-core/pull/1404](https://togithub.com/pydantic/pydantic-core/pull/1404) - [@&#8203;changhc](https://togithub.com/changhc) made their first contribution in [https://github.com/pydantic/pydantic-core/pull/1331](https://togithub.com/pydantic/pydantic-core/pull/1331) **Full Changelog**: https://github.com/pydantic/pydantic-core/compare/v2.21.0...v2.22.0 ### [`v2.21.0`](https://togithub.com/pydantic/pydantic-core/releases/tag/v2.21.0): 2024-08-05 [Compare Source](https://togithub.com/pydantic/pydantic-core/compare/v2.20.1...v2.21.0) #### What's Changed ##### Packaging - Bump `idna` from 0.5.0 to 1.0.1 by [@&#8203;dependabot](https://togithub.com/dependabot) in [https://github.com/pydantic/pydantic-core/pull/1358](https://togithub.com/pydantic/pydantic-core/pull/1358) - Bump `pyo3` from 0.22.0 to 0.22.2 by [@&#8203;dependabot](https://togithub.com/dependabot) in [https://github.com/pydantic/pydantic-core/pull/1383](https://togithub.com/pydantic/pydantic-core/pull/1383) - Bump `serde_json` from 1.0.118 to 1.0.121 by [@&#8203;dependabot](https://togithub.com/dependabot) in [https://github.com/pydantic/pydantic-core/pull/1384](https://togithub.com/pydantic/pydantic-core/pull/1384) - Bump `serde` from 1.0.203 to 1.0.204 by [@&#8203;dependabot](https://togithub.com/dependabot) in [https://github.com/pydantic/pydantic-core/pull/1385](https://togithub.com/pydantic/pydantic-core/pull/1385) - Bump `base64` from 0.21.7 to 0.22.1 by [@&#8203;dependabot](https://togithub.com/dependabot) in [https://github.com/pydantic/pydantic-core/pull/1386](https://togithub.com/pydantic/pydantic-core/pull/1386) ##### Fixes - Fixes discriminated union bug regression when using enums by [@&#8203;kfreezen](https://togithub.com/kfreezen) in [https://github.com/pydantic/pydantic-core/pull/1286](https://togithub.com/pydantic/pydantic-core/pull/1286) - string: Use 're.Pattern.search' instead of 're.Pattern.match' by [@&#8203;tinez](https://togithub.com/tinez) in [https://github.com/pydantic/pydantic-core/pull/1368](https://togithub.com/pydantic/pydantic-core/pull/1368) - Fix model `field_serializer` with computed field by [@&#8203;nix010](https://togithub.com/nix010) in [https://github.com/pydantic/pydantic-core/pull/1349](https://togithub.com/pydantic/pydantic-core/pull/1349) - Clean up some string handling cases by [@&#8203;davidhewitt](https://togithub.com/davidhewitt) in [https://github.com/pydantic/pydantic-core/pull/1381](https://togithub.com/pydantic/pydantic-core/pull/1381) ##### Features - Validate bytes based on `ser_json_bytes` by [@&#8203;josh-newman](https://togithub.com/josh-newman) in [https://github.com/pydantic/pydantic-core/pull/1308](https://togithub.com/pydantic/pydantic-core/pull/1308) - Support `allow_partial='trailing-strings'` by [@&#8203;sydney-runkle](https://togithub.com/sydney-runkle) in [https://github.com/pydantic/pydantic-core/pull/1390](https://togithub.com/pydantic/pydantic-core/pull/1390) ##### Performance - Use `Uuid:::from_u128` for `uuid_to_string` by [@&#8203;fft001](https://togithub.com/fft001) in [https://github.com/pydantic/pydantic-core/pull/1362](https://togithub.com/pydantic/pydantic-core/pull/1362) #### New Contributors - [@&#8203;kfreezen](https://togithub.com/kfreezen) made their first contribution in [https://github.com/pydantic/pydantic-core/pull/1286](https://togithub.com/pydantic/pydantic-core/pull/1286) - [@&#8203;tinez](https://togithub.com/tinez) made their first contribution in [https://github.com/pydantic/pydantic-core/pull/1368](https://togithub.com/pydantic/pydantic-core/pull/1368) - [@&#8203;fft001](https://togithub.com/fft001) made their first contribution in [https://github.com/pydantic/pydantic-core/pull/1362](https://togithub.com/pydantic/pydantic-core/pull/1362) - [@&#8203;nix010](https://togithub.com/nix010) made their first contribution in [https://github.com/pydantic/pydantic-core/pull/1349](https://togithub.com/pydantic/pydantic-core/pull/1349) - [@&#8203;BoxyUwU](https://togithub.com/BoxyUwU) made their first contribution in [https://github.com/pydantic/pydantic-core/pull/1379](https://togithub.com/pydantic/pydantic-core/pull/1379) **Full Changelog**: https://github.com/pydantic/pydantic-core/compare/v2.20.1...v2.21.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - "every weekend" in timezone Etc/UTC, Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR is behind base branch, 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/charmcraft). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC4yNi4xIiwidXBkYXRlZEluVmVyIjoiMzguNTYuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIl19-->

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed superseded Closed unmerged after maintainers deferred the core-only bump to a future Pydantic update; the broader dependency update later merged in #2310 as e635550d.
stealth/space-bunny-alpha — closed stale Closed unmerged; pydantic-core 2.23.0 was deferred until Charmcraft updates Pydantic.
stealth/space-bunny-alpha — closed stale Closed unmerged: maintainer @lengau deferred pydantic-core 2.23.0 until Charmcraft updates Pydantic; Renovate will ignore this version.
qwen/qwen3.6-35b-a3b — — Closed manually without merging. The pydantic-core update will be deferred until a coordinated pydantic version bump. Renovate will skip this specific version.
qwen3.6-35b-a3b-mtp-q6 — — Closed without merging. The maintainer rejected the standalone pydantic-core update, noting it will be upgraded alongside pydantic. Renovate will ignore this version.

Update history

No update history recorded yet.

Related work

  • Superseded By: canonical/charmcraft#2310 (confidence 95%)

    Merged as e635550d and updated Pydantic after this standalone pydantic-core bump was deferred.

  • Related To: canonical/charmcraft#2177 (confidence 85%)

    A later Renovate PR for pydantic-core 2.29.0 was also closed unmerged before the broader Pydantic update.

Related issues

Issue Project State Summary Similarity
#2155 build(deps): update dependency pydantic to v2.10.6 (main) charmcraft closed Pydantic 2.10.6 update closed unmerged; a later toolchain and Pydantic update merged in canonical/charmcraft#2310 via commit e635550d.
84%
#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.
83%
#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.
82%
#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.
79%
#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.
79%
#193 build(deps)!: update to pydantic 2 craft-store merged Merged the breaking Pydantic 2 upgrade in #193 (commit 026b78d), updating dependencies and model code across 21 files (+135/-90).
76%
#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.
75%
#1585 build(deps): update dependency mypy to v2 (main) craft-parts closed Closed unmerged after inactivity; mypy was later dropped in merged PR #1706 (commit 770e2130).
75%
#2000 build(deps): update dependency pydantic to v1.10.19 (hotfix/2.7) charmcraft merged Merged PR #2000 into hotfix/2.7, updating pinned pydantic from 1.10.14 to 1.10.19 in two files.
75%
#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.
74%