diff mbox series

[meta-python,1/2] python3-pydantic: Use tip of trunk

Message ID 20250420025101.3189663-1-raj.khem@gmail.com
State New
Headers show
Series [meta-python,1/2] python3-pydantic: Use tip of trunk | expand

Commit Message

Khem Raj April 20, 2025, 2:51 a.m. UTC
Its needed for using pydantic-core 2.34 support

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 .../recipes-devtools/python/python3-pydantic_2.11.3.bb    | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python3-pydantic_2.11.3.bb b/meta-python/recipes-devtools/python/python3-pydantic_2.11.3.bb
index 704d4ad98b..c323534e12 100644
--- a/meta-python/recipes-devtools/python/python3-pydantic_2.11.3.bb
+++ b/meta-python/recipes-devtools/python/python3-pydantic_2.11.3.bb
@@ -9,9 +9,13 @@  HOMEPAGE = "https://github.com/samuelcolvin/pydantic"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=09280955509d1c4ca14bae02f21d49a6"
 
-inherit pypi python_hatchling ptest-python-pytest
+inherit python_hatchling ptest-python-pytest
 
-SRC_URI[sha256sum] = "7471657138c16adad9322fe3070c0116dd6c3ad8d649300e3cbdfe91f4db4ec3"
+SRCREV = "bce81efdeac1cbefd0196b478a32aa2586bd595a"
+PV .= "+git"
+SRC_URI = "git://github.com/pydantic/pydantic;protocol=https;branch=main"
+
+S = "${WORKDIR}/git"
 
 DEPENDS += "python3-hatch-fancy-pypi-readme-native"