From: Maxim Cournoyer <maxim.cournoyer@gmail.com>
To: Felix Gruber <felgru@posteo.net>
Cc: 60838@debbugs.gnu.org
Subject: [bug#60838] [PATCH 0/8] Add datasette and python-sqlite-utils.
Date: Tue, 21 Mar 2023 21:17:38 -0400 [thread overview]
Message-ID: <87zg85k2j1.fsf_-_@gmail.com> (raw)
In-Reply-To: <c020eb5bb722890dacc3c27bf4b9f388434352ab.1679080713.git.felgru@posteo.net> (Felix Gruber's message of "Fri, 17 Mar 2023 19:19:19 +0000")
Hi,
Felix Gruber <felgru@posteo.net> 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 © 2021 Alice Brenon <alice.brenon@ens-lyon.fr>
> ;;; Copyright © 2022 John Kehayias <john.kehayias@protonmail.com>
> ;;; Copyright © 2022 Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
> -;;; Copyright © 2022 Felix Gruber <felgru@posteo.net>
> +;;; Copyright © 2022, 2023 Felix Gruber <felgru@posteo.net>
> ;;; Copyright © 2022 Peter Polidoro <peter@polidoro.io>
> ;;; Copyright © 2022 Antero Mejr <antero@mailbox.org>
> ;;; Copyright © 2022 Luis Henrique Gomes Higino <luishenriquegh2701@gmail.com>
> @@ -570,6 +570,29 @@ (define-public python-asgiref
> WSGI. This package includes libraries for implementing ASGI servers.")
> (license license:bsd-3)))
>
> +(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 folder.
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-pytest-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.
--
Thanks,
Maxim
next prev parent reply other threads:[~2023-03-22 1:18 UTC|newest]
Thread overview: 38+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-01-15 21:47 [bug#60838] [PATCH 0/8] Add datasette and python-sqlite-utils Felix Gruber
2023-01-15 21:50 ` [bug#60838] [PATCH 1/8] gnu: Add python-click-default-group-wheel Felix Gruber
2023-03-22 1:04 ` [bug#60838] [PATCH 0/8] Add datasette and python-sqlite-utils Maxim Cournoyer
2023-01-15 21:51 ` [bug#60838] [PATCH 2/8] gnu: Add python-sqlite-fts4 Felix Gruber
2023-03-22 1:05 ` [bug#60838] [PATCH 0/8] Add datasette and python-sqlite-utils Maxim Cournoyer
2023-01-15 21:51 ` [bug#60838] [PATCH 3/8] gnu: Add python-sqlite-utils Felix Gruber
2023-03-22 1:08 ` [bug#60838] [PATCH 0/8] Add datasette and python-sqlite-utils Maxim Cournoyer
2023-01-15 21:52 ` [bug#60838] [PATCH 4/8] gnu: python-janus: Update to 1.0.0 Felix Gruber
2023-01-15 21:52 ` [bug#60838] [PATCH 5/8] gnu: Add python-pluggy-next Felix Gruber
2023-01-15 21:53 ` [bug#60838] [PATCH 6/8] gnu: Add python-asgi-lifespan Felix Gruber
2023-01-15 21:53 ` [bug#60838] [PATCH 7/8] gnu: Add python-asgi-csrf Felix Gruber
2023-01-15 21:53 ` [bug#60838] [PATCH 8/8] gnu: Add datasette Felix Gruber
2023-03-17 19:19 ` [bug#60838] [PATCH v2 0/7] Add datasette and python-sqlite-utils Felix Gruber
2023-03-17 19:19 ` [bug#60838] [PATCH v2 1/7] gnu: Add python-click-default-group-wheel Felix Gruber
2023-03-17 19:19 ` [bug#60838] [PATCH v2 2/7] gnu: Add python-sqlite-fts4 Felix Gruber
2023-03-17 19:19 ` [bug#60838] [PATCH v2 3/7] gnu: Add python-sqlite-utils Felix Gruber
2023-03-17 19:19 ` [bug#60838] [PATCH v2 4/7] gnu: Add python-pluggy-next Felix Gruber
2023-03-22 1:13 ` [bug#60838] [PATCH 0/8] Add datasette and python-sqlite-utils Maxim Cournoyer
2023-03-17 19:19 ` [bug#60838] [PATCH v2 5/7] gnu: Add python-asgi-lifespan Felix Gruber
2023-03-22 1:17 ` Maxim Cournoyer [this message]
2023-03-17 19:19 ` [bug#60838] [PATCH v2 6/7] gnu: Add python-asgi-csrf Felix Gruber
2023-03-22 1:19 ` [bug#60838] [PATCH 0/8] Add datasette and python-sqlite-utils Maxim Cournoyer
2023-03-17 19:19 ` [bug#60838] [PATCH v2 7/7] gnu: Add datasette Felix Gruber
2023-03-22 1:26 ` [bug#60838] [PATCH 0/8] Add datasette and python-sqlite-utils Maxim Cournoyer
2023-03-18 8:13 ` [bug#60838] [PATCH v2 0/7] " Liliana Marie Prikler
2023-03-22 0:59 ` [bug#60838] [PATCH 0/8] " Maxim Cournoyer
2023-03-26 19:43 ` [bug#60838] [PATCH v3 0/9] " Felix Gruber
2023-03-26 19:43 ` [bug#60838] [PATCH v3 1/9] gnu: Add python-click-default-group-wheel Felix Gruber
2023-03-26 19:43 ` [bug#60838] [PATCH v3 2/9] gnu: Add python-sqlite-fts4 Felix Gruber
2023-03-26 19:43 ` [bug#60838] [PATCH v3 3/9] gnu: Add python-sqlite-utils Felix Gruber
2023-03-26 19:43 ` [bug#60838] [PATCH v3 4/9] gnu: Add python-asgi-lifespan Felix Gruber
2023-03-26 19:43 ` [bug#60838] [PATCH v3 5/9] gnu: Add python-asgi-csrf Felix Gruber
2023-03-26 19:43 ` [bug#60838] [PATCH v3 6/9] gnu: Add python-trustme-next Felix Gruber
2023-03-26 19:43 ` [bug#60838] [PATCH v3 7/9] gnu: Add python-cogapp Felix Gruber
2023-03-26 19:43 ` [bug#60838] [PATCH v3 8/9] gnu: python-pytest-7.1: Depend on python-pluggy-next Felix Gruber
2023-03-26 19:43 ` [bug#60838] [PATCH v3 9/9] gnu: Add datasette Felix Gruber
2023-03-29 17:22 ` bug#60838: [PATCH 0/8] Add datasette and python-sqlite-utils Maxim Cournoyer
2023-03-29 19:38 ` [bug#60838] " Felix Gruber
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87zg85k2j1.fsf_-_@gmail.com \
--to=maxim.cournoyer@gmail.com \
--cc=60838@debbugs.gnu.org \
--cc=felgru@posteo.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).