From d95baad914de16db2a13aaf54ade52b96d020b0a Mon Sep 17 00:00:00 2001 From: mef Date: Wed, 1 Jan 2025 12:23:40 +0000 Subject: [PATCH] (parallel/R-promises) Updated 1.2.0.1 to 1.3.2 # promises 1.3.2 * Fixed bug introduced in 1.3.1, where promise domains that are active at promise resolution time stay active during handler callback, even if they weren't active when the handler was registered. This was causing stack overflow for long promise chains with many active promise domains. (#115) # promises 1.3.1 * Fixed bug where promise domains were forgotten when handlers were registered from within other handlers. (#110) # promises 1.3.0 * `is.promising` is now an S3 method. (#104) # promises 1.2.1 * `future_promise()` received a speed improvement when submitting many requests with a minimal number of `{future}` workers. If `future_promise()` runs out of available `{future}` workers, then `future_promise()` will preemptively return for the remainder of the current `{later}` execution. While it is possible for `{future}` to finish a job before submitting all of the `future_promise()` requests, the time saved by not asking `{future}`'s worker availability will be faster overall than if a few jobs were submitted early. (#78) * Fixed #86: `future_promise()` spuriously reports unhandled errors. (#90) * Move `{fastmap}` from `Suggests` to `Imports` for better `{renv}` discovery. (#87) --- parallel/R-promises/Makefile | 9 ++++++--- parallel/R-promises/distinfo | 8 ++++---- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/parallel/R-promises/Makefile b/parallel/R-promises/Makefile index 3536371570e0..7574a1957f9a 100644 --- a/parallel/R-promises/Makefile +++ b/parallel/R-promises/Makefile @@ -1,20 +1,23 @@ -# $NetBSD: Makefile,v 1.3 2021/06/05 08:43:54 mef Exp $ +# $NetBSD: Makefile,v 1.4 2025/01/01 12:23:40 mef Exp $ R_PKGNAME= promises -R_PKGVER= 1.2.0.1 +R_PKGVER= 1.3.2 CATEGORIES= parallel MAINTAINER= pkgsrc-users@NetBSD.org COMMENT= Abstractions for promise-based asynchronous programming LICENSE= mit +DEPENDS+= R-fastmap-[0-9]*:../../devel/R-fastmap DEPENDS+= R-magrittr>=1.5:../../devel/R-magrittr DEPENDS+= R-rlang>=0.4.0:../../devel/R-rlang DEPENDS+= R-R6-[0-9]*:../../devel/R-R6 +# Packages suggested but not available: 'future', 'vembedr' + TEST_DEPENDS+= R-testthat-[0-9]*:../../devel/R-testthat #EST_DEPENDS+= R-future-[0-9]*:../../devel/R-future -TEST_DEPENDS+= R-fastmap-[0-9]*:../../devel/R-fastmap +TEST_DEPENDS+= R-rmarkdown-[0-9]*:../../textproc/R-rmarkdown TEST_DEPENDS+= R-purrr-[0-9]*:../../devel/R-purrr #EST_DEPENDS+= R-vembedr-[0-9]*:../../devel/R-vembedr TEST_DEPENDS+= R-spelling-[0-9]*:../../textproc/R-spelling diff --git a/parallel/R-promises/distinfo b/parallel/R-promises/distinfo index 8178f47d1af7..7697a91fda1b 100644 --- a/parallel/R-promises/distinfo +++ b/parallel/R-promises/distinfo @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.4 2021/10/26 11:10:35 nia Exp $ +$NetBSD: distinfo,v 1.5 2025/01/01 12:23:40 mef Exp $ -BLAKE2s (R/promises_1.2.0.1.tar.gz) = cfbb689ccc80c4108817ce596eeeacce5a26aa1e2cd35e5050389c2975a128fd -SHA512 (R/promises_1.2.0.1.tar.gz) = 8de6e45a790475826b1be5a442360b003174c17583d07cf47442b0efbffa2e0932245dbab44e8cc59e75a3e7443b3fc864c2d17babdf3e472bf88c2db5199335 -Size (R/promises_1.2.0.1.tar.gz) = 3120504 bytes +BLAKE2s (R/promises_1.3.2.tar.gz) = ab0a9fdf797fff4c55435d73ec2776b6d4d578266591f84037182d8e584988c6 +SHA512 (R/promises_1.3.2.tar.gz) = d57ff69f7ef5e0096143b45bd1bb9c67e0e4021e93434745f33ab375440b7a62dae337fd4047884092e5c0405ea88355d50b4945588d828a81addf678d016719 +Size (R/promises_1.3.2.tar.gz) = 3168224 bytes