From b94206dc56996e1f57fa4cddb265953300ce31b7 Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Wed, 15 Apr 2026 15:28:29 +0300 Subject: [PATCH] python3-huey: Upgrade 2.6.0 -> 3.0.0 Upgrade to release 3.0.0: - Add chord() (map -> reduce) and group() (map) primitives. - Add timeout (using SIGALRM for process and gevent.Timeout for greenlet) to control task running time. For threads, unfortunately, there's no good mechanism so instead APIs for cooperatively checking timeout are provided on the Task instance. - Add simple fixed-window rate_limit() for tasks. - Add Result.is_ready() method for checking result readiness. - New option for low-latency result fetching, available for RedisHuey. To use, pass notify_result=True when initializing your Huey instance. - Add new incr(key, amount=1) to storage API for atomic increment primitive. This is used by chord(). - Add new wait_result() method to storage APIs for efficiently waiting for a result to become ready. The default implementation uses the exponential backoff from the previous implementation of a blocking Result.get() - so no changes are needed. However if you have a custom storage implementation, this provides a mechanism for pub/sub or other notification of result readiness. - Remove Python 2.x compatibility. Signed-off-by: Leon Anavi Signed-off-by: Khem Raj --- .../python/{python3-huey_2.6.0.bb => python3-huey_3.0.0.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta-python/recipes-devtools/python/{python3-huey_2.6.0.bb => python3-huey_3.0.0.bb} (79%) diff --git a/meta-python/recipes-devtools/python/python3-huey_2.6.0.bb b/meta-python/recipes-devtools/python/python3-huey_3.0.0.bb similarity index 79% rename from meta-python/recipes-devtools/python/python3-huey_2.6.0.bb rename to meta-python/recipes-devtools/python/python3-huey_3.0.0.bb index 2821262153..f07383ed45 100644 --- a/meta-python/recipes-devtools/python/python3-huey_2.6.0.bb +++ b/meta-python/recipes-devtools/python/python3-huey_3.0.0.bb @@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=5cac039fcc82f01141cc170b48f315d4" PYPI_PACKAGE = "huey" -SRC_URI[sha256sum] = "8d11f8688999d65266af1425b831f6e3773e99415027177b8734b0ffd5e251f6" +SRC_URI[sha256sum] = "0cfc83617b90132b0d375a3a3726aa7263cd461e7ae12af79b3a94e2630afaf5" RDEPENDS:${PN} += " \ python3-datetime \