From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 0DMgMWLiW2CcZwEAgWs5BA (envelope-from ) for ; Thu, 25 Mar 2021 02:07:46 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id SKLPLGLiW2D/SAAA1q6Kng (envelope-from ) for ; Thu, 25 Mar 2021 01:07:46 +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 4BF141AA61 for ; Thu, 25 Mar 2021 02:07:46 +0100 (CET) Received: from localhost ([::1]:36596 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lPETR-0003SC-Fk for larch@yhetil.org; Wed, 24 Mar 2021 21:07:45 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42422) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lPERs-00014u-7W for guix-patches@gnu.org; Wed, 24 Mar 2021 21:06:08 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53354) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lPERr-0003DZ-Tu for guix-patches@gnu.org; Wed, 24 Mar 2021 21:06:07 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lPERr-0000iR-Pd for guix-patches@gnu.org; Wed, 24 Mar 2021 21:06:07 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#47350] [PATCH v2 17/30] gnu: Add julia-chainrulestestutils. Resent-From: zimoun Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 25 Mar 2021 01:06:07 +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.16166343542557 (code B ref 47350); Thu, 25 Mar 2021 01:06:07 +0000 Received: (at 47350) by debbugs.gnu.org; 25 Mar 2021 01:05:54 +0000 Received: from localhost ([127.0.0.1]:36631 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lPERd-0000f5-Ul for submit@debbugs.gnu.org; Wed, 24 Mar 2021 21:05:54 -0400 Received: from mail-wr1-f46.google.com ([209.85.221.46]:40753) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lPERG-0000aJ-RA for 47350@debbugs.gnu.org; Wed, 24 Mar 2021 21:05:31 -0400 Received: by mail-wr1-f46.google.com with SMTP id v11so601550wro.7 for <47350@debbugs.gnu.org>; Wed, 24 Mar 2021 18:05:30 -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=ZZRr2ACuFiE0Lm3dyWtYpkiut7PIZ2u0mx7hK0CA148=; b=EOBKTB4AJf1B8CGDfwhuTWfgvzB1dasWmxk72lA44j/vmjTka2rax6ly15RtHSrnDR EuzJ4A2zkzerdwi4cND5fnbVOMbVaJyEJu5tHAcwzBbvyRqWB9NUCMUQAvY5lTkVEn1d UhYDbakQM/NOpJUlmgpFt8O9USSOAgBZqcLXbFKzT++DQbKM7zjvfjLvLC/dGecIhHMa i8v8dAdL8fiNxt7zDUcQnrXByVa1qSpRu7RyG2eM9+KiPDTSGJYba70KkuaTkZaKVh0j 6Ck/TADIHEjVCmQngM1J3AprHZwywyJtl/b/wHI1mfDBWiVzrfSR5hqryfaTy1FgIGOj FuSw== 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=ZZRr2ACuFiE0Lm3dyWtYpkiut7PIZ2u0mx7hK0CA148=; b=PxXAdSE1VyIRKfDVQqeO8EAX3p4GzVHwxuTvHNdIqhC7W8IF4KGVY6126OzBnTKG6H jMWjMnGzvudm+J/Zd8N8W/yAEDjhfFYzA74zMokCoo1SM7Ri+Q6DqycideVlhXJ4ybo8 Shdg4u+SYY+/8vTa3eOfzPnyUbbP5gTuDyyoGuVl9v/GvNYs0i/Umv9zpeavrFmeaXLI vfZ08BiUYZJJieFP5xm/v51u2rgyMYxVpQJogR1So5mF/srsyFeCmXmGZ3k3iOq/FpgT 8sL5KNWSP8deKXFVgefb65tLg6iqRpjRpFbkeI6WGTGHjHlPEHxKcKXkY2fj3QZAYvjP be/Q== X-Gm-Message-State: AOAM533tADGSFtGqA8IkhJ0LerH5yN0PBlOw9k0etC9ffDCUM8mMu0sZ k7f9QtauFE56l8VLsywHMCQ01/QiX68= X-Google-Smtp-Source: ABdhPJyLMnJPLaHrCvyEAmowA5kpbMlghBNIvBL5U+FleTmONWOrXgyuLnOAn9ShzywcmAYEKAFEcg== X-Received: by 2002:adf:e791:: with SMTP id n17mr6024361wrm.322.1616634325359; Wed, 24 Mar 2021 18:05:25 -0700 (PDT) Received: from pfiuh02.univ-paris-diderot.fr ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id w6sm5208488wrl.49.2021.03.24.18.05.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Mar 2021 18:05:25 -0700 (PDT) From: zimoun Date: Thu, 25 Mar 2021 02:05:04 +0100 Message-Id: <20210325010516.18994-16-zimon.toutoune@gmail.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20210325010516.18994-1-zimon.toutoune@gmail.com> References: <20210325010516.18994-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=1616634466; 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=ZZRr2ACuFiE0Lm3dyWtYpkiut7PIZ2u0mx7hK0CA148=; b=i+um/9p38S47zQHfR7v8PvqMfQgU7Lhy9jep5ap+QElfn2rgYW+Rv6N6RQwAic61mkuSSz Y7oQxoMyJgkR0RPXxO7zAfKtq7Rs9wtYGXzQLZTrjpzEu0fYjDx8fED9McHQiJefU6OGB9 Dkl1fktTHiqAawfZzmbcBvE0JBKWHCoquJh4Dyg+1Di3kiUNIXqFRRFW5g2TUvXc5YDSMa 47xUQJ7eC2jIMHfL8jrv2/diOHstpzFmkJD68SwDpg7D5/f+17qTRB/XRRhvUTw3pu+c4W jXiweUOVz3bHQ0KakkrWT1IRMaWr1OPBKiQJTbemm+wmixZlU9dfc1xx9wKEGA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1616634466; a=rsa-sha256; cv=none; b=ZECbn6H3xeY9wiTr9nllNq7HZLnBVDWt+D4cWk+nTIFxb3XJ+bluV/mTsl+DDk8eM6wvjU tsRE7NGzgGl+oRyTWVgV9rwJ2ZUPV9C4LWi7loED2eH3Q/NWVwayN9/vk3xuyqRiCOH9Eu FPcrw5CabQC1APoW+rX7nLhah+5TtdEE2BsKj3FL+GUNEW0FXphBCJYIduWI3bktuubYs5 kYwc3gTPh/gDNGdSxGBNUelz9DFhO+1NlV02nqrJBxtLWbG8sMtigpSs39WjbE2dX79jsu NdZaDdFBiM0AOaa5AqIoYyw7yE8nWHSDdRMBE1jxrJM7uFveZkkgy8khjGWyYg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=EOBKTB4A; 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=EOBKTB4A; 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: 4BF141AA61 X-Spam-Score: 2.68 X-Migadu-Scanner: scn0.migadu.com X-TUID: 0Gipth+ML64l * 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 ed05af6497..4e63c04c5e 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