Skip to contentSkip to conversation

python3-cached-property: add UPSTREAM_CHECK_REGEX

PATCH Superseded Yi Zhao 1 participant 11 messages Nov 12, 2025

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Yi Zhao

author
#0 lore raw

PATCH 1/11 python3-cached-property: add UPSTREAM_CHECK_REGEX

Add UPSTREAM_CHECK_REGEX 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
---
 .../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..c5baa6fc93 100644
@@ -8,6 +8,8 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=db7ff60c4e14f58534201242803d8abc"
 PYPI_PACKAGE = "cached_property"
 SRC_URI[sha256sum] = "484d617105e3ee0e4f1f58725e72a8ef9e93deee462222dbd51cd91230897641"
 
+UPSTREAM_CHECK_REGEX = "cached_property-(?P<pver>\d+(\.\d+)+)"
+
 inherit pypi setuptools3
 
 BBCLASSEXTEND = "native"
Signature · 1 line
2.34.1
author
#1 lore raw

PATCH 2/11 python3-gpt-image: add UPSTREAM_CHECK_REGEX

Add UPSTREAM_CHECK_REGEX 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
---
 .../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..1cdbc54b43 100644
@@ -10,6 +10,8 @@ DEPENDS += "python3-pip"
 PYPI_PACKAGE = "gpt_image"
 SRC_URI[sha256sum] = "c06d8efc7cf8d6f3954c1c3d8544f494aa95da37fe04e38a9699ad3f57455f7e"
 
+UPSTREAM_CHECK_REGEX = "gpt_image-(?P<pver>\d+(\.\d+)+)"
+
 inherit pypi python3native python_setuptools_build_meta ptest-python-pytest
 
 do_install:append() {
Signature · 1 line
2.34.1
author
#2 lore raw

PATCH 3/11 python3-lazy-object-proxy: add UPSTREAM_CHECK_REGEX

In reply to Yi Zhao

Add UPSTREAM_CHECK_REGEX 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 | 2 ++
 1 file changed, 2 insertions(+)
meta-python/recipes-devtools/python/python3-lazy-object-proxy_1.12.0.bb +2 -0
index acd84efd21..cadb1395b7 100644
@@ -10,6 +10,8 @@ SRC_URI[sha256sum] = "1f5a462d92fd0cfb82f1fab28b51bfb209fabbe6aabf7f0d51472c0c12
 
 PYPI_PACKAGE = "lazy_object_proxy"
 
+UPSTREAM_CHECK_REGEX = "lazy_object_proxy-(?P<pver>\d+(\.\d+)+)"
+
 inherit pypi python_setuptools_build_meta
 
 do_install:append() {
Signature · 1 line
2.34.1
author
#3 lore raw

PATCH 4/11 python3-paho-mqtt: add UPSTREAM_CHECK_REGEX

In reply to Yi Zhao

Add UPSTREAM_CHECK_REGEX 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..1a9223a9cf 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_REGEX = "paho_mqtt-(?P<pver>\d+(\.\d+)+)"
+
 S = "${UNPACKDIR}/paho_mqtt-${PV}"
 
 DEPENDS += "python3-pytest-runner-native"
Signature · 1 line
2.34.1
author
#4 lore raw

PATCH 5/11 python3-pytest-asyncio: add UPSTREAM_CHECK_REGEX

In reply to Yi Zhao

Add UPSTREAM_CHECK_REGEX 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     | 2 ++
 1 file changed, 2 insertions(+)
meta-python/recipes-devtools/python/python3-pytest-asyncio_1.1.0.bb +2 -0
index 4ac45fb1a8..38c5345852 100644
@@ -9,6 +9,8 @@ inherit pypi python_setuptools_build_meta
 
 PYPI_PACKAGE = "pytest_asyncio"
 
+UPSTREAM_CHECK_REGEX = "pytest_asyncio-(?P<pver>\d+(\.\d+)+)"
+
 DEPENDS += "python3-setuptools-scm-native"
 
 RDEPENDS:${PN} += " \
Signature · 1 line
2.34.1
author
#5 lore raw

PATCH 6/11 python3-pytest-cov: add UPSTREAM_CHECK_REGEX

In reply to Yi Zhao

Add UPSTREAM_CHECK_REGEX 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 | 2 ++
 1 file changed, 2 insertions(+)
meta-python/recipes-devtools/python/python3-pytest-cov_6.2.1.bb +2 -0
index f3f4bc3e86..71a47d8760 100644
@@ -7,6 +7,8 @@ LIC_FILES_CHKSUM = " \
 
 SRC_URI[sha256sum] = "25cc6cc0a5358204b8108ecedc51a9b57b34cc6b8c967cc2c01a4e00d8a67da2"
 
+UPSTREAM_CHECK_REGEX = "pytest_cov-(?P<pver>\d+(\.\d+)+)"
+
 inherit pypi setuptools3
 
 DEPENDS += "python3-setuptools-scm-native"
Signature · 1 line
2.34.1
author
#6 lore raw

PATCH 7/11 python3-pytest-mock: add UPSTREAM_CHECK_REGEX

In reply to Yi Zhao

Add UPSTREAM_CHECK_REGEX 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       | 2 ++
 1 file changed, 2 insertions(+)
meta-python/recipes-devtools/python/python3-pytest-mock_3.14.1.bb +2 -0
index f107e20ff5..134459aaf1 100644
@@ -11,6 +11,8 @@ SRC_URI += " \
 "
 SRC_URI[sha256sum] = "159e9edac4c451ce77a5cdb9fc5d1100708d2dd4ba3c3df572f14097351af80e"
 
+UPSTREAM_CHECK_REGEX = "pytest_mock-(?P<pver>\d+(\.\d+)+)"
+
 inherit pypi python_setuptools_build_meta ptest
 
 PYPI_PACKAGE = "pytest_mock"
Signature · 1 line
2.34.1
author
#7 lore raw

PATCH 8/11 python3-pytest-timeout: add UPSTREAM_CHECK_REGEX

In reply to Yi Zhao

Add UPSTREAM_CHECK_REGEX 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     | 2 ++
 1 file changed, 2 insertions(+)
meta-python/recipes-devtools/python/python3-pytest-timeout_2.4.0.bb +2 -0
index a376d02e38..3c99da4a36 100644
@@ -5,6 +5,8 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=d8048cd156eda3df2e7f111b0ae9ceff"
 
 SRC_URI[sha256sum] = "7e68e90b01f9eff71332b25001f85c75495fc4e3a836701876183c4bcfd0540a"
 
+UPSTREAM_CHECK_REGEX = "pytest_timeout-(?P<pver>\d+(\.\d+)+)"
+
 inherit pypi python_setuptools_build_meta
 
 RDEPENDS:${PN} = "python3-pytest"
Signature · 1 line
2.34.1
author
#8 lore raw

PATCH 9/11 python3-pytest-xdist: add UPSTREAM_CHECK_REGEX

In reply to Yi Zhao

Add UPSTREAM_CHECK_REGEX 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       | 2 ++
 1 file changed, 2 insertions(+)
meta-python/recipes-devtools/python/python3-pytest-xdist_3.8.0.bb +2 -0
index 7b340e8920..f172c728ce 100644
@@ -5,6 +5,8 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=fbae836e16c18f4b220f7db6564e8f61"
 
 SRC_URI[sha256sum] = "7e578125ec9bc6050861aa93f2d59f1d8d085595d6551c2c90b6f4fad8d3a9f1"
 
+UPSTREAM_CHECK_REGEX = "pytest_xdist-(?P<pver>\d+(\.\d+)+)"
+
 inherit pypi python_setuptools_build_meta
 
 DEPENDS += "python3-setuptools-scm-native"
Signature · 1 line
2.34.1
author
#9 lore raw

PATCH 10/11 python3-rich-argparse: add UPSTREAM_CHECK_REGEX

In reply to Yi Zhao

Add UPSTREAM_CHECK_REGEX 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      | 2 ++
 1 file changed, 2 insertions(+)
meta-python/recipes-devtools/python/python3-rich-argparse_1.7.1.bb +2 -0
index cb07b012b4..c0e5f62fb3 100644
@@ -7,6 +7,8 @@ PYPI_PACKAGE = "rich_argparse"
 
 SRC_URI[sha256sum] = "d7a493cde94043e41ea68fb43a74405fa178de981bf7b800f7a3bd02ac5c27be"
 
+UPSTREAM_CHECK_REGEX = "rich_argparse-(?P<pver>\d+(\.\d+)+)"
+
 inherit pypi python_hatchling
 
 RDEPENDS:${PN} += "\
Signature · 1 line
2.34.1
author
#10 lore raw

PATCH 11/11 python3-types-psutil: add UPSTREAM_CHECK_REGEX

In reply to Yi Zhao

Add UPSTREAM_CHECK_REGEX 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               | 2 ++
 1 file changed, 2 insertions(+)
meta-python/recipes-devtools/python/python3-types-psutil_7.0.0.20250601.bb +2 -0
index 146361c5fd..ecc714264c 100644
@@ -5,6 +5,8 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=ec038232ab86edd7354b091c54e190e2"
 
 PYPI_PACKAGE = "types_psutil"
 
+UPSTREAM_CHECK_REGEX = "types_psutil-(?P<pver>\d+(\.\d+)+)"
+
 inherit pypi python_setuptools_build_meta
 
 SRC_URI[sha256sum] = "71fe9c4477a7e3d4f1233862f0877af87bff057ff398f04f4e5c0ca60aded197"
Signature · 1 line
2.34.1