[Buildroot] [git commit] package/python-pydantic{, -core}: bump to 2.12.2 and 2.41.4
Julien Olivain
ju.o at free.fr
Fri Oct 17 16:37:45 UTC 2025
commit: https://git.buildroot.net/buildroot/commit/?id=e4c433d3884ba7d7bb9759011c39f2f078cfa283
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Bumping pydantic requires also bumping pydantic-core (and vice versa),
so we do that in the same commit.
Release announcement for pydantic 2.12:
https://pydantic.dev/articles/pydantic-v2-12-release
pydantic-core had a build-time dependency on host-python-typing-extensions,
but that is no required, it builds fine without.
Signed-off-by: Marcus Hoffmann <buildroot at bubu1.eu>
[Julien: add pydantic-core in commit log title]
Signed-off-by: Julien Olivain <ju.o at free.fr>
---
package/python-pydantic-core/python-pydantic-core.hash | 2 +-
package/python-pydantic-core/python-pydantic-core.mk | 5 ++---
package/python-pydantic/python-pydantic.hash | 4 ++--
package/python-pydantic/python-pydantic.mk | 4 ++--
4 files changed, 7 insertions(+), 8 deletions(-)
diff --git a/package/python-pydantic-core/python-pydantic-core.hash b/package/python-pydantic-core/python-pydantic-core.hash
index 735abcb4c6..f61ab7a8e4 100644
--- a/package/python-pydantic-core/python-pydantic-core.hash
+++ b/package/python-pydantic-core/python-pydantic-core.hash
@@ -1,4 +1,4 @@
# Locally calculated after vendoring
-sha256 d075c06f299090879748db99ab202a253e9a2b22ee4140b96c0257257b9351c8 python-pydantic-core-2.33.2-cargo4.tar.gz
+sha256 8c31786f387bc0ce4a0fdfb500dbee7b102358616633b37159b389d5c53efa64 python-pydantic-core-2.41.4-cargo4.tar.gz
# Locally computed sha256 checksums
sha256 2afdd30d54b4d62b6f488a6bcc1546e84ec5061f13f4209c03d012348783795a LICENSE
diff --git a/package/python-pydantic-core/python-pydantic-core.mk b/package/python-pydantic-core/python-pydantic-core.mk
index 5085b906d5..9eb0510278 100644
--- a/package/python-pydantic-core/python-pydantic-core.mk
+++ b/package/python-pydantic-core/python-pydantic-core.mk
@@ -6,13 +6,12 @@
# python-pydantic pins an exact version of pydantic-core in pyproject.toml,
# make sure to sync pydantic-core to this version when updating pydantic
-PYTHON_PYDANTIC_CORE_VERSION = 2.33.2
+PYTHON_PYDANTIC_CORE_VERSION = 2.41.4
PYTHON_PYDANTIC_CORE_SOURCE_PYPI = pydantic_core-$(PYTHON_PYDANTIC_CORE_VERSION).tar.gz
PYTHON_PYDANTIC_CORE_SITE = $(PYTHON_PYDANTIC_CORE_SITE_PYPI)/$(PYTHON_PYDANTIC_CORE_SOURCE_PYPI)?buildroot-path=filename
-PYTHON_PYDANTIC_CORE_SITE_PYPI = https://files.pythonhosted.org/packages/ad/88/5f2260bdfae97aabf98f1778d43f69574390ad787afb646292a638c923d4
+PYTHON_PYDANTIC_CORE_SITE_PYPI = https://files.pythonhosted.org/packages/df/18/d0944e8eaaa3efd0a91b0f1fc537d3be55ad35091b6a87638211ba691964
PYTHON_PYDANTIC_CORE_SETUP_TYPE = maturin
PYTHON_PYDANTIC_CORE_LICENSE = MIT
PYTHON_PYDANTIC_CORE_LICENSE_FILES = LICENSE
-PYTHON_PYDANTIC_CORE_DEPENDENCIES = host-python-typing-extensions
$(eval $(python-package))
diff --git a/package/python-pydantic/python-pydantic.hash b/package/python-pydantic/python-pydantic.hash
index ae1a479991..4148804302 100644
--- a/package/python-pydantic/python-pydantic.hash
+++ b/package/python-pydantic/python-pydantic.hash
@@ -1,5 +1,5 @@
# md5, sha256 from https://pypi.org/pypi/pydantic/json
-md5 40710323d4273536c49c73ca0fa6b1fc pydantic-2.11.9.tar.gz
-sha256 6b8ffda597a14812a7975c90b82a8a2e777d9257aba3453f973acd3c032a18e2 pydantic-2.11.9.tar.gz
+md5 a3ade0862560d0f85951374e1004578c pydantic-2.12.2.tar.gz
+sha256 7b8fa15b831a4bbde9d5b84028641ac3080a4ca2cbd4a621a661687e741624fd pydantic-2.12.2.tar.gz
# Locally computed sha256 checksums
sha256 a9e186f3ca16b5eef84318e7a701721351a00cb7b8ae3a4394b67b49e3529ef3 LICENSE
diff --git a/package/python-pydantic/python-pydantic.mk b/package/python-pydantic/python-pydantic.mk
index fae4822a56..19f4f7f420 100644
--- a/package/python-pydantic/python-pydantic.mk
+++ b/package/python-pydantic/python-pydantic.mk
@@ -4,9 +4,9 @@
#
################################################################################
-PYTHON_PYDANTIC_VERSION = 2.11.9
+PYTHON_PYDANTIC_VERSION = 2.12.2
PYTHON_PYDANTIC_SOURCE = pydantic-$(PYTHON_PYDANTIC_VERSION).tar.gz
-PYTHON_PYDANTIC_SITE = https://files.pythonhosted.org/packages/ff/5d/09a551ba512d7ca404d785072700d3f6727a02f6f3c24ecfd081c7cf0aa8
+PYTHON_PYDANTIC_SITE = https://files.pythonhosted.org/packages/8d/35/d319ed522433215526689bad428a94058b6dd12190ce7ddd78618ac14b28
PYTHON_PYDANTIC_SETUP_TYPE = hatch
PYTHON_PYDANTIC_LICENSE = MIT
PYTHON_PYDANTIC_LICENSE_FILES = LICENSE
More information about the buildroot
mailing list