From 24ea449e3aebd5be73ffbe5b91c71066706fcc44 Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Wed, 15 Apr 2026 15:28:29 +0300 Subject: 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 --- .../recipes-devtools/python/python3-huey_2.6.0.bb | 18 ------------------ .../recipes-devtools/python/python3-huey_3.0.0.bb | 18 ++++++++++++++++++ 2 files changed, 18 insertions(+), 18 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-huey_2.6.0.bb create mode 100644 meta-python/recipes-devtools/python/python3-huey_3.0.0.bb (limited to 'meta-python/recipes-devtools') diff --git a/meta-python/recipes-devtools/python/python3-huey_2.6.0.bb b/meta-python/recipes-devtools/python/python3-huey_2.6.0.bb deleted file mode 100644 index 2821262153..0000000000 --- a/meta-python/recipes-devtools/python/python3-huey_2.6.0.bb +++ /dev/null @@ -1,18 +0,0 @@ -SUMMARY = "a little task queue for python" -SECTION = "devel/python" -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENSE;md5=5cac039fcc82f01141cc170b48f315d4" - -PYPI_PACKAGE = "huey" - -SRC_URI[sha256sum] = "8d11f8688999d65266af1425b831f6e3773e99415027177b8734b0ffd5e251f6" - -RDEPENDS:${PN} += " \ - python3-datetime \ - python3-logging \ - python3-multiprocessing \ - python3-json \ -" - -inherit pypi python_setuptools_build_meta - diff --git a/meta-python/recipes-devtools/python/python3-huey_3.0.0.bb b/meta-python/recipes-devtools/python/python3-huey_3.0.0.bb new file mode 100644 index 0000000000..f07383ed45 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-huey_3.0.0.bb @@ -0,0 +1,18 @@ +SUMMARY = "a little task queue for python" +SECTION = "devel/python" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=5cac039fcc82f01141cc170b48f315d4" + +PYPI_PACKAGE = "huey" + +SRC_URI[sha256sum] = "0cfc83617b90132b0d375a3a3726aa7263cd461e7ae12af79b3a94e2630afaf5" + +RDEPENDS:${PN} += " \ + python3-datetime \ + python3-logging \ + python3-multiprocessing \ + python3-json \ +" + +inherit pypi python_setuptools_build_meta + -- cgit v1.2.3-54-g00ecf