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

View File

@ -8,6 +8,7 @@ SRC_URI[sha256sum] = "796aa822981e01b68c12e4827b8697108f7205020f24b5793b3c41555d
inherit pypi python_setuptools_build_meta
PYPI_PACKAGE = "pytest_asyncio"
UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}"
DEPENDS += "python3-setuptools-scm-native"