unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: peter@polidoro.io
To: 64378@debbugs.gnu.org
Cc: Peter Polidoro <peter@polidoro.io>
Subject: [bug#64378] [PATCH 3/8] gnu: python-uvicorn: Update to 0.22.0.
Date: Fri, 30 Jun 2023 16:02:04 -0400	[thread overview]
Message-ID: <62a86f8c77ff10dc7620e19e0e52ac3248abf599.1688155097.git.peter@polidoro.io> (raw)
In-Reply-To: <cover.1688155097.git.peter@polidoro.io>

From: Peter Polidoro <peter@polidoro.io>

* 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





  parent reply	other threads:[~2023-06-30 20:03 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-30 20:02 [bug#64375] [PATCH 0/8] Add python-platformio plus dependency updates peter
2023-06-30 20:02 ` [bug#64379] [PATCH 1/8] gnu: python-pyelftools: Update to 0.29 peter
2023-06-30 20:02 ` [bug#64382] [PATCH 2/8] gnu: python-sanic: Update to 21.12.2 peter
2023-06-30 20:02 ` peter [this message]
2023-06-30 20:02 ` [bug#64383] [PATCH 4/8] gnu: python-starlette: Update to 0.26.0 peter
2023-06-30 20:02 ` [bug#64384] [PATCH 5/8] gnu: python-aiofiles: Update to 23.1.0 peter
2023-06-30 20:02 ` [bug#64380] [PATCH 6/8] gnu: python-tabulate: Update to 0.9.0 peter
2023-06-30 20:02 ` [bug#64377] [PATCH 7/8] gnu: python-semantic-version: Update to 2.10.0 peter
2023-06-30 20:02 ` [bug#64381] [PATCH 8/8] gnu: Add python-platformio peter
2023-08-29 14:01 ` [bug#64375] [PATCH 1/4] gnu: python-semantic-version: Update to 2.10.0 peter
2023-08-29 14:01   ` [bug#64375] [PATCH 2/4] gnu: python-sanic: Update to 21.12.2 peter
2023-08-29 14:01   ` [bug#64375] [PATCH 3/4] gnu: python-quart: Update to 0.18.4 peter
2023-08-29 14:01   ` [bug#64375] [PATCH 4/4] gnu: Add platformio peter
2023-10-02 15:08     ` [bug#64375] bug#64384: [PATCH 5/8] gnu: python-aiofiles: Update to 23.1.0 Ludovic Courtès
2023-10-04 13:57       ` Peter Polidoro

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=62a86f8c77ff10dc7620e19e0e52ac3248abf599.1688155097.git.peter@polidoro.io \
    --to=peter@polidoro.io \
    --cc=64378@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).