From patchwork Sun Aug 4 22:16:01 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Elsing X-Patchwork-Id: 66721 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id AAD6127BBEA; Sun, 4 Aug 2024 23:18:17 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_VALIDITY_CERTIFIED, RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE,SPF_HELO_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id B541C27BBE2 for ; Sun, 4 Aug 2024 23:18:16 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sajY0-0007dZ-HL; Sun, 04 Aug 2024 18:17:52 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sajXx-0007bI-Kb for guix-patches@gnu.org; Sun, 04 Aug 2024 18:17:49 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sajXw-0000tI-M8 for guix-patches@gnu.org; Sun, 04 Aug 2024 18:17:49 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=6hKNPnQbZ6G6O7cVj2vUitRAHycsSyXUTWckNgaC7ZQ=; b=bUJd15rIRXJirsJZxCDr1aYEutbtnoFA9k0/dV4PpK6ASdBd9pEFmOMc7tXdP2hfIyV+rkJvlYmtPSChfFNSvaJEIM9YG2pUpVD5+mbb860p8nbKa5HYQhvKAtrlwsbzhlzMPqoHoCw4ISnPJoIwm0CssMY2U169RgeshK5G4JhfpkniciRLHie5BOn7pNuUh4IzSbvCJc3UghTzVJ9GOoUApTpDxWsMtEk2gbjr8n/d5GXN8XhNPP+yM+/T60rewgz/22RAXYecaruPYRFlx9vHVv9tOs1AKRJ+0BMqSryc4Mw7CbFkyUyoKz45X4NCAMiL3fdBolVzU7br0rL91w==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sajYI-0004U3-6K for guix-patches@gnu.org; Sun, 04 Aug 2024 18:18:10 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#72471] [PATCH 23/24] gnu: python-torchmetrics: Update to 1.4.1. Resent-From: David Elsing Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 04 Aug 2024 22:18:10 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72471 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 72471@debbugs.gnu.org Cc: David Elsing Received: via spool by 72471-submit@debbugs.gnu.org id=B72471.172280987217020 (code B ref 72471); Sun, 04 Aug 2024 22:18:10 +0000 Received: (at 72471) by debbugs.gnu.org; 4 Aug 2024 22:17:52 +0000 Received: from localhost ([127.0.0.1]:57519 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sajXz-0004QL-V7 for submit@debbugs.gnu.org; Sun, 04 Aug 2024 18:17:52 -0400 Received: from mout02.posteo.de ([185.67.36.66]:42341) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sajXf-0004Lk-Fb for 72471@debbugs.gnu.org; Sun, 04 Aug 2024 18:17:34 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 4D4F9240101 for <72471@debbugs.gnu.org>; Mon, 5 Aug 2024 00:17:04 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1722809824; bh=ZhVnvrJEdyUzj04kRu5hSQNLQk1vWW2Qyyx0DPTaetw=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version: Content-Transfer-Encoding:From; b=d4jOg3U1y9ZX0TrjP56NaTnr1/89qm+G5+N95VjXGbZ1bAeHqeoL0+URl17tYhJSi t4sXk7ZZcdims/4dHQuH/gy12vv4k0gb3K5AakkZYknOlcv6T5y8f33f7oy7ujJLQc IiQWtbMDp0ftMuIU1L0GFdT6nDCqPWLqgdd7Ll+oCZajs5te2oAZjpjHPnBwwjuXeT slbWsBAumsZvDd93FpC88ayaFv/NfsAkddPn7g2bA4rPrRbiwIBOWo2agkvCauA4QI j4tlMSAJg2ChzlpN3HylDUCQ2H3AGDE4eZSbet403ofre+yPnc0/w1OTe5uZpuanTy fwEUrFlCa5xMA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4WcYp770zjz6txL; Mon, 5 Aug 2024 00:17:03 +0200 (CEST) From: David Elsing Date: Sun, 4 Aug 2024 22:16:01 +0000 Message-ID: <20240804221635.3805-23-david.elsing@posteo.net> In-Reply-To: <20240804220847.15842-1-david.elsing@posteo.net> References: <20240804220847.15842-1-david.elsing@posteo.net> MIME-Version: 1.0 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+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/machine-learning.scm (python-torchmetrics): Update to 1.4.1. [source]: Switch to GitHub repository. [arguments]: New field. [propagated-inputs]: Add python-lightning-utilities. [home-page]: Update URL. --- gnu/packages/machine-learning.scm | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm index 85db721ebd..5449e884d5 100644 --- a/gnu/packages/machine-learning.scm +++ b/gnu/packages/machine-learning.scm @@ -5281,17 +5281,25 @@ (define-public python-pytorch-lightning (define-public python-torchmetrics (package (name "python-torchmetrics") - (version "0.11.4") + (version "1.4.1") (source (origin - (method url-fetch) - (uri (pypi-uri "torchmetrics" version)) + (method git-fetch) + (uri (git-reference + (url "https://github.com/Lightning-AI/torchmetrics") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 (base32 - "150lcy6c20n42rwxl4d3m1b8s4js9ddds5wh3685vmjdnha5mr0z")))) + "0371kx2fpp46rlhzkafa7397kp1lirgykpzk9g12kxsqypb67v1l")))) (build-system pyproject-build-system) + (arguments + (list + ;; Tests require many additional dependencies + #:tests? #f)) (propagated-inputs (list python-numpy python-packaging python-pytorch - python-typing-extensions)) + python-typing-extensions + python-lightning-utilities)) (native-inputs (list python-cloudpickle python-coverage @@ -5311,7 +5319,7 @@ (define-public python-torchmetrics python-scipy python-types-protobuf python-types-setuptools)) - (home-page "https://github.com/Lightning-AI/metrics") + (home-page "https://github.com/Lightning-AI/torchmetrics") (synopsis "Machine learning metrics for PyTorch applications") (description "TorchMetrics is a collection of 100+ PyTorch metrics implementations and an easy-to-use API to create custom metrics. It offers: