Subject: bug#64378: closed ([PATCH 3/8] gnu: python-uvicorn: Update to 0.22.0.)

From: [email-masked] (GNU bug Tracking System)
Date: Tue, 26 Nov 2024 15:13:02 +0000

Your bug report

#64378: [PATCH 3/8] gnu: python-uvicorn: Update to 0.22.0.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
64378: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=64378
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: [PATCH 3/8] gnu: python-uvicorn: Update to 0.22.0.
From: Sharlatan Hellseher <[email-masked]>
To: [email-masked]
Date: Tue, 26 Nov 2024 15:11:23 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi,

Thanks for the patch, it was missed out.

Uvicorn was updated 0.23.2->0.32.0 by this commit
72ef08da9d4cd811d59be95bebc0ea8492427587 on master branch.

Closing as not applied.

--
Oleg

Subject: [PATCH 3/8] gnu: python-uvicorn: Update to 0.22.0.
From: [email-masked]
To: [email-masked]
Cc: Peter Polidoro <[email-masked]>
Date: Fri, 30 Jun 2023 16:02:04 -0400
List-Id: <debbugs-submit.debbugs.gnu.org>

From: Peter Polidoro <[email-masked]>

* gnu/packages/python-web.scm (python-uvicorn): Update to 0.22.0.
---
 gnu/packages/python-web.scm | 43 ++++++++++---------------------------
 1 file changed, 11 insertions(+), 32 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 2df564f8b7..0c14e14665 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -5599,46 +5599,25 @@ (define-public python-httptools
 (define-public python-uvicorn
   (package
     (name "python-uvicorn")
-    (version "0.17.6")
-    (source
-     (origin
-       ;; PyPI tarball has no tests.
-       (method git-fetch)
-       (uri (git-reference
-             (url "https://github.com/encode/uvicorn")
-             (commit version)))
-       (file-name (git-file-name name version))
-       (sha256
-        (base32 "0npwls02nhna2lyw2nksxij16l9agf12c9f42pvxb5yrpi9l16c8"))))
-    (build-system python-build-system)
+    (version "0.22.0")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "uvicorn" version))
+              (sha256
+               (base32
+                "1n4f5i6g4gnsj8z1wvjdyl9admsipc5q6rq5mbcyfz5m7ph7l9vr"))))
+    (build-system pyproject-build-system)
     (arguments
-     `(#:phases
-       (modify-phases %standard-phases
-         (replace 'check
-           (lambda* (#:key tests? #:allow-other-keys)
-             (when tests?
-               (invoke "pytest" "-vv" "-o" "asyncio_mode=auto"
-                       "-k"
-                       (string-append
-                        ;; These error or fail due to networking.
-                        "not test_keepalive "
-                        "and not test_bind_unix_socket_works_with_"
-                        "reload_or_workers "))))))))
-    (native-inputs
-     (list python-httpx-bootstrap
-           python-pytest
-           python-pytest-asyncio
-           python-pytest-mock
-           python-requests
-           python-trustme
-           python-wsproto))
+     `(#:tests? #f))              ; no tests in PyPI and no setup.py in github
     (propagated-inputs
      (list python-asgiref
            python-click
            python-dotenv
            python-h11
+           python-hatchling
            python-httptools
            python-pyyaml
+           python-typing-extensions
            python-uvloop
            python-watchgod
            python-websockets))
-- 
2.40.1