Files
buildroot/package/python-pydantic-core/python-pydantic-core.mk
Marcus Hoffmann e4c433d388 package/python-pydantic{,-core}: bump to 2.12.2 and 2.41.4
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@bubu1.eu>
[Julien: add pydantic-core in commit log title]
Signed-off-by: Julien Olivain <ju.o@free.fr>
2025-10-17 18:37:45 +02:00

18 lines
876 B
Makefile

################################################################################
#
# python-pydantic-core
#
################################################################################
# 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.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/df/18/d0944e8eaaa3efd0a91b0f1fc537d3be55ad35091b6a87638211ba691964
PYTHON_PYDANTIC_CORE_SETUP_TYPE = maturin
PYTHON_PYDANTIC_CORE_LICENSE = MIT
PYTHON_PYDANTIC_CORE_LICENSE_FILES = LICENSE
$(eval $(python-package))