From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id KLdqBnFZGmSCEAEASxT56A (envelope-from ) for ; Wed, 22 Mar 2023 02:27:13 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 4IqjBXFZGmQVZAAAG6o9tA (envelope-from ) for ; Wed, 22 Mar 2023 02:27:13 +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 BD36B59D3 for ; Wed, 22 Mar 2023 02:27:12 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=bfY9ioiy; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.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=1679448432; 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=83pCtUOHSdZIqDarWAyfuYOlNAduEMWS3CbWTfDJyUc=; b=aWHm7wCYlQkpeyx/kCl4lnws77xz5wU9WrXhtaR8Jzd4r0cqPrlszJCJPfGYEd/PjAV5yh LkfXQSbMMaBTAPgPAE373o4yRFlS37NlOAAnj1QiEbIxJQyxoVhoxUVWtNhH/7Xw+4QBzK vwaxjh8JRlp19NIYlAli2EMYTTMhEHS12Wt7Cu5u9GybP5MI9JnQ4yhGfu2w40b09tflcx Aw5MFNB0nUBcXYjZZbu7YdxYcLzCH2BuoootfexkVHZi11Retvgczqom56/XbHzVtFUCcy uq1wPMr9zHSigpxE2YxZaUY7rdDdzNgpn6oDpRCB3OerHOVjMaVWzRXLNWmrDA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=bfY9ioiy; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.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=1679448432; a=rsa-sha256; cv=none; b=D7bFfbDdi8rdBUd8HrtefTshdEYW3AtLNsxwf/DGEtUjhNIgkq9Iyn6SWFjfXiZCE2WCid ruV0V67p2SP3kFJ5CYJ4epRTf4E2MJDAqPkwAOuNVowEylIvs2dwXR84raDwPADvCaYKMZ uvbeaVMRKmnqjObZbwe7XEkc1cSPAgDaHY6UGOo/f5GMyOKwXZYU7SeNIt7n0uY+jpBUGP JGFhrgCVdwK0k6yYSeCkQRhjDYcs60RdO69C58sYp3s7K0nmaVdqFm0TliFkDJfocSQ2Rr CMpDfZaDgM0/rguO4HBU94AkVdAtnooHtfpaEFG3KleK7dqRE1cRQGZfnf5mSg== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1penFp-0000NE-8t; Tue, 21 Mar 2023 21:27:05 -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 1penFm-0000Mq-NU for guix-patches@gnu.org; Tue, 21 Mar 2023 21:27:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1penFm-0001sD-FA for guix-patches@gnu.org; Tue, 21 Mar 2023 21:27:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1penFm-0003QT-7K for guix-patches@gnu.org; Tue, 21 Mar 2023 21:27:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#60838] [PATCH 0/8] Add datasette and python-sqlite-utils. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 22 Mar 2023 01:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60838 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Felix Gruber Cc: 60838@debbugs.gnu.org Received: via spool by 60838-submit@debbugs.gnu.org id=B60838.167944837213105 (code B ref 60838); Wed, 22 Mar 2023 01:27:02 +0000 Received: (at 60838) by debbugs.gnu.org; 22 Mar 2023 01:26:12 +0000 Received: from localhost ([127.0.0.1]:33017 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1penEx-0003PI-GA for submit@debbugs.gnu.org; Tue, 21 Mar 2023 21:26:11 -0400 Received: from mail-qt1-f176.google.com ([209.85.160.176]:35723) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1penEw-0003P1-21 for 60838@debbugs.gnu.org; Tue, 21 Mar 2023 21:26:10 -0400 Received: by mail-qt1-f176.google.com with SMTP id ga7so2225187qtb.2 for <60838@debbugs.gnu.org>; Tue, 21 Mar 2023 18:26:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1679448364; h=content-transfer-encoding:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to; bh=83pCtUOHSdZIqDarWAyfuYOlNAduEMWS3CbWTfDJyUc=; b=bfY9ioiymhsil1vjEXbQ47HRR9CWxyKMpvWaZUGXCsrFWkmlF1wjcCPRK+68VoUN6m 0ZNdd+H5eq1cO+VJYQkf0Lbc9RqA3MPPOEE5ck1+taD1iXD3Q9BWH5mtt/8w5Iu3RcTl TVg/m1bitSWxwuH+5unJYKPQzMOu2g2oSSidc9t8uVuK1tJs4IOVCtJ3h5nXCyUZHiXf 0S1l/4m5OICx5Dpnzgg4sE8urjJEaoCIYQ+7Luz5uTlqLsNUNi+l19j0OEh8qfLY6y24 1bqlzUTHbyidFx21ZUBFfNYz1rjYXTCuNPcWpOdZ9te9NPRUPznSdM0Et2vEBuVKpEyw uf7A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679448364; h=content-transfer-encoding:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=83pCtUOHSdZIqDarWAyfuYOlNAduEMWS3CbWTfDJyUc=; b=TMttvCnts06wkrqILqKs7/Fs0bZMDSGc9bCeaQnRF/MKxQY7DYnS8tfB6RQjqcBxkm 8QqiYLUv+7IxNmajD8Jm45liocyrYY6E4vGH3gtgqkO4sI810ABnbjekYpzGdMF5RlEj BZxQUAuS7mKHwaH2EcmJYYsLgO4htJhKQiouF6VIsj2zbUAYIN9wSf8bJHzRKJ/T58XC EgPD51EO4EqB/2OJr+0HMRmZjw+cSEnQwEL8ztq3oj5VGIJkDIohVYKIkSaNsbeDsGN/ q2Dy3Psmif5C6OJWH51CuiEvfXAmyCBWaRO+WVCUPiX3/ednxpdDs6nE4U5LGGFDjak9 YTAw== X-Gm-Message-State: AO0yUKXyUZ6hXe7vkaJkH/ZBD8COBOQ5ZpHEbTJk7Mu3/Lx/XQRqMRPv WgToHOxafhDp/4V4QaVtn2t0dyO4ouvr/A== X-Google-Smtp-Source: AK7set8CEoYrTvZ2OUGiuTNbGXMCyiqHmHLEyKUr++RQ74AnQYkKaYxd8/oduQODEvVJR4Yqrfigvw== X-Received: by 2002:a05:622a:ce:b0:3e1:59e8:744c with SMTP id p14-20020a05622a00ce00b003e159e8744cmr3523777qtw.13.1679448364265; Tue, 21 Mar 2023 18:26:04 -0700 (PDT) Received: from hurd (dsl-10-130-195.b2b2c.ca. [72.10.130.195]) by smtp.gmail.com with ESMTPSA id y2-20020a37f602000000b0073b878e3f30sm10399648qkj.59.2023.03.21.18.26.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Mar 2023 18:26:03 -0700 (PDT) From: Maxim Cournoyer References: <20230115214753.25034-1-felgru@posteo.net> <0b8c873370cb71654009b5ea1d876d721b4cf02b.1679080713.git.felgru@posteo.net> Date: Tue, 21 Mar 2023 21:26:02 -0400 In-Reply-To: <0b8c873370cb71654009b5ea1d876d721b4cf02b.1679080713.git.felgru@posteo.net> (Felix Gruber's message of "Fri, 17 Mar 2023 19:19:21 +0000") Message-ID: <87r0thk251.fsf_-_@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) 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: X-Migadu-Queue-Id: BD36B59D3 X-Spam-Score: -3.45 X-Migadu-Spam-Score: -3.45 X-Migadu-Scanner: scn0.migadu.com 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-Country: US X-Migadu-Flow: FLOW_IN X-TUID: dfeEy+EcX84V Hello, Felix Gruber writes: > * gnu/packages/databases.scm (datasette): New variable. > --- > gnu/packages/databases.scm | 47 ++++++++++++++++++++++++++++++++++++++ > 1 file changed, 47 insertions(+) > > diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm > index d9ea2bba34..72960396fc 100644 > --- a/gnu/packages/databases.scm > +++ b/gnu/packages/databases.scm > @@ -59,6 +59,7 @@ > ;;; Copyright =C2=A9 2022 muradm > ;;; Copyright =C2=A9 2022 Thomas Albers Raviola > ;;; Copyright =C2=A9 2021, 2022 jgart > +;;; Copyright =C2=A9 2023 Felix Gruber > ;;; > ;;; This file is part of GNU Guix. > ;;; > @@ -5049,3 +5050,49 @@ (define-public python-dogpile.cache > provides API hooks which integrate these cache backends with the locking > mechanism of @code{dogpile}.") > (license license:expat))) > + > +(define-public datasette > + (package > + (name "datasette") > + (version "0.64.2") > + (source > + (origin > + (method url-fetch) > + (uri (pypi-uri "datasette" version)) > + (sha256 > + (base32 > + "1z2qwj7gmyph4dnbr44p332f9ydpv7c4z5jiyai12bmgsgdnxqg9")))) > + (build-system pyproject-build-system) > + (arguments > + (list > + #:tests? #f ; pypi package contains no tests That's a lame excuse for disabling the test suite, in my opinion (and I know it can be tempting to use it!) :-). Please fetch from git when there are no tests in the sdist releases (which is increasingly common, it seems). > + #:phases > + #~(modify-phases %standard-phases > + (add-after 'unpack 'loosen-requirements Nitpick: I call these phases 'relax-requirements. > + (lambda _ > + ;; The package needlessly specifies exact versions > + ;; of dependencies, when it works fine with others. > + (substitute* "setup.py" > + (("(black)=3D=3D[0-9\\.]+" all package) > + package))))))) The above only affects the 'black' package, right? Since the 'all' binding is not used, it can be set to '_' instead. > + (propagated-inputs (list python-aiofiles > + python-asgi-csrf > + python-asgiref > + python-click-7 > + python-click-default-group-wheel > + python-httpx > + python-hupper > + python-itsdangerous > + python-janus > + python-jinja2 > + python-mergedeep > + python-pint > + python-pluggy-next > + python-pyyaml > + python-uvicorn)) > + (home-page "https://datasette.io/") > + (synopsis "Multi-tool for exploring and publishing data") > + (description "Datasette is a tool for exploring and publishing data. > +It helps people take data of any shape or size and publish that as an > +interactive, explorable website and accompanying API.") > + (license license:asl2.0))) It otherwise looks very good! Apart from enabling the tests suite where applicable, my comments are mostly cosmetic, so a v2 and we should be good! Thank you for the contribution! --=20 Maxim