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 ms9.migadu.com with LMTPS id MO9iD1JXGmRhVQAASxT56A (envelope-from ) for ; Wed, 22 Mar 2023 02:18:10 +0100 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 OIUuD1JXGmSZDAAAauVa8A (envelope-from ) for ; Wed, 22 Mar 2023 02:18:10 +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 C99DC56C8 for ; Wed, 22 Mar 2023 02:18:09 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=FIgkgRYU; 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=1679447889; 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=ic4Pt/A7ZljXErFHzfXBtOwK5tBpxlR+wMcQFh+bu/8=; b=q1YbXNLjiYRjCH5+haO9K/Ia0yZQZLOGHikObntCg9OK241obIbvldu7g3JtHfm0cl1k6F vgRE+hfbF5YMqzO6h2Wakc0nbbKEk8OagIs3Yry8juNZ2/RJWCmV4qdB+k/PZcD0FUXCxE pxg41tLU9md9nKQUrtgtiOanX/nV1hjiurqT1ucVIMWdg7WXWsU1OjODcx4XB1mC0Ocq+3 LeupLmQfv6k/Blld4ABpQ3UErsSV0us2hXNAZLoQyXuVgQBZrLPdfUZ3zNPma9SvR3OBAi BCawLSembgtbaYtV7hfMObe6LsaZfptSjTfZHzDtsodFnz+h6J7gv4/tGIdjSw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=FIgkgRYU; 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=1679447889; a=rsa-sha256; cv=none; b=qRhAPP8TeL+aZaIhEj7oH6uL4GUA9IK4TFTPANfLd5GUxZ0ZWaGutiBzJ0jpBUm8Vo+MIW CCiJ8g9TAl85SqfzjdXkR3mDoiSlxnJFpOdBUmo0js7IcXUJ6Seclht1ZZGnSj4f+qHal/ IN80KUW5B/VKf36vmZXD3MTmGElTIH3RszSOSCzi76X4HrJNwV7huOtmMKeIyjW5EfW1yD xXmyTAZu7K1ehID77qrBhnzaQr8fZWitOzkR89hNbI8W6kkWPYqTEhcuAqKTXmnGNZHKFC BoCEHR4ULdo4bob7cDOjJrT7p0loGKuGLYa6Vez1nNB3ftThgXYqroLxOmq3iA== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pen78-0007PU-Qq; Tue, 21 Mar 2023 21:18:06 -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 1pen74-0007P9-Lq for guix-patches@gnu.org; Tue, 21 Mar 2023 21:18: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 1pen74-0005Yb-Ao for guix-patches@gnu.org; Tue, 21 Mar 2023 21:18:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pen73-00038X-SH for guix-patches@gnu.org; Tue, 21 Mar 2023 21:18:01 -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:18:01 +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.167944786912024 (code B ref 60838); Wed, 22 Mar 2023 01:18:01 +0000 Received: (at 60838) by debbugs.gnu.org; 22 Mar 2023 01:17:49 +0000 Received: from localhost ([127.0.0.1]:33003 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pen6q-00037q-Ld for submit@debbugs.gnu.org; Tue, 21 Mar 2023 21:17:49 -0400 Received: from mail-qv1-f41.google.com ([209.85.219.41]:47048) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pen6o-00037V-2V for 60838@debbugs.gnu.org; Tue, 21 Mar 2023 21:17:47 -0400 Received: by mail-qv1-f41.google.com with SMTP id q88so5058561qvq.13 for <60838@debbugs.gnu.org>; Tue, 21 Mar 2023 18:17:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1679447860; 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=ic4Pt/A7ZljXErFHzfXBtOwK5tBpxlR+wMcQFh+bu/8=; b=FIgkgRYUxI6TzEBOPLKED30dd4gNpCRhrQdFfERVB+ClywJuFjGY/QnR5qkzhZydqW 8eHoI8DDH9gxLOJXayXuOQ7BU81Ju0J51MN1Kf+HeeY7StOi1RQGXumgVip0RazlJ9QU XiWhkf8vgqc1TS3fEYltegE3f0YkrYt229nKGze18fab1WEeZYVKkjMo6tQkq5rnE86j G0q/sFqJs69NHpGz6DKgySYOHkPCqtctp/68CYEhWq+UEy/JjBk09/zn+Ld8ryfX1bMu 8cPPExpxQJEFj1t6GHJ7vgSVncD6Lo/I+CXoDA1CoHwPHsTJlAx7xOJc3ihCMGkxZOiL 4J8Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679447860; 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=ic4Pt/A7ZljXErFHzfXBtOwK5tBpxlR+wMcQFh+bu/8=; b=UZIQ+FmuGZFEqrwj0fdRHuWw3VAYufbu3KBdgOTbAzAMoh7+FvDEft8rclqOYAwg30 q/Jugll3QdIGIMWtgF/+qddr6JEpgfu52u6sXTnuc0+AaPC3PWy0xPdoxS/dVxcAg2kM wKt/SXhZN5uqtx+cBqLF5BS3a0uKxwhMEt9bOOwdKMUTlhnYicO9vOjun/lh16LfhWPf V7cK+Sfm4hetil5va3QgnCG6RsEj519wSxX9wL9itzHyF0DRwy/Chyif5AkQbJPPAUtm K/Dj1sWFQwQMLfm0dSgwj2sdb8eP0vc7idIM2t6j1gTpUvaUtm4l4XM3hEO/0L1v5T+r B4cg== X-Gm-Message-State: AO0yUKXQjKA5GvxA42Eue4xP8Fell0aypj/uaNRZFUtyuu0gnIQ6CNd3 UuBd1tzHF7ch9XU5iBiFqljZDYRxSDZ4hA== X-Google-Smtp-Source: AK7set/q1ReL9sSZNeYsW44XdwRIh/Xfw5oAhq6eNYB0umJ+d9iqOo7euIk9MaJUXt5qgZnBqX2V4A== X-Received: by 2002:a05:6214:3018:b0:534:86f1:bcb5 with SMTP id ke24-20020a056214301800b0053486f1bcb5mr2434809qvb.41.1679447860411; Tue, 21 Mar 2023 18:17:40 -0700 (PDT) Received: from hurd (dsl-10-130-195.b2b2c.ca. [72.10.130.195]) by smtp.gmail.com with ESMTPSA id f8-20020a05620a280800b0074269db4699sm3581823qkp.46.2023.03.21.18.17.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Mar 2023 18:17:40 -0700 (PDT) From: Maxim Cournoyer References: <20230115214753.25034-1-felgru@posteo.net> Date: Tue, 21 Mar 2023 21:17:38 -0400 In-Reply-To: (Felix Gruber's message of "Fri, 17 Mar 2023 19:19:19 +0000") Message-ID: <87zg85k2j1.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: C99DC56C8 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: D4R6AkeTdb0R Hi, Felix Gruber writes: > * gnu/packages/python-web.scm (python-asgi-lifespan): New variable. > --- > gnu/packages/python-web.scm | 25 ++++++++++++++++++++++++- > 1 file changed, 24 insertions(+), 1 deletion(-) > > diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm > index 8a73c929a1..83e7d77da8 100644 > --- a/gnu/packages/python-web.scm > +++ b/gnu/packages/python-web.scm > @@ -49,7 +49,7 @@ > ;;; Copyright =C2=A9 2021 Alice Brenon > ;;; Copyright =C2=A9 2022 John Kehayias > ;;; Copyright =C2=A9 2022 Denis 'GNUtoo' Carikli > -;;; Copyright =C2=A9 2022 Felix Gruber > +;;; Copyright =C2=A9 2022, 2023 Felix Gruber > ;;; Copyright =C2=A9 2022 Peter Polidoro > ;;; Copyright =C2=A9 2022 Antero Mejr > ;;; Copyright =C2=A9 2022 Luis Henrique Gomes Higino > @@ -570,6 +570,29 @@ (define-public python-asgiref > WSGI. This package includes libraries for implementing ASGI servers.") > (license license:bsd-3))) >=20=20 > +(define-public python-asgi-lifespan > + (package > + (name "python-asgi-lifespan") > + (version "1.0.1") > + (source (origin > + (method url-fetch) > + (uri (pypi-uri "asgi-lifespan" version)) > + (sha256 > + (base32 > + "0zyvx8i43s1m2akqn5njwdh2zi6n05ji7mlvqx5pdi3k43dffcws"))= )) > + (build-system python-build-system) To run pytest tests without having to override the check suite, you'll want to use the pyproject-build-system. > + (arguments > + '(#:tests? #f)) ; The pypi package does not contain the tests folde= r. Please fetch from git to run the test suite. I typically leave a comment ";for tests" to the right of the (method git-fetch) line, to explain why we deviate from the source archives. > + (native-inputs (list python-pytest python-pytest-asyncio python-pyte= st-cov)) > + (propagated-inputs (list python-sniffio)) > + (home-page "https://github.com/florimondmanca/asgi-lifespan") > + (synopsis "Programmatic startup/shutdown of ASGI apps") > + (description "Programmatically send startup/shutdown lifespan events > +into ASGI applications. When used in combination with an ASGI-capable > +HTTP client such as HTTPX, this allows mocking or testing ASGI > +applications without having to spin up an ASGI server.") > + (license license:expat))) Please define the lesser known acronyms in the description, using for example like in "into Asynchronous Server Gateway Interface (ASGI) applications." or the Texinfo @acronym command. --=20 Thanks, Maxim