From patchwork Fri Jun 30 20:02:04 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Polidoro X-Patchwork-Id: 51470 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 4B1AB27BBE9; Fri, 30 Jun 2023 21:03:55 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 2D3BA27BBEA for ; Fri, 30 Jun 2023 21:03:53 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qFKKg-0007OW-Mz; Fri, 30 Jun 2023 16:03:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qFKKe-0007Mf-Hr for guix-patches@gnu.org; Fri, 30 Jun 2023 16:03:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qFKKe-0001JD-4M for guix-patches@gnu.org; Fri, 30 Jun 2023 16:03:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qFKKd-0008H2-Vw for guix-patches@gnu.org; Fri, 30 Jun 2023 16:03:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#64378] [PATCH 3/8] gnu: python-uvicorn: Update to 0.22.0. Resent-From: peter@polidoro.io Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 30 Jun 2023 20:03:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 64378 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 64378@debbugs.gnu.org Cc: Peter Polidoro X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.168815537131693 (code B ref -1); Fri, 30 Jun 2023 20:03:03 +0000 Received: (at submit) by debbugs.gnu.org; 30 Jun 2023 20:02:51 +0000 Received: from localhost ([127.0.0.1]:55849 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qFKKR-0008F4-3A for submit@debbugs.gnu.org; Fri, 30 Jun 2023 16:02:51 -0400 Received: from lists.gnu.org ([209.51.188.17]:39852) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qFKKG-0008DX-R2 for submit@debbugs.gnu.org; Fri, 30 Jun 2023 16:02:42 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qFKKD-0007DM-Qy for guix-patches@gnu.org; Fri, 30 Jun 2023 16:02:40 -0400 Received: from antelope.elm.relay.mailchannels.net ([23.83.212.4]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qFKKA-00017P-9N for guix-patches@gnu.org; Fri, 30 Jun 2023 16:02:37 -0400 X-Sender-Id: dreamhost|x-authsender|peter@polidoro.io Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 51E368C0930; Fri, 30 Jun 2023 20:02:23 +0000 (UTC) Received: from pdx1-sub0-mail-a278.dreamhost.com (unknown [127.0.0.6]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id D37798C0C79; Fri, 30 Jun 2023 20:02:22 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1688155342; a=rsa-sha256; cv=none; b=EbifplIOk27EM6hWkm37m4OPIgiQ4RzOrLgcF4DW/O4bOLubGiuxQMUDAajdvV8Hb6SsjR Fs2UAFa2X3CvHr4CtcXPgONtOcy5d2IRAJ7aYAq7LunHBuSJNAd0WzRCFe9g3udZ2mOqQl 56dS46yxeXbh0CaJ29fU01GLanCcJAD6p98uEJWC+6IP9vOO3tj00XyGUElvgg0tPmVEw7 J55PKQdjC5sSKfffIBWXvNl4eW1eYVPB3G+8XXxzlVkKpJuSA0dKVOTtsgUE9hcGSN9WYJ K+G1uMBnjaVmueJzy9MTVQ8ZDHf5CkbBaSzEWOCp3kkCVJe1bi1pJIe7SXe+mw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1688155342; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=7d/DV0zQI6LLayacvBC9yL7ADR8fIn/sVHDs9QeSNB4=; b=hNPucqiacEtbammqiKyERMipatttTHVSZ4MzW9mjClER8o5xeyzJibvT5iSgaKVpYglokd IKLQuV8MSyLylrP8mKdYFrjTmaoEsshwLHHVoOZx9hhOnt/4g9L0z7aPrX6kbJJI4y3L/V J+2B+Ab59H8y5VElPo+M7qM4RkLGHKBlN3mu+wQOqS5bVRNQRrGdyDynf+sRP0V0yV8BvO lqzJMtdou0bVir9SFr5cS9xGCxA3A0RNnTvA0/eaTnspWIBgHGnTaXYg3Sx+zsr8csfgLL X7Fbi/MPqpPEE98FQvHJfHK0Y0ass8TqnRSk6vs6HNwTo7/RWxXfcnqVh0Dcxg== ARC-Authentication-Results: i=1; rspamd-85899d6fcc-djt69; auth=pass smtp.auth=dreamhost smtp.mailfrom=peter@polidoro.io X-Sender-Id: dreamhost|x-authsender|peter@polidoro.io X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|peter@polidoro.io X-MailChannels-Auth-Id: dreamhost X-Hook-Belong: 18a6bbb83b7a5097_1688155343086_836111319 X-MC-Loop-Signature: 1688155343086:2047654628 X-MC-Ingress-Time: 1688155343085 Received: from pdx1-sub0-mail-a278.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.97.48.114 (trex/6.9.1); Fri, 30 Jun 2023 20:02:23 +0000 Received: from minotaur.lan (unknown [206.241.0.254]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: peter@polidoro.io) by pdx1-sub0-mail-a278.dreamhost.com (Postfix) with ESMTPSA id 4Qt5np2bytzp6; Fri, 30 Jun 2023 13:02:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=polidoro.io; s=dreamhost; t=1688155342; bh=7d/DV0zQI6LLayacvBC9yL7ADR8fIn/sVHDs9QeSNB4=; h=From:To:Cc:Subject:Date:Content-Transfer-Encoding; b=Md0xr4LKzEW5vOM5kjhzzDI2veIr7BU/FgLT2Vpcwkpx/CWcpkvNNyGLJlLDsFe+V lWab6v/O97EYZM8fv/q2uVZd9Lz6SaeWwp4BDyaG19Cw7SS10kx6giu2LC5TWIGcaI KD8TXugJtKqDO0JOk0nz35fZY/2wt43uW61OQHWgu0ZX8k3XcfWRjlBVBRACFi50ir aHGR7vIH5tvkk6nUAvIoe//2SE6hC71IS5uJua1la6TH62LliK1duL+aXOyVgCxKrq z+FBi9wFIy2TFNR2VZs46PT3+99WA11D1FfTC1y07CA8oIXMoQaJ1FcBsxdy9z+6sk VsFG4DVVfKIhw== From: peter@polidoro.io Date: Fri, 30 Jun 2023 16:02:04 -0400 Message-Id: <62a86f8c77ff10dc7620e19e0e52ac3248abf599.1688155097.git.peter@polidoro.io> X-Mailer: git-send-email 2.40.1 In-Reply-To: References: MIME-Version: 1.0 Received-SPF: pass client-ip=23.83.212.4; envelope-from=peter@polidoro.io; helo=antelope.elm.relay.mailchannels.net X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches From: Peter Polidoro * 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))