From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id UCwVGcMyWWX3pAAA9RJhRA:P1 (envelope-from ) for ; Sat, 18 Nov 2023 22:55:15 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id UCwVGcMyWWX3pAAA9RJhRA (envelope-from ) for ; Sat, 18 Nov 2023 22:55:15 +0100 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 486DA17E85 for ; Sat, 18 Nov 2023 22:55:15 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=troyfigiel.com header.s=MBO0001 header.b=oAx3DI12; dmarc=fail reason="SPF not aligned (relaxed)" header.from=troyfigiel.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1700344515; a=rsa-sha256; cv=none; b=HqHDayrmPEraUFUgmAOAXNKdP4GD37jLcW/+y4ZMOF2NNhS8fZONJBwoI5ydtYvzzpagj9 d5XijQEqIPxHwKXvUJCZx9ZG5q+NeyvYsyfho3kvCpyFq6IQ7tPIDdnyCxTaUa9GrYnfZE Gq3r7DA/BGKFgQDVX2xh19SCqbUo/q6yHz/q7G2t9Ho1Hait0SQGIZeY9e3g4UTPHJUNrL Q8KCGxEeMIlS+XlQwGrdzjN/s2Tz47nieHuzzNrXpyWZ0OpVx5pMFKX3Vk9DACwaYL+i62 g0mlSNR4MptrL0qpRUmgKetlicd7RrA+VLEXLMNQpEy3AX8L5fZOMoIHDM4PqQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=troyfigiel.com header.s=MBO0001 header.b=oAx3DI12; dmarc=fail reason="SPF not aligned (relaxed)" header.from=troyfigiel.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1700344515; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: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=n9e7g0EzhFD3IdcoAYuoK2A3Owgq2qieJM4yoWgwYjo=; b=LiYKCYTnUSdxtakOmWP5FENU4F6ZwXVgsveJQFaIT2NWYI6YZbKXCN21c7lkY53xf7hybk 52mwGQegLqoedHPSybPF2AiRODgYkQWxCVX0DRlR/jxTxtjonqubHe9Y918QP/2Ffn8jSE t/f/VRX6F9+Hxc6hujXkfAfdkf7Nixtn2i5m+4saxDNYzQ5yImLzXum3wWwfKX9AZiPEe/ XsFZih2Txu5Cm+r9KLJ5v+cKlAaX1yRsX87CxCq97ptTq9uKeXrlbNQCy4PJZzGdAWabnI KJn+HPI2sH4b56Uf6o3MjbuYwbRGdOjFIUR1mukX7Ejfi6fNyk7GJI/McVrkLQ== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r4THK-0005SN-JV; Sat, 18 Nov 2023 16:55:02 -0500 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 1r4THJ-0005SB-4Z for guix-patches@gnu.org; Sat, 18 Nov 2023 16:55:01 -0500 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 1r4THI-0000Cg-RE for guix-patches@gnu.org; Sat, 18 Nov 2023 16:55:00 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1r4THJ-0005jC-Pl for guix-patches@gnu.org; Sat, 18 Nov 2023 16:55:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#67265] [PATCH 3/3] gnu: Add python-ripser. References: <87il5yag2m.fsf@troyfigiel.com> In-Reply-To: <87il5yag2m.fsf@troyfigiel.com> Resent-From: Troy Figiel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 18 Nov 2023 21:55:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67265 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 67265@debbugs.gnu.org Received: via spool by 67265-submit@debbugs.gnu.org id=B67265.170034448721991 (code B ref 67265); Sat, 18 Nov 2023 21:55:01 +0000 Received: (at 67265) by debbugs.gnu.org; 18 Nov 2023 21:54:47 +0000 Received: from localhost ([127.0.0.1]:49597 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r4TH5-0005id-85 for submit@debbugs.gnu.org; Sat, 18 Nov 2023 16:54:47 -0500 Received: from mout-y-209.mailbox.org ([91.198.250.237]:52804) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r4TH2-0005iO-Gn for 67265@debbugs.gnu.org; Sat, 18 Nov 2023 16:54:45 -0500 Received: from smtp1.mailbox.org (smtp1.mailbox.org [IPv6:2001:67c:2050:b231:465::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-y-209.mailbox.org (Postfix) with ESMTPS id 4SXncC3t7hz9svY for <67265@debbugs.gnu.org>; Sat, 18 Nov 2023 22:54:35 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=troyfigiel.com; s=MBO0001; t=1700344475; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=n9e7g0EzhFD3IdcoAYuoK2A3Owgq2qieJM4yoWgwYjo=; b=oAx3DI126z0a2vMoc0U4YVr2mK8IjJ7JwYewJh07ZkSjXAuCNvra+RD1Ub4MOfJnrG9deC RsrNUxxHn/yuyjV0hh7ninafM0OztbDZru0puMnhTADaDDrrOIYbEWjgpl5XvMQ5E6gmKJ T/KHfV1P+QxREHQOQdv4hB13N/jV5JPMwJBXm6AarT4zxjchNSIKCUt6eFa/dT2ujPSpWl S2LTriTwDSYSa4m8ojmLYHqpTt6DlOjAt2p9MEhiZEEAcynrPanE4XmWuo4QAgq9PESGtZ QmDgMpkuPwnWa3AWwsM4gQPnOO+NgJV9Syybwg9kD0QAJG5onBAJ/E4XEKW0FQ== From: Troy Figiel Date: Sat, 18 Nov 2023 22:54:35 +0100 Message-ID: <87edgmafs4.fsf@troyfigiel.com> MIME-Version: 1.0 Content-Type: text/plain X-Rspamd-Queue-Id: 4SXncC3t7hz9svY 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: 486DA17E85 X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -5.10 X-Spam-Score: -5.10 X-TUID: glpoy4Q9OAXx * gnu/packages/machine-learning.scm (python-ripser): New variable. Change-Id: I21b42e555a5017e68cf43a6eaa19d991db36723d --- gnu/packages/machine-learning.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm index e315be7f9f..8987688ae8 100644 --- a/gnu/packages/machine-learning.scm +++ b/gnu/packages/machine-learning.scm @@ -873,6 +873,34 @@ (define-public python-persim ") (license license:expat))) ; MIT License +(define-public python-ripser + (package + (name "python-ripser") + (version "0.6.4") + (source + (origin + (method url-fetch) + (uri (pypi-uri "ripser" version)) + (sha256 + (base32 "1575nwsn6b29z7w1mjk23ri83bxq2b4ld979hpgm174642a3x6vs")))) + (build-system pyproject-build-system) + (propagated-inputs (list python-numpy python-persim python-scikit-learn + python-scipy)) + (native-inputs (list python-cython python-pytest)) + (home-page "https://ripser.scikit-tda.org") + (synopsis "Persistent homology library for Python") + (description + "This package implements a variety of persistent homology algorithms. It +provides an interface for +@itemize +@item computing persistence cohomology of sparse and dense data sets +@item visualizing persistence diagrams +@item computing lowerstar filtrations on images +@item computing representative cochains +@end itemize +") + (license license:expat))) ; MIT License + (define-public python-sacrebleu (package (name "python-sacrebleu") -- 2.40.1