guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

18/20: gnu: python-sanic-testing: Update to 23.12.0.


From: guix-commits
Subject: 18/20: gnu: python-sanic-testing: Update to 23.12.0.
Date: Thu, 11 Jan 2024 08:41:19 -0500 (EST)

rekado pushed a commit to branch wip-easyeffects-62771
in repository guix.

commit 9e24e467ac08e3614743b8bcdc1d16a017e95ac5
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Thu Jan 11 10:38:07 2024 +0100

    gnu: python-sanic-testing: Update to 23.12.0.
    
    * gnu/packages/python-web.scm (python-sanic-testing): Update to 23.12.0.
    [build-system]: Use pyproject-build-system.
    [arguments]: Remove 'loosen-requirements phase.
    [propagated-inputs]: Remove python-websockets.
    
    Change-Id: Ie1958070959692ae678ffeefda9ee8bafa86a5e6
---
 gnu/packages/python-web.scm | 20 +++++---------------
 1 file changed, 5 insertions(+), 15 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 3a4dfc9edd..e724f94348 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -7132,29 +7132,19 @@ the @code{BasicRouter}.")
 (define-public python-sanic-testing
   (package
     (name "python-sanic-testing")
-    (version "22.3.0")
+    (version "23.12.0")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "sanic-testing" version))
        (sha256
-        (base32 "1vkgi9d3xyik507j4jy9s74mkl81hgx3c2d5y3aa1av9h6wjjivp"))))
-    (build-system python-build-system)
+        (base32 "0gqkzv90sbj9rw7yfly9c58lq9dq30g5hhcgjl3ihzjb66vm571b"))))
+    (build-system pyproject-build-system)
     (arguments
      ;; PyPi sources does not contain tests, recursive dependency on
      ;; python-sanic.
-     (list #:tests? #f
-           #:phases
-           #~(modify-phases %standard-phases
-               (add-after 'unpack 'loosen-requirements
-                 (lambda _
-                   ;; Don't place an upper boundary on httpx version.
-                   ;; https://github.com/sanic-org/sanic-testing/pull/39
-                   (substitute* "setup.py"
-                     (("httpx>=0\\.18,<0\\.23")
-                      "httpx>=0.18")))))))
-    (propagated-inputs (list python-httpx python-sanic-bootstrap
-                             python-websockets))
+     (list #:tests? #f))
+    (propagated-inputs (list python-httpx python-sanic-bootstrap))
     (home-page "https://github.com/sanic-org/sanic-testing/";)
     (synopsis "Test clients for Sanic")
     (description "Internal package for @code{python-sanic}, which is



reply via email to

[Prev in Thread] Current Thread [Next in Thread]