guix-commits
[Top][All Lists]
Advanced

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

408/420: gnu: python-uvicorn: Update to 0.32.1.


From: guix-commits
Subject: 408/420: gnu: python-uvicorn: Update to 0.32.1.
Date: Tue, 26 Nov 2024 16:29:44 -0500 (EST)

sharlatan pushed a commit to branch python-team
in repository guix.

commit 7e4ae463cdb3931e046528db12cd838e32e8b23b
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Tue Nov 26 18:39:41 2024 +0000

    gnu: python-uvicorn: Update to 0.32.1.
    
    * gnu/packages/python-web.scm (python-uvicorn): Update to 0.32.1.
    [arguments]<test-flags>: Disable multiprocess tests.
    <phases>: Remove 'patch-pyproject, newer version of Hatchling does like
    it now.
    
    Change-Id: Ie22fc5134d5e40eb4bb7e27681556fc88af886ef
---
 gnu/packages/python-web.scm | 19 +++++++++----------
 1 file changed, 9 insertions(+), 10 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index e680a40517..4f43d77983 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -6578,7 +6578,7 @@ and fairly speedy.")
 (define-public python-uvicorn
   (package
     (name "python-uvicorn")
-    (version "0.32.0")
+    (version "0.32.1")
     (source
      (origin
        ;; PyPI tarball has no tests.
@@ -6588,19 +6588,18 @@ and fairly speedy.")
              (commit version)))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "0csl5drf58yhih6kyl5imkkb1hsv24c99fjkzhr3pmzas0jahf1d"))))
+        (base32 "0mrp87l2d5k2dcz07wj2vysjsa99lw5xp12a1a2xiciahg04w7ib"))))
     (build-system pyproject-build-system)
     (arguments
      (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.*") "")))))))
+      #~(list "-o" "asyncio_mode=auto"
+              ;; For some reason tests stacked in infinity re-invocation loop:
+              ;; AssertionError where is_alive =
+              ;; <uvicorn.supervisors.multiprocess.Process object at
+              ;; 0x7ffff39b6110>.is_alive.
+              ;; Maybe this <https://github.com/encode/uvicorn/issues/2466>.
+              "--ignore=tests/supervisors/test_multiprocess.py")))
     (native-inputs
      (list python-a2wsgi
            python-hatchling



reply via email to

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