From patchwork Thu May 12 14:55:57 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Polidoro X-Patchwork-Id: 39230 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 8B8AC27BBE9; Thu, 12 May 2022 16:03:15 +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=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable 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 DFA7C27BBEA for ; Thu, 12 May 2022 16:03:13 +0100 (BST) Received: from localhost ([::1]:41786 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1npALR-0007D7-1o for patchwork@mira.cbaines.net; Thu, 12 May 2022 11:03:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59662) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1npALG-0007Cy-RC for guix-patches@gnu.org; Thu, 12 May 2022 11:03:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:48064) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1npALG-0006i9-Ii for guix-patches@gnu.org; Thu, 12 May 2022 11:03:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1npALG-0005Yv-CN for guix-patches@gnu.org; Thu, 12 May 2022 11:03:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55188] [PATCH] gnu: Add python-vitables. Resent-From: Peter Polidoro Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 12 May 2022 15:03:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55188 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Mathieu Othacehe Cc: 55188@debbugs.gnu.org Received: via spool by 55188-submit@debbugs.gnu.org id=B55188.165236772621299 (code B ref 55188); Thu, 12 May 2022 15:03:02 +0000 Received: (at 55188) by debbugs.gnu.org; 12 May 2022 15:02:06 +0000 Received: from localhost ([127.0.0.1]:41961 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1npAKL-0005XS-Rb for submit@debbugs.gnu.org; Thu, 12 May 2022 11:02:06 -0400 Received: from firebrick.ash.relay.mailchannels.net ([23.83.222.59]:25256) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1npAKH-0005Wv-HY for 55188@debbugs.gnu.org; Thu, 12 May 2022 11:02:04 -0400 X-Sender-Id: dreamhost|x-authsender|peter@polidoro.io Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 8681E5A1554; Thu, 12 May 2022 15:01:57 +0000 (UTC) Received: from pdx1-sub0-mail-a277.dreamhost.com (unknown [127.0.0.6]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 2905C5A0B90; Thu, 12 May 2022 15:01:49 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1652367709; a=rsa-sha256; cv=none; b=8pVppevp21yIWL+asihIBw5Mxjm0N3EcZPtGe5J2+YiNrKVVOs3Avhr+VD03DklI8UOBqH 9SzQ4xIH0FiQXQ03Z23N7mo4QGzmwDPf/IppNjoo3FpO+ojfvpOtiLg4mbSHEdmriPH+Tv zs1y/5J8vuz769E71mPIYrKMc+A8T6b0hhEkZzMyMsnj1nW73NSDf5NOP6OpkLYVHayny3 xhkhXoEc74s2pxNmTdp3h7yevdKLdAtgC7ww8IDCjOYleer9yPnfRcnwpX+AHvA/WmO9lF Ym3c3SSM6f+tYcJWCPtg2daRxeSKnNNKuW11dlubQSzenDrSazrX5J7E0lkU6w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1652367709; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references:dkim-signature; bh=CVKthWga+RxlnBQeualHINnrmeN4a59UGcuN4ecw0Yg=; b=b/2fgtAa/bRy02bNkq2K5Box7qjqtLO2BRMJn7zCBPXtugsJu/pGNfdXcN8nEX9Ry9llFT auBHn3908EPqWb8h4vewWT3FERF3zw1ay+yPhJdTGeDb3xXhFHw6ZBXD8z3888g0SqAgZH AazBvEvJ/n/MjxHgnq03PPZPV0Gn6G8xTDLgxFgABEmAbml1Lm3hjySrn4xtx9kykLJvBG mOzhP/4IUXnRK8+93s+94pJL6GcX2yvJEyL7Ey1Y5AIpPpzX73dhSy7PdmyLxt0h2bAHpJ ZlwW1BhgJV8aW8Ac7Bng+NQ3YvLVmaBbwJhElVN9NzxC3PhdQgkOVvL37InmMg== ARC-Authentication-Results: i=1; rspamd-554c8f6c56-vqpds; auth=pass smtp.auth=dreamhost smtp.mailfrom=peter@polidoro.io X-Sender-Id: dreamhost|x-authsender|peter@polidoro.io X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|peter@polidoro.io X-MailChannels-Auth-Id: dreamhost X-Bottle-Slimy: 6bab8b0a2d4802de_1652367717292_59945909 X-MC-Loop-Signature: 1652367717292:2594820732 X-MC-Ingress-Time: 1652367717292 Received: from pdx1-sub0-mail-a277.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.125.123.55 (trex/6.7.1); Thu, 12 May 2022 15:01:57 +0000 Received: from knave (unknown [206.241.0.254]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: peter@polidoro.io) by pdx1-sub0-mail-a277.dreamhost.com (Postfix) with ESMTPSA id 4KzZk36rgHz1Vc; Thu, 12 May 2022 08:01:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=polidoro.io; s=dreamhost; t=1652367708; bh=CVKthWga+RxlnBQeualHINnrmeN4a59UGcuN4ecw0Yg=; h=From:To:Cc:Subject:Date:Content-Type; b=Ph7UnowaP0B+6wnEG5onafnPNPdeXwZsGLv1v6X96RMlVg33cDTsTiZdXSHGIE0+H h+9M7ZokkuXH3HAvegXODMxxGx/5bNlmPmwPHpCYIwxTNLR/o0Yn9iuizwqn4SlQqf oMDJP+S04oA8fb2o+BmUsxC/x0NjEllXgvtFgO1h/uBZi6dwXK/MBoEj3TxEfmawqd F0u2hsjQxbHrJwCyXeHqqFv9is6mx8b/FRoilBzmp+n7/zUqSrXq/cymYNL93rLa6q LgesV+qx0KF891kN4MSkVGRaWhjEnUginVPmXpPRV/qrvk1wV9Ev6owKfr13IqDKab y0XoAQsm0ChDg== References: <86levnizgk.fsf@polidoro.io> <87tu9zjbp9.fsf@gnu.org> User-agent: mu4e 1.6.10; emacs 27.2 From: Peter Polidoro Date: Thu, 12 May 2022 10:55:57 -0400 In-reply-to: <87tu9zjbp9.fsf@gnu.org> Message-ID: <86bkw2aj73.fsf@polidoro.io> 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" X-getmail-retrieved-from-mailbox: Patches Hi, I have made changes you suggested to the description and have attached a new patch, thank you. I tried to get the tests to run, but they have errors and I do not know enough yet to fix them myself: qt.qpa.xcb: could not connect to display qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found. Is it possible to get tests like this to work when building packages in isolated environments? Or is it necessary to disable these tests? Thank you for your time! Mathieu Othacehe writes: > Hello Peter, > >> + (arguments >> + `(#:tests? #f)) > > You should add a comment stating why the tests are disabled. > Because > there are no tests or because they are failing, and if so why? > >> + (description "ViTables is a GUI for browsing and editing >> files in both >> +PyTables and HDF5 formats. ViTables capabilities include easy >> navigation >> +through the data hierarchy, displaying of real data and its >> associated >> +metadata, a simple, yet powerful, browsing of multidimensional >> data and much >> +more. As a viewer, one of the greatest strengths of ViTables >> is its ability to >> +display very large datasets.") >> + (license license:gpl3))) > > The description could be more neutral: you could remove the "yet > powerful" and "much more" parts. The last sentence could also be > reworded: "As a viewer, ViTables is able to display very large > datasets." > feels more factual. > > Could you send an updated patch :) ? > > Thanks, > > Mathieu From 693b8cf04dfd6a6c74e9d6d232a3a1f8aadb763c Mon Sep 17 00:00:00 2001 Message-Id: <693b8cf04dfd6a6c74e9d6d232a3a1f8aadb763c.1652367274.git.peter@polidoro.io> From: Peter Polidoro Date: Thu, 12 May 2022 10:53:48 -0400 Subject: [PATCH] gnu: Add python-vitables. * gnu/packages/python-xyz.scm (python-vitables): New variable. --- gnu/packages/python-xyz.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 659538d193..ed6992721b 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -29884,3 +29884,35 @@ (define-public python-deepmerge "The @code{deep-merge} Python library provides a toolset to deeply merge nested data structures in Python like lists and dictionaries.") (license license:expat))) + +(define-public python-vitables + (package + (name "python-vitables") + (version "3.0.2") + (source + (origin + (method url-fetch) + (uri (pypi-uri "ViTables" version)) + (sha256 + (base32 "1vk80a8jbg0phxgf31rnm7gq34mllv7hb5h0bypz4kv7n3150iln")))) + (build-system python-build-system) + (native-inputs + (list python-pytest + qtbase-5)) + (propagated-inputs + (list python-numexpr + python-numpy + python-pyqt + python-qtpy + python-tables)) + ;; tests fail with qt.qpa.xcb: could not connect to display error + ;; (arguments + ;; `(#:tests? #f)) + (home-page "https://vitables.org") + (synopsis "GUI for browsing PyTables and HDF5 files") + (description "ViTables is a GUI for browsing and editing files in both +PyTables and HDF5 formats. ViTables capabilities include navigation through +the data hierarchy, displaying of real data and its associated metadata, and +browsing of multidimensional data. As a viewer, ViTables is able to display +very large datasets.") + (license license:gpl3))) -- 2.36.0