diff mbox series

[meta-python,05/32] python3-pydantic: Fix upstream version check

Message ID 20261127041614.1775064-6-khem.raj@oss.qualcomm.com
State New
Headers show
Series Upstream checks, upgrades and ptest fixes | expand

Commit Message

Khem Raj Nov. 27, 2026, 4:15 a.m. UTC
The default tag regex picked up the core-v2.50.5 tags, which belong
to pydantic-core. Match only vX.Y.Z tags.

AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
---
 meta-python/recipes-devtools/python/python3-pydantic_2.14.4.bb | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python3-pydantic_2.14.4.bb b/meta-python/recipes-devtools/python/python3-pydantic_2.14.4.bb
index 333dfc4097..7c560f1690 100644
--- a/meta-python/recipes-devtools/python/python3-pydantic_2.14.4.bb
+++ b/meta-python/recipes-devtools/python/python3-pydantic_2.14.4.bb
@@ -13,6 +13,8 @@  inherit python_hatchling ptest-python-pytest
 
 SRCREV = "1642a816171707dd8c58da6fff8061a59348402c"
 SRC_URI = "git://github.com/pydantic/pydantic;protocol=https;branch=v${@oe.utils.trim_version('${PV}', 2)}-fixes;tag=v${PV}"
+
+UPSTREAM_CHECK_GITTAGREGEX = "^v(?P<pver>\d+(\.\d+)+)$"
 DEPENDS += "python3-hatch-fancy-pypi-readme-native"
 
 CVE_PRODUCT = "pydantic:pydantic"