Add UPSTREAM_CHECK_PYPI_PACKAGE to check the correct latest stable
verison.

Before the patch:
$ devtool latest-version python3-types-psutil
INFO: Current version: 7.0.0.20250601
INFO: Latest version: 6.1.0.20241102

After the patch:
$ devtool latest-version python3-types-psutil
INFO: Current version: 7.0.0.20250601
INFO: Latest version: 7.0.0.20251111

Signed-off-by: Yi Zhao <[email protected]>
---
 .../python/python3-types-psutil_7.0.0.20250601.bb                | 1 +
 1 file changed, 1 insertion(+)

diff --git 
a/meta-python/recipes-devtools/python/python3-types-psutil_7.0.0.20250601.bb 
b/meta-python/recipes-devtools/python/python3-types-psutil_7.0.0.20250601.bb
index 146361c5fd..fedc14f9df 100644
--- a/meta-python/recipes-devtools/python/python3-types-psutil_7.0.0.20250601.bb
+++ b/meta-python/recipes-devtools/python/python3-types-psutil_7.0.0.20250601.bb
@@ -4,6 +4,7 @@ LICENSE = "Apache-2.0"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=ec038232ab86edd7354b091c54e190e2"
 
 PYPI_PACKAGE = "types_psutil"
+UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}"
 
 inherit pypi python_setuptools_build_meta
 
-- 
2.34.1

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

Reply via email to