diff mbox series

[meta-python,09/11] python3-pytest-xdist: add UPSTREAM_CHECK_REGEX

Message ID 20251112145357.3788595-9-yi.zhao@windriver.com
State Under Review
Headers show
Series [meta-python,01/11] python3-cached-property: add UPSTREAM_CHECK_REGEX | expand

Commit Message

Yi Zhao Nov. 12, 2025, 2:53 p.m. UTC
Add UPSTREAM_CHECK_REGEX to check the correct latest stable
verison.

Before the patch:
$ devtool latest-version python3-pytest-xdist
INFO: Current version: 3.8.0
INFO: Latest version: 3.5.0

After the patch:
$ devtool latest-version python3-pytest-xdist
INFO: Current version: 3.8.0
INFO: Latest version: 3.8.0

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
---
 .../recipes-devtools/python/python3-pytest-xdist_3.8.0.bb       | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python3-pytest-xdist_3.8.0.bb b/meta-python/recipes-devtools/python/python3-pytest-xdist_3.8.0.bb
index 7b340e8920..f172c728ce 100644
--- a/meta-python/recipes-devtools/python/python3-pytest-xdist_3.8.0.bb
+++ b/meta-python/recipes-devtools/python/python3-pytest-xdist_3.8.0.bb
@@ -5,6 +5,8 @@  LIC_FILES_CHKSUM = "file://LICENSE;md5=fbae836e16c18f4b220f7db6564e8f61"
 
 SRC_URI[sha256sum] = "7e578125ec9bc6050861aa93f2d59f1d8d085595d6551c2c90b6f4fad8d3a9f1"
 
+UPSTREAM_CHECK_REGEX = "pytest_xdist-(?P<pver>\d+(\.\d+)+)"
+
 inherit pypi python_setuptools_build_meta
 
 DEPENDS += "python3-setuptools-scm-native"