From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id CMN5AThnRmVXcwAAauVa8A:P1 (envelope-from ) for ; Sat, 04 Nov 2023 16:46:00 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id CMN5AThnRmVXcwAAauVa8A (envelope-from ) for ; Sat, 04 Nov 2023 16:46:00 +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 C79813B9D5 for ; Sat, 4 Nov 2023 16:45:59 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=ifiOWYUD; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (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=1699112759; a=rsa-sha256; cv=none; b=mjW745n5BgevAe7mKleIs0UHr1aI89DvuPLi6fY7UWQXSPB7/e8BpKLnvLB0yoVnE7adAj BeozCfkIeRfhkn2DUJOfr/VdvoQqU8jZ+Wo736KDQ31oTuqdfh9nNGoBi4DuHbkH4cmPOy XkZNiraH9uK6A2p1uUXSKV1+GwjaC5Ollxv+k5+35AJB2tTCDLUB0Bct3OETW0qBiqv9xL wL8nLsNxiSlszVkr69G04Oy+KZ6wS1U1ptIpMa9qIoSe4tfyq5Dwn3nVDRL8P6n4g9In1H wEUr3w+9GtYlz5uozQ/ftPfuQYkbJWEmObv26jPzxRrrinNj8ya0JH31h8m+2Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1699112759; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: 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=JzMgJZAnaTj6Jyz8GxrQU/dukVAbpeIXp9HYA87IP4c=; b=LrHvbroZeEwhH64O85JkgYfEDQ0Q5UX6phbSwBirH+hG+d6DjP1kQUaTcv9aVHAICPP7n0 8rjs6BMEFnAZYs3gcB+iDgCMSqwc0gnY8OfDZbdOewwdhKPMzUm8QxiePvGutzXrZtfPG+ vbh1LXtilQLUvPS7wTWKAmGLQQFQoIVWktqqTfiDF7G5l4mZnBlw7gicwEPeBuvCbjp7HX ixxtitSpWoFFSGXua3yw9ciDzDZlt9/L4ZxThCGlFofJYPxBFUJ3b9cc4eXyJQUv1IiaNP VNTqvmUMxcWSSjZElxvvYOsz2WNqc0gRqU/zZKcob28WU7IZbFvTobrBg8QH0g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=ifiOWYUD; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (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" Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qzIq2-0000Ql-6L; Sat, 04 Nov 2023 11:45:30 -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 1qzIpz-0000Py-SJ for guix-patches@gnu.org; Sat, 04 Nov 2023 11:45:27 -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 1qzIpy-0005yt-6T for guix-patches@gnu.org; Sat, 04 Nov 2023 11:45:27 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qzIqY-0006RA-Am for guix-patches@gnu.org; Sat, 04 Nov 2023 11:46:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#64258] [PATCH v2 1/2] gnu: Add python-daft. Resent-From: Felix Gruber Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 04 Nov 2023 15:46:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64258 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 64258@debbugs.gnu.org Cc: Felix Gruber Received: via spool by 64258-submit@debbugs.gnu.org id=B64258.169911270924655 (code B ref 64258); Sat, 04 Nov 2023 15:46:02 +0000 Received: (at 64258) by debbugs.gnu.org; 4 Nov 2023 15:45:09 +0000 Received: from localhost ([127.0.0.1]:35621 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qzIph-0006Pa-8l for submit@debbugs.gnu.org; Sat, 04 Nov 2023 11:45:09 -0400 Received: from mout01.posteo.de ([185.67.36.65]:53005) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qzIpe-0006On-K9 for 64258@debbugs.gnu.org; Sat, 04 Nov 2023 11:45:08 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id BAA8C240028 for <64258@debbugs.gnu.org>; Sat, 4 Nov 2023 16:44:24 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1699112664; bh=s8Pf5g1CLZOkmUVAD+uxzLHn5zjqMXEh3YV4u6JjtPc=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version: Content-Transfer-Encoding:From; b=ifiOWYUDrtqbcUrItCRFyTfrPKAYas3Qoc7/dZ8ZINrmLuyZYivYXlocz+q3AE4k+ LW4asgDz1pIVDBXmUVbvzqel3vOZFIwf/G9YtliC3gkbIYOiKP5FZP6J7pqK9pMXZA /3ml4tAsesWFrYCyvEHtku1vRlve0cUz9QZtsqLBOYZ0hrDTYmrWilAq2GKpmLp5b+ vei6XEU/pEoIa7BMKC6n5JGRpvshfoXReJBmgFI/NNDdKZIdwQO/fqOfpG/3jGmTRX Vp/yXYG6AZjXu3y6csf5XyH6Qm+ZxigSAepPHZdZRNHvOscau+ITRuqdwVw5sQH7Ot OGFHb08KCq9jw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4SN23X2PsGz6ty7; Sat, 4 Nov 2023 16:44:24 +0100 (CET) From: Felix Gruber Date: Sat, 4 Nov 2023 15:43:04 +0000 Message-ID: In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx11.migadu.com X-Spam-Score: 3.69 X-Migadu-Queue-Id: C79813B9D5 X-Migadu-Spam-Score: 3.69 X-TUID: BmbBRDzIys4+ * gnu/packages/python-xyz.scm (python-daft): New variable. Change-Id: I546556c825662e5b8bff46e5a78e7c98c8cc55ed --- gnu/packages/python-xyz.scm | 49 ++++++++++++++++++++++++++++++++++++- 1 file changed, 48 insertions(+), 1 deletion(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index e521c1580d..1dfaa2480d 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -108,7 +108,7 @@ ;;; Copyright © 2021 Simon Streit ;;; Copyright © 2021, 2022, 2023 Daniel Meißner ;;; Copyright © 2021, 2022 Pradana Aumars -;;; Copyright © 2021, 2022 Felix Gruber +;;; Copyright © 2021, 2022, 2023 Felix Gruber ;;; Copyright © 2021 Sébastien Lerique ;;; Copyright © 2021 Raphaël Mélotte ;;; Copyright © 2021 ZmnSCPxj @@ -4157,6 +4157,53 @@ (define-public python-pomegranate Cython for speed.") (license license:expat))) +(define-public python-daft + (package + (name "python-daft") + (version "0.1.2") + (source (origin + (method url-fetch) + (uri (pypi-uri "daft" version)) + (sha256 + (base32 + "1r8jsfavd624q2q61f863lk6has6mv5csswh39saafd5khwf0xry")))) + (build-system pyproject-build-system) + (arguments + (list + #:test-flags + '(list "-k" + (string-append + ;; The following tests compare matplotlib output with + ;; previously generated images. They fail due to minor + ;; differences in where matplotlib places labels. + "not test_bca[png]" + " and not test_classic[png]" + " and not test_deconvolution[png]" + " and not test_exoplanets[png]" + " and not test_fixed[png]" + " and not test_gaia[png]" + " and not test_galex[png]" + " and not test_huey_p_newton[png]" + " and not test_logo[png]" + " and not test_no_circles[png]" + " and not test_no_gray[png]" + " and not test_recursive[png]" + " and not test_thick_lines[png]" + " and not test_weaklensing[png]" + " and not test_wordy[png]")))) + (propagated-inputs (list python-matplotlib python-numpy)) + (native-inputs (list python-pytest)) + (home-page "http://daft-pgm.org") + (synopsis "PGM rendering library") + (description "Daft is a Python package that uses matplotlib to +render pixel-perfect probabilistic graphical models for publication in +a journal or on the internet. With a short Python script and an +intuitive model-building syntax you can design directed (Bayesian +Networks, directed acyclic graphs) and undirected (Markov random fields) +models and save them in any formats that matplotlib supports (including +PDF, PNG, EPS and SVG).") + (license license:expat))) + (define-public python-portalocker (package (name "python-portalocker") -- 2.42.0