python3-pydantic-core: Fix build with python 3.12.4

This needs to be upgraded to 2.19+ but until then
backport a fix to keep it building.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Tim Orling <ticotimo@gmail.com>
This commit is contained in:
Khem Raj
2024-06-12 12:46:20 -07:00
parent 3eb7dd257b
commit 39d164f0c3
2 changed files with 31 additions and 1 deletions

View File

@@ -8,7 +8,8 @@ HOMEPAGE = "https://github.com/pydantic/pydantic-core"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=ab599c188b4a314d2856b3a55030c75c"
SRC_URI += "file://0001-Bumps-pyo3-https-github.com-pyo3-pyo3-from-0.20.2-to.patch"
SRC_URI += "file://0001-Bumps-pyo3-https-github.com-pyo3-pyo3-from-0.20.2-to.patch \
file://0001-Fix-generate_self_schema-for-Python-3.12-1299.patch"
SRC_URI[sha256sum] = "1cac689f80a3abab2d3c0048b29eea5751114054f032a941a32de4c852c59cad"
DEPENDS = "python3-maturin-native python3-typing-extensions"