guix-commits
[Top][All Lists]
Advanced

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

branch master updated: gnu: python-uvicorn: Update to 0.32.0.


From: guix-commits
Subject: branch master updated: gnu: python-uvicorn: Update to 0.32.0.
Date: Wed, 20 Nov 2024 08:01:27 -0500

This is an automated email from the git hooks/post-receive script.

rekado pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 72ef08da9d gnu: python-uvicorn: Update to 0.32.0.
72ef08da9d is described below

commit 72ef08da9d4cd811d59be95bebc0ea8492427587
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Wed Nov 20 13:59:44 2024 +0100

    gnu: python-uvicorn: Update to 0.32.0.
    
    * gnu/packages/python-web.scm (python-uvicorn): Update to 0.32.0.
    [arguments]: Enable more tests; add phase 'patch-pyproject.
    
    Change-Id: I7b1efb0a8319d02a8ea83a03299b1c2fa3adf0aa
---
 gnu/packages/python-web.scm | 22 ++++++++++++----------
 1 file changed, 12 insertions(+), 10 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 8bc998669c..c030deeb12 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -6515,7 +6515,7 @@ and fairly speedy.")
 (define-public python-uvicorn
   (package
     (name "python-uvicorn")
-    (version "0.23.2")
+    (version "0.32.0")
     (source
      (origin
        ;; PyPI tarball has no tests.
@@ -6525,17 +6525,19 @@ and fairly speedy.")
              (commit version)))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "1qa4cwifss9cnasfr0ffn76rvh7wcfjkl6nw99yz43rjmdpj3h7p"))))
+        (base32 "0csl5drf58yhih6kyl5imkkb1hsv24c99fjkzhr3pmzas0jahf1d"))))
     (build-system pyproject-build-system)
     (arguments
-     (list #:test-flags
-           #~(list "-o" "asyncio_mode=auto"
-                   "-k"
-                   (string-join
-                    ;; These error or fail due to networking.
-                    '("not test_keepalive"
-                      "not test_bind_unix_socket_works_with_reload_or_workers")
-                    " and "))))
+     (list
+      #:test-flags
+      '(list "-o" "asyncio_mode=auto")
+      #:phases
+      '(modify-phases %standard-phases
+         (add-after 'unpack 'patch-pyproject
+           (lambda _
+             ;; Hatchling doesn't like this.
+             (substitute* "pyproject.toml"
+               ((".*Programming Language :: Python :: 3.13.*") "")))))))
     (native-inputs
      (list python-a2wsgi
            python-hatchling



reply via email to

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