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 <[email protected]>
---
 .../recipes-devtools/python/python3-pytest-asyncio_1.1.0.bb      | 1 +
 1 file changed, 1 insertion(+)

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..424a68debc 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
@@ -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"
 
-- 
2.34.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#121589): 
https://lists.openembedded.org/g/openembedded-devel/message/121589
Mute This Topic: https://lists.openembedded.org/mt/116268968/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to