diff mbox series

[meta-python,05/11] python3-pytest-asyncio: add UPSTREAM_CHECK_REGEX

Message ID 20251112145357.3788595-5-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-asyncio
INFO: Current version: 1.1.0
INFO: Latest version: 0.23.6

After the patch:
$ devtool latest-version python3-pytest-asyncio
INFO: Current version: 1.1.0
INFO: Latest version: 1.3.0

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

Patch

diff --git a/meta-python/recipes-devtools/python/python3-pytest-asyncio_1.1.0.bb b/meta-python/recipes-devtools/python/python3-pytest-asyncio_1.1.0.bb
index 4ac45fb1a8..38c5345852 100644
--- a/meta-python/recipes-devtools/python/python3-pytest-asyncio_1.1.0.bb
+++ b/meta-python/recipes-devtools/python/python3-pytest-asyncio_1.1.0.bb
@@ -9,6 +9,8 @@  inherit pypi python_setuptools_build_meta
 
 PYPI_PACKAGE = "pytest_asyncio"
 
+UPSTREAM_CHECK_REGEX = "pytest_asyncio-(?P<pver>\d+(\.\d+)+)"
+
 DEPENDS += "python3-setuptools-scm-native"
 
 RDEPENDS:${PN} += " \