Skip to contentSkip to conversation

python3-cached-property: add UPSTREAM_CHECK_PYPI_PACKAGE

PATCH New Yi Zhao 1 participant 11 messages Nov 13, 2025

lore
Share & tools
lore

Yi Zhao

author
#0 lore raw

PATCH v2 1/11 python3-cached-property: add UPSTREAM_CHECK_PYPI_PACKAGE

Add UPSTREAM_CHECK_PYPI_PACKAGE to check the correct latest stable verison.

Before the patch:

$ devtool latest-version python3-cached-property
INFO: Current version: 2.0.1
INFO: Latest version: 1.5.2

After the patch:

$ devtool latest-version python3-cached-property
INFO: Current version: 2.0.1
INFO: Latest version: 2.0.1

---
V2 change: use UPSTREAM_CHECK_PYPI_PACKAGE instead of UPSTREAM_CHECK_REGEX

 .../recipes-devtools/python/python3-cached-property_2.0.1.bb    | 2 ++
 1 file changed, 2 insertions(+)
meta-python/recipes-devtools/python/python3-cached-property_2.0.1.bb +2 -0
index 41211534b5..5c88a4e69e 100644
@@ -6,6 +6,8 @@ LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=db7ff60c4e14f58534201242803d8abc"
 
 PYPI_PACKAGE = "cached_property"
+UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}"
+
 SRC_URI[sha256sum] = "484d617105e3ee0e4f1f58725e72a8ef9e93deee462222dbd51cd91230897641"
 
 inherit pypi setuptools3
Signature · 1 line
2.34.1
author
#1 lore raw

PATCH v2 2/11 python3-gpt-image: add UPSTREAM_CHECK_PYPI_PACKAGE

Add UPSTREAM_CHECK_PYPI_PACKAGE to check the correct latest stable verison.

Before the patch:

$ devtool latest-version python3-gpt-image
INFO: Current version: 0.9.0
INFO: Latest version: 0.8.1

After the patch:

$ devtool latest-version python3-gpt-image
INFO: Current version: 0.9.0
INFO: Latest version: 0.9.1

---
V2 change: use UPSTREAM_CHECK_PYPI_PACKAGE instead of UPSTREAM_CHECK_REGEX

 .../python3-gpt-image/python3-gpt-image_0.9.0.bb                | 2 ++
 1 file changed, 2 insertions(+)
meta-python/recipes-extended/python3-gpt-image/python3-gpt-image_0.9.0.bb +2 -0
index a4870de113..90b77cdfea 100644
@@ -8,6 +8,8 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=db5f8de88d13d0917db21293d0e82e1d"
 DEPENDS += "python3-pip"
 
 PYPI_PACKAGE = "gpt_image"
+UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}"
+
 SRC_URI[sha256sum] = "c06d8efc7cf8d6f3954c1c3d8544f494aa95da37fe04e38a9699ad3f57455f7e"
 
 inherit pypi python3native python_setuptools_build_meta ptest-python-pytest
Signature · 1 line
2.34.1
author
#2 lore raw

PATCH v2 3/11 python3-lazy-object-proxy: add UPSTREAM_CHECK_PYPI_PACKAGE

In reply to Yi Zhao

Add UPSTREAM_CHECK_PYPI_PACKAGE to check the correct latest stable verison.

Before the patch:

$ devtool latest-version python3-lazy-object-proxy
INFO: Current version: 1.12.0
INFO: Latest version: 1.10.0

After the patch:

$ devtool latest-version python3-lazy-object-proxy
INFO: Current version: 1.12.0
INFO: Latest version: 1.12.0
---
 .../recipes-devtools/python/python3-lazy-object-proxy_1.12.0.bb  | 1 +
 1 file changed, 1 insertion(+)
meta-python/recipes-devtools/python/python3-lazy-object-proxy_1.12.0.bb +1 -0
index acd84efd21..9ba6ef8b15 100644
@@ -9,6 +9,7 @@ DEPENDS += "python3-setuptools-scm-native"
 SRC_URI[sha256sum] = "1f5a462d92fd0cfb82f1fab28b51bfb209fabbe6aabf7f0d51472c0c124c0c61"
 
 PYPI_PACKAGE = "lazy_object_proxy"
+UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}"
 
 inherit pypi python_setuptools_build_meta
 
Signature · 1 line
2.34.1
author
#3 lore raw

PATCH v2 4/11 python3-paho-mqtt: add UPSTREAM_CHECK_PYPI_PACKAGE

In reply to Yi Zhao

Add UPSTREAM_CHECK_PYPI_PACKAGE to check the correct latest stable verison.

Before the patch:

$ devtool latest-version python3-paho-mqtt
INFO: Current version: 2.1.0
INFO: Latest version: 1.6.1

Before the patch:

$ devtool latest-version python3-paho-mqtt
INFO: Current version: 2.1.0
INFO: Latest version: 2.1.0
---
 meta-python/recipes-devtools/python/python3-paho-mqtt_2.1.0.bb | 2 ++
 1 file changed, 2 insertions(+)
meta-python/recipes-devtools/python/python3-paho-mqtt_2.1.0.bb +2 -0
index 86cf034394..aa88711d69 100644
@@ -11,6 +11,8 @@ SRC_URI[sha256sum] = "12d6e7511d4137555a3f6ea167ae846af2c7357b10bc6fa4f7c3968fc1
 
 PYPI_SRC_URI = "https://files.pythonhosted.org/packages/39/15/0a6214e76d4d32e7f663b109cf71fb22561c2be0f701d67f93950cd40542/paho_mqtt-${PV}.tar.gz"
 
+UPSTREAM_CHECK_PYPI_PACKAGE = "paho_mqtt"
+
 S = "${UNPACKDIR}/paho_mqtt-${PV}"
 
 DEPENDS += "python3-pytest-runner-native"
Signature · 1 line
2.34.1
author
#4 lore raw

PATCH v2 5/11 python3-pytest-asyncio: add UPSTREAM_CHECK_PYPI_PACKAGE

In reply to Yi Zhao

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
---
 .../recipes-devtools/python/python3-pytest-asyncio_1.1.0.bb      | 1 +
 1 file changed, 1 insertion(+)
meta-python/recipes-devtools/python/python3-pytest-asyncio_1.1.0.bb +1 -0
index 4ac45fb1a8..424a68debc 100644
@@ -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"
 
Signature · 1 line
2.34.1
author
#5 lore raw

PATCH v2 6/11 python3-pytest-cov: add UPSTREAM_CHECK_PYPI_PACKAGE

In reply to Yi Zhao

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
---
 meta-python/recipes-devtools/python/python3-pytest-cov_6.2.1.bb | 1 +
 1 file changed, 1 insertion(+)
meta-python/recipes-devtools/python/python3-pytest-cov_6.2.1.bb +1 -0
index f3f4bc3e86..af4ce4b770 100644
@@ -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"
Signature · 1 line
2.34.1
author
#6 lore raw

PATCH v2 7/11 python3-pytest-mock: add UPSTREAM_CHECK_PYPI_PACKAGE

In reply to Yi Zhao

Add UPSTREAM_CHECK_PYPI_PACKAGE to check the correct latest stable verison.

Before the patch:

$ devtool latest-version python3-pytest-mock
INFO: Current version: 3.14.1
INFO: Latest version: 3.14.0

After the patch:

$ devtool latest-version python3-pytest-mock
INFO: Current version: 3.14.1
INFO: Latest version: 3.15.1
---
 .../recipes-devtools/python/python3-pytest-mock_3.14.1.bb        | 1 +
 1 file changed, 1 insertion(+)
meta-python/recipes-devtools/python/python3-pytest-mock_3.14.1.bb +1 -0
index f107e20ff5..07e2c60f54 100644
@@ -14,6 +14,7 @@ SRC_URI[sha256sum] = "159e9edac4c451ce77a5cdb9fc5d1100708d2dd4ba3c3df572f1409735
 inherit pypi python_setuptools_build_meta ptest
 
 PYPI_PACKAGE = "pytest_mock"
+UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}"
 
 DEPENDS += "python3-setuptools-scm-native"
 
Signature · 1 line
2.34.1
author
#7 lore raw

PATCH v2 8/11 python3-pytest-timeout: add UPSTREAM_CHECK_PYPI_PACKAGE

In reply to Yi Zhao

Add UPSTREAM_CHECK_PYPI_PACKAGE to check the correct latest stable verison.

Before the patch:

$ devtool latest-version python3-pytest-timeout
INFO: Current version: 2.4.0
INFO: Latest version: 2.3.1

After the patch:

$ devtool latest-version python3-pytest-timeout
INFO: Current version: 2.4.0
INFO: Latest version: 2.4.0
---
 .../recipes-devtools/python/python3-pytest-timeout_2.4.0.bb      | 1 +
 1 file changed, 1 insertion(+)
meta-python/recipes-devtools/python/python3-pytest-timeout_2.4.0.bb +1 -0
index a376d02e38..6d7901f5e7 100644
@@ -10,3 +10,4 @@ inherit pypi python_setuptools_build_meta
 RDEPENDS:${PN} = "python3-pytest"
 
 PYPI_PACKAGE = "pytest_timeout"
+UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}"
Signature · 1 line
2.34.1
author
#8 lore raw

PATCH v2 9/11 python3-pytest-xdist: add UPSTREAM_CHECK_PYPI_PACKAGE

In reply to Yi Zhao

Add UPSTREAM_CHECK_PYPI_PACKAGE to check the correct latest stable verison.

Before the patch:

$ devtool latest-version python3-pytest-xdist
INFO: Current version: 3.8.0
INFO: Latest version: 3.5.0

After the patch:

$ devtool latest-version python3-pytest-xdist
INFO: Current version: 3.8.0
INFO: Latest version: 3.8.0
---
 .../recipes-devtools/python/python3-pytest-xdist_3.8.0.bb        | 1 +
 1 file changed, 1 insertion(+)
meta-python/recipes-devtools/python/python3-pytest-xdist_3.8.0.bb +1 -0
index 7b340e8920..3527539f6f 100644
@@ -15,3 +15,4 @@ RDEPENDS:${PN} += " \
 "
 
 PYPI_PACKAGE = "pytest_xdist"
+UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}"
Signature · 1 line
2.34.1
author
#9 lore raw

PATCH v2 10/11 python3-rich-argparse: add UPSTREAM_CHECK_PYPI_PACKAGE

In reply to Yi Zhao

Add UPSTREAM_CHECK_PYPI_PACKAGE to check the correct latest stable verison.

Before the patch:

$ devtool latest-version python3-rich-argparse
INFO: Current version: 1.7.1
INFO: Latest version:

After the patch:

$ devtool latest-version python3-rich-argparse
INFO: Current version: 1.7.1
INFO: Latest version: 1.7.2
---
 .../recipes-devtools/python/python3-rich-argparse_1.7.1.bb       | 1 +
 1 file changed, 1 insertion(+)
meta-python/recipes-devtools/python/python3-rich-argparse_1.7.1.bb +1 -0
index cb07b012b4..8228a509a3 100644
@@ -4,6 +4,7 @@ LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=06f5c372171ce02f7e6a18f5f57f0b69"
 
 PYPI_PACKAGE = "rich_argparse"
+UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}"
 
 SRC_URI[sha256sum] = "d7a493cde94043e41ea68fb43a74405fa178de981bf7b800f7a3bd02ac5c27be"
 
Signature · 1 line
2.34.1
author
#10 lore raw

PATCH v2 11/11 python3-types-psutil: add UPSTREAM_CHECK_PYPI_PACKAGE

In reply to Yi Zhao

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
---
 .../python/python3-types-psutil_7.0.0.20250601.bb                | 1 +
 1 file changed, 1 insertion(+)
meta-python/recipes-devtools/python/python3-types-psutil_7.0.0.20250601.bb +1 -0
index 146361c5fd..fedc14f9df 100644
@@ -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
 
Signature · 1 line
2.34.1