python3-pytest-cov: add UPSTREAM_CHECK_PYPI_PACKAGE

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>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Yi Zhao 2025-11-13 10:58:50 +08:00 committed by Khem Raj
parent e105ccf75f
commit a5eb02a811
No known key found for this signature in database
GPG Key ID: BB053355919D3314

View File

@ -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"