diff mbox series

[meta-python,06/11,v2] python3-pytest-cov: add UPSTREAM_CHECK_PYPI_PACKAGE

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

Commit Message

Yi Zhao Nov. 13, 2025, 2:58 a.m. UTC
Add UPSTREAM_CHECK_PYPI_PACKAGE to check the correct latest stable
verison.

Before the patch:
$ devtool latest-version python3-pytest-cov
INFO: Current version: 6.2.1
INFO: Latest version: 6.0.0

After the patch:
$ devtool latest-version python3-pytest-cov
INFO: Current version: 6.2.1
INFO: Latest version: 7.0.0

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

Patch

diff --git a/meta-python/recipes-devtools/python/python3-pytest-cov_6.2.1.bb b/meta-python/recipes-devtools/python/python3-pytest-cov_6.2.1.bb
index f3f4bc3e86..af4ce4b770 100644
--- a/meta-python/recipes-devtools/python/python3-pytest-cov_6.2.1.bb
+++ b/meta-python/recipes-devtools/python/python3-pytest-cov_6.2.1.bb
@@ -13,5 +13,6 @@  DEPENDS += "python3-setuptools-scm-native"
 RDEPENDS:${PN} += "python3-coverage python3-pytest python3-pluggy"
 
 PYPI_PACKAGE = "pytest_cov"
+UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}"
 
 BBCLASSEXTEND = "native nativesdk"