From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id gHWMN8UBY2IoHQEAbAwnHQ (envelope-from ) for ; Fri, 22 Apr 2022 21:28:05 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id uIqAN8UBY2IWbgAAauVa8A (envelope-from ) for ; Fri, 22 Apr 2022 21:28:05 +0200 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 8943F2FFA8 for ; Fri, 22 Apr 2022 21:28:05 +0200 (CEST) Received: from localhost ([::1]:40128 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nhywm-0005Sg-A9 for larch@yhetil.org; Fri, 22 Apr 2022 15:28:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50388) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nhyvn-0005Rs-5f for guix-patches@gnu.org; Fri, 22 Apr 2022 15:27:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:60790) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nhyvm-00052o-LO for guix-patches@gnu.org; Fri, 22 Apr 2022 15:27:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nhyvm-0006XR-GO for guix-patches@gnu.org; Fri, 22 Apr 2022 15:27:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55060] [PATCH 5/6] gnu: Add python-scooby. Resent-From: "Paul A. Patience" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 22 Apr 2022 19:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55060 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Maxime Devos Cc: 55060@debbugs.gnu.org Received: via spool by 55060-submit@debbugs.gnu.org id=B55060.165065559925102 (code B ref 55060); Fri, 22 Apr 2022 19:27:02 +0000 Received: (at 55060) by debbugs.gnu.org; 22 Apr 2022 19:26:39 +0000 Received: from localhost ([127.0.0.1]:54687 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nhyvO-0006Wo-L8 for submit@debbugs.gnu.org; Fri, 22 Apr 2022 15:26:38 -0400 Received: from mail-4323.proton.ch ([185.70.43.23]:22973) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nhyvL-0006WZ-KJ for 55060@debbugs.gnu.org; Fri, 22 Apr 2022 15:26:37 -0400 Date: Fri, 22 Apr 2022 19:26:24 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=apatience.com; s=protonmail2; t=1650655588; bh=Rf5T5Yw/yJtoghV+i0lSbg6wIiw1L4eUPT4HC9g8XNA=; h=Date:To:From:Cc:Reply-To:Subject:Message-ID:In-Reply-To: References:Feedback-ID:From:To:Cc:Date:Subject:Reply-To: Feedback-ID:Message-ID; b=R2qxfWJU8+OfIFiqtuREdyUqzr6lTgoheGbqgO9gPwm2eRq6zXKIsVKkgWfu9zxTS oPrgzgava/toqU2DLdCxAmT2thn4od8+YDRf8NuDKPbboBQcO0R39iByYUZutv480B FRJhAvQ+YglF4TJM9LDoAnXKFBKj5FymsMKCOsBiSa2QT/mo6T/MZJ8wN6v/vxevED g7Ry3vbHJl35mpu7HQ8FiTvAwbvjMWyMMZ55Zp7imZomAAAtui3UzXEY277G6DSKKo lj4ttTP+EcR9Db2/DiWcDIJY3nKuPDMnTwyrJYpdAC32ZMdky1sopwOlw5YUu51MNc Wze7nhZr8TsBQ== From: "Paul A. Patience" Message-ID: <87a6cd6ik4.fsf@apatience.com> In-Reply-To: <0cbdfb3ef04e504737782aa368021cdad9fe9404.camel@telenet.be> References: <20220422010244.23280-1-paul@apatience.com> <20220422010244.23280-5-paul@apatience.com> <0cbdfb3ef04e504737782aa368021cdad9fe9404.camel@telenet.be> Feedback-ID: 19227857:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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: , Reply-To: "Paul A. Patience" Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1650655685; h=from:from:sender:sender:reply-to: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=Rf5T5Yw/yJtoghV+i0lSbg6wIiw1L4eUPT4HC9g8XNA=; b=mqBWurYFyGAH89doO5KualIcKW74DxcltPyDs6yXemwDbBM0puoSZK+T5dz6ngypaOnHtq /LfYChYpZ82i6K7DZD6JZghFnntIGas8e0gviI303Nf5tSW7nxwuu2kPk8ltqiXhNT1+ay 2Tyntg0smiwk14WUFWU9GRLq9jB5RdQM87u5VPbmVA+t/YGajUEbMOcfeg+DEZMQ0GHQLN bbCMCzOPctNlNk0l7borD9vsI5vH2ch3cSwGEcUdKTQduL7X+jYPxM1Kp8npU+TOjStwsN WbiI/UoPfv4X9zIhSzjqB7NU0KTgmc3jFxC2u/WE44NjA/cUkozi6ZPJRap5UQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1650655685; a=rsa-sha256; cv=none; b=fvmhzNu6m4bDsw+oOvZaeU2CtLaw8dKYwlUsspOfkTNU7QIuMct4j8sTIO7lsJv5QfHguH ocFbHGNfLkvjQwpP2NxbbcE3Uy8t4qNl2NCpzXqHB4K3KTFeot0Gw774ypd5h+8IBSvpo5 j61utycTYBSbZIC+EdqnvUbOs1JLamK2m4ROkn69KL6BApbtYAC7ihr6U5wFQ1OTGEglrM OUYF1ktHMF6qPqDWdJHjZbI62XQ9vVtjc8fKVn1Wj/RN1DaZDIfM5q4RP5JCYRMYoRpZzP grJbMDOavc5DMpa8wFgxtrn9sU0b/OAaDjwIo+BR/r48ZldX1pAlIx3g0LgL0Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=apatience.com header.s=protonmail2 header.b=R2qxfWJU; dmarc=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" X-Migadu-Spam-Score: 0.98 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=apatience.com header.s=protonmail2 header.b=R2qxfWJU; dmarc=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" X-Migadu-Queue-Id: 8943F2FFA8 X-Spam-Score: 0.98 X-Migadu-Scanner: scn1.migadu.com X-TUID: 4BGAc/yA0liE Hello Maxime, I will reply to all of your comments below. On 2022-04-22 13:53:46-04:00, Maxime Devos wrote: > The 'python-' prefix is only for library-only python packages. As it > is a called tool, I assume there is some bin/scooby binary that the > user would run? It may be called a tool, but it is only a library, meant to be used from other libraries. The readme describes the basic usage as follows: import scooby scooby.Report() On 2022-04-22 13:55:59-04:00, Maxime Devos wrote: > Paul A. Patience schreef op vr 22-04-2022 om 01:03 [+0000]: >> +=C2=A0=C2=A0=C2=A0 (native-inputs >> +=C2=A0=C2=A0=C2=A0=C2=A0 (list python-beautifulsoup4 >> +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 python-num= py >> +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 python-pyt= est >> +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 python-pyt= est-cov >> +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 python-sci= py)) >> [no 'inputs' or 'propagated-inputs'] > > Are these sufficient? According to > , > there is also a dependency on 'psutil' and 'mkl'. I have also found > references to those in non-test code. The setup.py file lists psutil and mkl in extras_require, meaning they are optional. mkl (https://pypi.org/project/mkl/) is released under the Intel Simplified Software License, which I suspect is ideologically incompatible with Guix (and therefore not already packaged for Guix), so I didn't include it. I omitted psutil just because I was omitting mkl, but I can add it as a propagated input. On 2022-04-22 14:07:43-04:00, Maxime Devos wrote: > Paul A. Patience schreef op vr 22-04-2022 om 01:03 [+0000]: >> +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 (("with pytest\\.raises\\(OSError\\):") >> +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0 "with pytest.raises(ModuleNotFoundError):")))) > > What is this for? It seems the test suite expects the import of a missing package to throw an OSError instead of a ModuleNotFoundError, which is not the case at least on Python 3.9.9. I don't know if it was different before. I can add a comment to that effect. On 2022-04-22 13:51:26-04:00, Maxime Devos wrote: > Paul A. Patience schreef op vr 22-04-2022 om 12:41 [+0000]: >> +=C2=A0=C2=A0=C2=A0 (synopsis "Great Dane turned Python environment dete= ctive") > > What does this package have to do with Denmark and detectives? > > Looking further, =E2=80=98Great Dane=E2=80=99 appears to be some dog bree= d, and I guess > it's a pun on the package name and Scooby-Doo. However, I don't think > this is useful for users looking for packages that suit their needs. > >> +=C2=A0=C2=A0=C2=A0 (description >> +=C2=A0=C2=A0=C2=A0=C2=A0 "This is a lightweight tool for easily reporti= ng your Python >> +environment's package versions and hardware resources.") > > Isn't this just =E2=80=98guix package --list-installed=3D^python=E2=80= =99? > What hardware resources does it report? CPU models? Disk > manufacturers? =C2=A0The attached peripherals? Non-physical peripherals > like e.g. bluetooth mice? The amount of ductape holding the computer > together? Information about the printer? ... > > ALso, lightweight and easy is rather subjective. Compares to lscpu, > lspci, ..., (which are simple C tools IIUC) depending on python and > python-scipy doesn't seem lightweight to me. =E2=80=98(guix)Synopses and > Descriptions=E2=80=99 recommends staying factual. The synopsis and description are taken wholesale from Scooby's readme. However, I can rewrite them. Best regards, Paul