From 9022c0ca00615ed11e92420194fcd4d8ad3bf5b6 Mon Sep 17 00:00:00 2001 From: James Hilliard Date: Sat, 7 Sep 2024 15:05:40 -0600 Subject: [PATCH] package/python-pydantic-core: bump to version 2.23.2 While we're at it, also fix the _SOURCE variable so it contains the -cargo2 suffix. Without this change, the downloaded tarball name pre-vendoring is the same as post-vendoring and is thus overwritten. This change was actually done in commit c617ebbc977d28c5c0ebc7d3bdfa3888f432640c, but then forgotten when the python-pydantic-core temporarily switched to upstream git instead of PyPI. Signed-off-by: James Hilliard Signed-off-by: Arnout Vandecappelle --- package/python-pydantic-core/python-pydantic-core.hash | 2 +- package/python-pydantic-core/python-pydantic-core.mk | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/package/python-pydantic-core/python-pydantic-core.hash b/package/python-pydantic-core/python-pydantic-core.hash index 3554d0c0f6..39f64e760f 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 87cee9e796c31e3470dd13675286f13d58084e4362dae9288a9fa45b1264c084 pydantic_core-2.20.1.tar.gz +sha256 4d2ad4888a80e06641bfe6a950fa2390ac59a6b0cf0f4e03574122b4b5bcc6a4 python-pydantic-core-2.23.2-cargo2.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 4332c4f6a6..aad7988fff 100644 --- a/package/python-pydantic-core/python-pydantic-core.mk +++ b/package/python-pydantic-core/python-pydantic-core.mk @@ -4,9 +4,10 @@ # ################################################################################ -PYTHON_PYDANTIC_CORE_VERSION = 2.20.1 -PYTHON_PYDANTIC_CORE_SOURCE = pydantic_core-$(PYTHON_PYDANTIC_CORE_VERSION).tar.gz -PYTHON_PYDANTIC_CORE_SITE = https://files.pythonhosted.org/packages/12/e3/0d5ad91211dba310f7ded335f4dad871172b9cc9ce204f5a56d76ccd6247 +PYTHON_PYDANTIC_CORE_VERSION = 2.23.2 +PYTHON_PYDANTIC_CORE_SOURCE_PYPI = pydantic_core-$(PYTHON_PYDANTIC_CORE_VERSION).tar.gz +PYTHON_PYDANTIC_CORE_SITE_PYPI = https://files.pythonhosted.org/packages/5f/03/54e4961dfaed4804fea0ad73e94d337f4ef88a635e73990d6e150b469594 +PYTHON_PYDANTIC_CORE_SITE = $(PYTHON_PYDANTIC_CORE_SITE_PYPI)/$(PYTHON_PYDANTIC_CORE_SOURCE_PYPI)?buildroot-path=filename PYTHON_PYDANTIC_CORE_SETUP_TYPE = maturin PYTHON_PYDANTIC_CORE_LICENSE = MIT PYTHON_PYDANTIC_CORE_LICENSE_FILES = LICENSE