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>

To reply to this bug, email your comments to 77699 AT debbugs.gnu.org.
There is no need to reopen the bug first.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#77699; Package guix-patches. (Thu, 10 Apr 2025 12:52:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Daniel Ziltener <dziltener <at> lyrion.ch>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Thu, 10 Apr 2025 12:52:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

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





Reply sent to Sharlatan Hellseher <sharlatanus <at> gmail.com>:
You have taken responsibility. (Sun, 13 Apr 2025 20:13:02 GMT) Full text and rfc822 format available.

Notification sent to Daniel Ziltener <dziltener <at> lyrion.ch>:
bug acknowledged by developer. (Sun, 13 Apr 2025 20:13:02 GMT) Full text and rfc822 format available.

Message #10 received at 77699-done <at> debbugs.gnu.org (full text, mbox):

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 1 (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 20 days ago.

Previous Next


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