From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id UPseMRFGWmCOAwAA0tVLHw (envelope-from ) for ; Tue, 23 Mar 2021 19:48:33 +0000 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id eKbNLBFGWmCsNAAAbx9fmQ (envelope-from ) for ; Tue, 23 Mar 2021 19:48:33 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 818601AA8A for ; Tue, 23 Mar 2021 20:48:33 +0100 (CET) Received: from localhost ([::1]:54998 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lOn0y-0002vO-GP for larch@yhetil.org; Tue, 23 Mar 2021 15:48:32 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38134) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lOmze-0001E7-MO for guix-patches@gnu.org; Tue, 23 Mar 2021 15:47:10 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:49801) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lOmzc-0002yZ-LY for guix-patches@gnu.org; Tue, 23 Mar 2021 15:47:10 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lOmzc-0008DR-JI for guix-patches@gnu.org; Tue, 23 Mar 2021 15:47:08 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#47350] [PATCH 16/29] gnu: Add julia-chainrulestestutils. Resent-From: zimoun Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 23 Mar 2021 19:47:08 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47350 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 47350@debbugs.gnu.org Cc: zimoun Received: via spool by 47350-submit@debbugs.gnu.org id=B47350.161652882431482 (code B ref 47350); Tue, 23 Mar 2021 19:47:08 +0000 Received: (at 47350) by debbugs.gnu.org; 23 Mar 2021 19:47:04 +0000 Received: from localhost ([127.0.0.1]:33097 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lOmzX-0008BX-El for submit@debbugs.gnu.org; Tue, 23 Mar 2021 15:47:03 -0400 Received: from mail-wm1-f47.google.com ([209.85.128.47]:40597) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lOmzM-00089A-If for 47350@debbugs.gnu.org; Tue, 23 Mar 2021 15:46:52 -0400 Received: by mail-wm1-f47.google.com with SMTP id y124-20020a1c32820000b029010c93864955so13682570wmy.5 for <47350@debbugs.gnu.org>; Tue, 23 Mar 2021 12:46:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=6IXfEeYRypHXu8vCIm9c2P5/7XarnVKFwMANpnTs8As=; b=tsqBZBYzgLLhOBUeBvZ9MLXip0+8OigkmjTFM9VNJ9mSN3At7UlbGbisZgHtiPF+58 FPuu9B7J3o/rB2dProkDMJqrfqyq6LyP8A1Fmv12sL8ztnN6wVfGw9fGHTGQnrwMSDNd DPC3kD0Vm/pU5cN37PdTTIPXQ8Sn0lRaATeUrxir2tjanvihbkRVu0eKYjMk/Dx+FAqq IhbB+5PTU92kLW0AUhXtjUpD8U9Tc2EvdvwGnIoqVdSDra9AC6XTIvZWjDqAt4d+VBT3 bsRhOFWFHGHz03SBnSbcdUWstBfSPoh46nQRrGZ9cgYDb1mXL8+XW/6n4ubGgxXMXTPB T5Sg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=6IXfEeYRypHXu8vCIm9c2P5/7XarnVKFwMANpnTs8As=; b=rqlqDjaAlauLqxaq27Y5WGgkkTgw8+oXuFyPmAe+gGJXFXzdp7wyd0oklXpjbbZL8M qe/UJ4up+JKkXWsEnnDmJg35fKK3IiFB4H6dim6ihJWAKe9w2cdakZjicQC7uYOXlYHJ SP7VC/qA3bYCC7Z+7U3HsYyfZ3hc16Kwu5/ZyLri+kj4iijDJO5+8s68PRLf2R2ZuB3A 1CXEdUTtoxD/ZP8uCYG6vOF4tL31CMSX/KZe7ZtPN3VuHCoydwHlzizNbrxWpy0g1CjR CILDtBSz+u+iZezzBP+XVVA7HU5EdcQwm+RdqP3f/1MxMjRTyZ06sSQrWNxbj26Iszd+ knXg== X-Gm-Message-State: AOAM532+0pzXg0bpTQnHneYEGq3f8WMRg9YskuDEPIxQ9/95SP5rNYqF LtCcSv/7km43U87tgY2d/imbR8VDR28= X-Google-Smtp-Source: ABdhPJxkn4m/ekl7hXHAJriqDLPAJ6VzSibnsb/G8mGkRvL6hnPZtYpHKReZtj02H/RG60v7FbTLAQ== X-Received: by 2002:a1c:9845:: with SMTP id a66mr4728680wme.156.1616528806990; Tue, 23 Mar 2021 12:46:46 -0700 (PDT) Received: from pfiuh02.univ-paris-diderot.fr ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id h21sm3359486wmp.10.2021.03.23.12.46.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Mar 2021 12:46:46 -0700 (PDT) From: zimoun Date: Tue, 23 Mar 2021 20:46:38 +0100 Message-Id: <20210323194641.18110-7-zimon.toutoune@gmail.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20210323194641.18110-1-zimon.toutoune@gmail.com> References: <20210323194641.18110-1-zimon.toutoune@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1616528913; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=6IXfEeYRypHXu8vCIm9c2P5/7XarnVKFwMANpnTs8As=; b=GoX+HBbYtlLIz3X+ZRQ/rdLDUt7KauLeuur48JVa7Gb5KH2Z+7L8GI6BsMPuMu0lZuDB+P AJ7FK06aU26NQCfIxwGkddQzsi7L3akPHWQ9XlO+Pu8NNgO/DoG/Fmjc2n4SExWxswbQyb us4vCD3vKEiUd9J5cLlXX/hIE26Umo3bAu7x0igBveQXv1WoDCjF7LAau+MIl/H6d0W/ZD TKW0/Me8Eeqh1AAFOvPv3jXTzpnQCMJl9kwCa+kdCHWn28OAIe7CS/RYF0IVQ1zMIzWbzc qU2ZNKxw0BwOtxg/5i5St+GC6Xn2lNQ//nx2Qzg91x0dVirL5lLiFKGT3+a47A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1616528913; a=rsa-sha256; cv=none; b=EI11TjkfCYD6h3OpJaxnrE+QS8kTedqXREQ8Tsc7qKgnzgt0HTQAuSr1PwYO25z0GZXwu0 w5XXroeKVteJTYwKpSMG0bqPKPx8yu/qWbxVxC3gnkpKFZ2DfrdyYd/Piu8MmCfqL/8H8L Kyr4jPiGxlGenARQQF7sZ0FuKud8tjXB62q9nEF3NKfo9HP8NEFFjgnlBtOH/uoMzlrl9X WKRzZ2r0CSVQGMxcy6ydL759mk42DG+0Ct1O5O1XbE0OF7uF+LMXwXqBctv20pE/tYCBNO SA6Evc0VEaxW0/zpk/1J6AueZrAUkqxFj+NzKp2YAUz0kyT6GsDHmrEcbn5H2A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=tsqBZBYz; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: 2.68 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=tsqBZBYz; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 818601AA8A X-Spam-Score: 2.68 X-Migadu-Scanner: scn0.migadu.com X-TUID: m3eRely/pA7q * gnu/packages/julia-xyz.scm (julia-chainrulestestutils): New variable. --- gnu/packages/julia-xyz.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm index 5eb9217eae..6ddeee7172 100644 --- a/gnu/packages/julia-xyz.scm +++ b/gnu/packages/julia-xyz.scm @@ -146,6 +146,38 @@ reading and writing faster.") sensitivities for functions without the need to depend on ChainRules itself.") (license license:expat))) +(define-public julia-chainrulestestutils + (package + (name "julia-chainrulestestutils") + (version "0.6.4") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/JuliaDiff/ChainRulesTestUtils.jl") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1pzs947adnb3cx1qd0cxp2fidk9szz0zsqbas90z1lhydykkvkil")))) + (build-system julia-build-system) + (propagated-inputs + `(("julia-chainrulescore" ,julia-chainrulescore) + ("julia-compat" ,julia-compat) + ("julia-finitedifference" ,julia-finitedifferences))) + (home-page "https://github.com/JuliaDiff/ChainRulesTestUtils.jl") + (synopsis "Common utilities used by downstream automatic differentiation tools") + (description "This package is designed to help in testing +@code{ChainRulesCore.frule} and @code{ChainRulesCore.rrule} methods. The main +entry points are @code{ChainRulesTestUtils.frule_test}, +@code{ChainRulesTestUtils.rrule_test}, and +@code{ChainRulesTestUtils.test_scalar}. Currently this is done via testing the +rules against numerical differentiation (using @code{FiniteDifferences.jl}). + +@code{ChainRulesTestUtils.jl} is separated from @code{ChainRulesCore.jl} so that it +can be a test-only dependency, allowing it to have potentially heavy +dependencies, while keeping @code{ChainRulesCore.jl} as light-weight as possible.") + (license license:expat))) + (define-public julia-colors (package (name "julia-colors") -- 2.28.0