← 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 manually without merging. The pydantic-core update will be deferred until a coordinated pydantic version bump. Renovate will skip this specific version.

Suggested action:

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
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.
qwen3.6-35b-a3b-mtp-q6 Closed without merging. The maintainer declined the pydantic-core v2.23.0 update, noting it will be upgraded alongside pydantic in a future release. Renovate will ignore this specific version.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#2177 build(deps): update dependency pydantic-core to v2.29.0 (main) charmcraft closed Updating pydantic-core to v2.29.0 was closed without merging. Renovate will ignore this update and generate a new PR for future releases.
90%
#2155 build(deps): update dependency pydantic to v2.10.6 (main) charmcraft closed Closed without merging. The pydantic v2.10.6 update was rejected. Renovate will ignore this version and automatically generate a new pull request when a newer release is available.
89%
#1999 build(deps): update pydantic etc. (main) charmcraft closed Closed without merging. The pydantic and pydantic-core dependency update was abandoned or superseded by a newer Renovate PR, as automerge was disabled and no reviewers commented.
84%
#961 build(deps): update dependency mypy to v2 (main) craft-providers closed Updating mypy to v2 was closed without merging. Manual closure caused Renovate to ignore all future 2.x releases.
80%
#1585 build(deps): update dependency mypy to v2 (main) craft-parts closed Closed without merging. The maintainer rejected the mypy v2 dependency update, causing Renovate to ignore all future 2.x releases until a manual upgrade occurs.
80%
#779 build(deps): update dependency mypy to v1.16.1 (main) craft-application closed Closed without merging. The mypy update to v1.16.1 was abandoned despite passing CI checks. Renovate will ignore this version and wait for a newer release to generate a replacement PR.
80%
#75 build(deps): update dependency mypy to ~=1.20.0 (main) craft-artifacts closed Closed without merging and superseded by PR #77. The maintainer replaced this mypy dependency update with an alternative PR. Renovate will ignore this closed update.
79%
#163 chore(deps): update dependency pydantic to v2 craft-application closed Dependency update for pydantic v2 was closed without merging. Renovate will ignore future 2.x updates unless manually upgraded or the PR is renamed to trigger a replacement.
78%
#116 chore(deps): update dependency pydantic to v2 craft-store closed Closed without merging due to significant breaking changes required for Pydantic v2. The update was abandoned, and Renovate was configured to ignore future v2 releases until manual migration occurs.
78%
#5173 build(deps): update pydantic etc. (main) snapcraft merged Merged automated dependency update upgrading pydantic to 2.10.3 and pydantic-core to 2.27.1. Approved by two reviewers, passed CI, and merged into main.
78%