Subject: [PATCH] gnu: python-web: Add python-quart-trio 0.12.0.

From: Sharlatan Hellseher <[email-masked]>
Date: Sun, 13 Apr 2025 21:12:12 +0100

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