diff mbox series

[meta-python,067/105] python3-pydantic: upgrade 2.14.1 -> 2.14.3

Message ID 20261116175359.342679-67-khem.raj@oss.qualcomm.com
State New
Headers show
Series [meta-python,001/105] python3-absl: upgrade 2.1.0 -> 2.5.1 | expand

Commit Message

Khem Raj Nov. 16, 2026, 5:53 p.m. UTC
Upgrade together with python3-pydantic-core 2.50.4.

Changes:
- 2.14.2 security: validation bypass of extra data keys in JSON model
  validation (GHSA-qpmf-fgh3-ff25) and of aliased fields in TypedDict
  and dataclasses with extra=allow (GHSA-3r8g-cqwr-jr29). No CVE ID
  is listed in the advisories.
- Behavior change: JSON validation now does field lookup like Python
  validation; keys matching only an unused alias or field name are
  treated as extra data (ValidationError with extra='forbid').
- 2.14.3: non-string extra keys disallowed during validation.
- Packaging: PyO3 0.30.1, jiter 0.18.0, speedate 0.18.0; PyPy 8.0 and
  GraalPy 3.13 wheels (GraalPy 3.11 wheels were broken in 2.14.2).
- Many fixes (generics, pickling, deepcopy, recursion guards) and
  serialization/schema generation performance improvements.

AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
---
 .../{python3-pydantic_2.14.1.bb => python3-pydantic_2.14.3.bb}  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-python/recipes-devtools/python/{python3-pydantic_2.14.1.bb => python3-pydantic_2.14.3.bb} (98%)
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python3-pydantic_2.14.1.bb b/meta-python/recipes-devtools/python/python3-pydantic_2.14.3.bb
similarity index 98%
rename from meta-python/recipes-devtools/python/python3-pydantic_2.14.1.bb
rename to meta-python/recipes-devtools/python/python3-pydantic_2.14.3.bb
index eb8e42198e..e660a3851a 100644
--- a/meta-python/recipes-devtools/python/python3-pydantic_2.14.1.bb
+++ b/meta-python/recipes-devtools/python/python3-pydantic_2.14.3.bb
@@ -11,7 +11,7 @@  LIC_FILES_CHKSUM = "file://LICENSE;md5=09280955509d1c4ca14bae02f21d49a6"
 
 inherit python_hatchling ptest-python-pytest
 
-SRCREV = "b2212c787fb5c73386dc770681ec49cd09da8e73"
+SRCREV = "ea492e04654ab7f7a1f9287ea912419452ead4dd"
 SRC_URI = "git://github.com/pydantic/pydantic;protocol=https;branch=v${@oe.utils.trim_version('${PV}', 2)}-fixes;tag=v${PV}"
 DEPENDS += "python3-hatch-fancy-pypi-readme-native"