GNU bug report logs - #77699
[PATCH] gnu: python-web: Add python-quart-trio 0.12.0.

Previous Next

Package: guix-patches;

Reported by: Daniel Ziltener <dziltener <at> lyrion.ch>

Date: Thu, 10 Apr 2025 12:52:01 UTC

Severity: normal

Tags: patch

Done: Sharlatan Hellseher <sharlatanus <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Sharlatan Hellseher <sharlatanus <at> gmail.com>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#77699: closed ([PATCH] gnu: python-web: Add python-quart-trio
 0.12.0.)
Date: Sun, 13 Apr 2025 20:13:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Sun, 13 Apr 2025 21:12:12 +0100
with message-id <87sembes83.fsf <at> gmail.com>
and subject line [PATCH] gnu: python-web: Add python-quart-trio 0.12.0.
has caused the debbugs.gnu.org bug report #77699,
regarding [PATCH] gnu: python-web: Add python-quart-trio 0.12.0.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
77699: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=77699
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Daniel Ziltener <dziltener <at> lyrion.ch>
To: guix-patches <at> gnu.org
Cc: Daniel Ziltener <dziltener <at> lyrion.ch>
Subject: [PATCH] gnu: python-web: Add python-quart-trio 0.12.0.
Date: Thu, 10 Apr 2025 14:51:06 +0200
---
 gnu/packages/python-web.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 035c399a68..1deb392c5e 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -9945,6 +9945,30 @@ (define-public python-quart
 as Flask.")
     (license license:expat)))
 
+(define-public python-quart-trio
+  (package
+    (name "python-quart-trio")
+    (version "0.12.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "quart_trio" version))
+       (sha256
+        (base32 "130r8hdk7xxjp380z1r3m28lw86q2a6g9rf0mgp9gs6hk04q9v02"))))
+    (build-system pyproject-build-system)
+    (arguments
+     (list
+      #:tests? #f))
+    (propagated-inputs (list python-exceptiongroup python-hypercorn
+                             python-pydata-sphinx-theme python-quart
+                             python-trio))
+    (native-inputs (list python-pdm-backend))
+    (home-page #f)
+    (synopsis "A Quart extension to provide trio support")
+    (description
+     "This package provides a Quart extension to provide trio support.")
+    (license license:expat)))
+
 (define-public python-ajsonrpc
   (package
     (name "python-ajsonrpc")
-- 
2.49.0



[Message part 3 (message/rfc822, inline)]
From: Sharlatan Hellseher <sharlatanus <at> gmail.com>
To: 77699-done <at> debbugs.gnu.org
Subject: [PATCH] gnu: python-web: Add python-quart-trio 0.12.0.
Date: Sun, 13 Apr 2025 21:12:12 +0100
[Message part 4 (text/plain, inline)]
Hi,

Thank you for the patch.

I've enabled tests and adjust descriptions:
--8<---------------cut here---------------start------------->8---
modified   gnu/packages/python-web.scm
@@ -9958,15 +9958,28 @@ (define-public python-quart-trio
     (build-system pyproject-build-system)
     (arguments
      (list
-      #:tests? #f))
-    (propagated-inputs (list python-exceptiongroup python-hypercorn
-                             python-pydata-sphinx-theme python-quart
-                             python-trio))
-    (native-inputs (list python-pdm-backend))
-    (home-page #f)
-    (synopsis "A Quart extension to provide trio support")
-    (description
-     "This package provides a Quart extension to provide trio support.")
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-after 'unpack 'remove-coverage-pytest-options
+            (lambda _
+              (substitute* "pyproject.toml"
+                (("--no-cov-on-fail") "")))))))
+    (native-inputs
+     (list python-pdm-backend
+           python-pytest
+           python-pytest-sugar
+           python-pytest-trio))
+    (propagated-inputs
+     (list python-exceptiongroup
+           python-hypercorn
+           python-quart
+           python-trio))
+    (home-page "https://github.com/pgjones/quart-trio")
+    (synopsis "Extension for Quart to support the Trio event loop")
+    (description
+     "This package provides a Quart extension to provide Trio support.  This
+is an alternative to using the asyncio event loop present in the Python
+standard library and supported by default in Quart.")
     (license license:expat))))
--8<---------------cut here---------------end--------------->8---

Pushed to master as f0e0caa570681a29be34ca5a5c634da22a7c4099.

--
Oleg
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 90 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.