Files
buildroot/package/python-pydantic-core/python-pydantic-core.mk
James Hilliard 0f50c782df package/python-pydantic-core: security bump to version 2.50.2
Fix validation bypasses affecting extra data keys in JSON models and
aliased fields in TypedDict and dataclasses allowing extra data:

- https://github.com/pydantic/pydantic/security/advisories/GHSA-qpmf-fgh3-ff25
- https://github.com/pydantic/pydantic/security/advisories/GHSA-3r8g-cqwr-jr29

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Julien Olivain <ju.o@free.fr>
2026-11-01 14:54:29 +01: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.50.2
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/af/8e/23ec1021834e35041fbb2f10946141e6acdfd39379c45cc4d65a4e8a1d98
PYTHON_PYDANTIC_CORE_SETUP_TYPE = maturin
PYTHON_PYDANTIC_CORE_LICENSE = MIT
PYTHON_PYDANTIC_CORE_LICENSE_FILES = LICENSE
$(eval $(python-package))