From patchwork Thu May 6 19:17:26 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Vinicius Monego X-Patchwork-Id: 29155 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 A262327BC82; Thu, 6 May 2021 20:22:17 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 5C07227BC81 for ; Thu, 6 May 2021 20:22:17 +0100 (BST) Received: from localhost ([::1]:46542 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lejZg-0000os-Im for patchwork@mira.cbaines.net; Thu, 06 May 2021 15:22:16 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38716) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lejWY-0006vb-KC for guix-patches@gnu.org; Thu, 06 May 2021 15:19:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:55891) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lejWY-0008FW-C7 for guix-patches@gnu.org; Thu, 06 May 2021 15:19:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lejWY-0006xW-5E for guix-patches@gnu.org; Thu, 06 May 2021 15:19:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48263] [PATCH 1/2] gnu: python-hypercorn: Rename to hypercorn. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 06 May 2021 19:19:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 48263 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 48263@debbugs.gnu.org Cc: Vinicius Monego X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.162032869626735 (code B ref -1); Thu, 06 May 2021 19:19:01 +0000 Received: (at submit) by debbugs.gnu.org; 6 May 2021 19:18:16 +0000 Received: from localhost ([127.0.0.1]:39201 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lejVh-0006x9-VW for submit@debbugs.gnu.org; Thu, 06 May 2021 15:18:16 -0400 Received: from lists.gnu.org ([209.51.188.17]:41260) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lejVe-0006x3-Uj for submit@debbugs.gnu.org; Thu, 06 May 2021 15:18:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38480) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lejVe-0006DL-DX for guix-patches@gnu.org; Thu, 06 May 2021 15:18:06 -0400 Received: from mout02.posteo.de ([185.67.36.66]:42263) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lejVU-0007e8-Be for guix-patches@gnu.org; Thu, 06 May 2021 15:18:06 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id F25922400FE for ; Thu, 6 May 2021 21:17:50 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1620328671; bh=+7ZzTwbd4KoMYGHBXN/rHFDRJDzVXLsVQ9Ff5ty3OoQ=; h=From:To:Cc:Subject:Date:From; b=ViUB8NUvTO/6VlWKolblL1x1KJBa7iJa5x28HIupYf25KDpjfF7NcXGwVZR8q18ug hrao62Hv7x0Go56CLF+hAVUoCEiHbi/igsU/c8/WxP40iscnW9CPMJlr1emGPlpsIZ s36A9jCHu9DRWZv6sOeVzOO0IKjNaapEX7PeHQhoukz2X52ZivO0U6ONcAFmRzQ3zA YpedeiIwoYoWHutJCL0ns8/eHm3W9nzkkt6k53w+CX9vL+O2/FdkLDKs3kMN+K2krs uj8+Gu0pkN3Eboeaiy01ISV6+i0YZiWXuTjrxYJQPdA1sQHuWIE0+Cdc+RcnWioHEL FF+nICDK8k2aw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Fbjyj32LCz6tmN; Thu, 6 May 2021 21:17:49 +0200 (CEST) From: Vinicius Monego Date: Thu, 6 May 2021 19:17:26 +0000 Message-Id: <20210506191726.103393-1-monego@posteo.net> MIME-Version: 1.0 Received-SPF: pass client-ip=185.67.36.66; envelope-from=monego@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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_MED=-2.3, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/python-web.scm (python-hypercorn): Rename to hypercorn. --- This package provides the same use case for "gunicorn" that we have and both are used as binaries. I keep the inputs propagated because hypercorn also exposes some functionality over a module. See https://pgjones.gitlab.io/hypercorn/how_to_guides/api_usage.html for reference. gnu/packages/python-web.scm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 4f34502e86..223aca85a6 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -37,7 +37,7 @@ ;;; Copyright © 2020 Holger Peters ;;; Copyright © 2020 Noisytoot ;;; Copyright © 2020 Edouard Klein -;;; Copyright © 2020 Vinicius Monego +;;; Copyright © 2020, 2021 Vinicius Monego ;;; Copyright © 2020 Konrad Hinsen ;;; Copyright © 2020 Giacomo Leidi ;;; Copyright © 2021 Ekaitz Zarraga @@ -1575,9 +1575,9 @@ choose to use, ensuring that you can communicate via WebSockets, as defined in RFC6455, regardless of your programming paradigm.") (license license:expat))) -(define-public python-hypercorn +(define-public hypercorn (package - (name "python-hypercorn") + (name "hypercorn") (version "0.10.2") (source (origin From patchwork Thu May 6 19:20:39 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinicius Monego X-Patchwork-Id: 29156 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 1BBBF27BC82; Thu, 6 May 2021 20:22:18 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id DA9A827BC81 for ; Thu, 6 May 2021 20:22:17 +0100 (BST) Received: from localhost ([::1]:46580 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lejZh-0000q1-39 for patchwork@mira.cbaines.net; Thu, 06 May 2021 15:22:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39844) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lejZS-0000oc-Rx for guix-patches@gnu.org; Thu, 06 May 2021 15:22:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:55908) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lejZS-0001WF-IO for guix-patches@gnu.org; Thu, 06 May 2021 15:22:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lejZS-0006zu-FH for guix-patches@gnu.org; Thu, 06 May 2021 15:22:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48263] [PATCH 2/2] gnu: hypercorn: Update to 0.11.2. References: <20210506191726.103393-1-monego@posteo.net> In-Reply-To: <20210506191726.103393-1-monego@posteo.net> Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 06 May 2021 19:22:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48263 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 48263@debbugs.gnu.org Cc: Vinicius Monego Received: via spool by 48263-submit@debbugs.gnu.org id=B48263.162032888126887 (code B ref 48263); Thu, 06 May 2021 19:22:02 +0000 Received: (at 48263) by debbugs.gnu.org; 6 May 2021 19:21:21 +0000 Received: from localhost ([127.0.0.1]:39218 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lejYn-0006zb-4d for submit@debbugs.gnu.org; Thu, 06 May 2021 15:21:21 -0400 Received: from mout01.posteo.de ([185.67.36.65]:50171) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lejYk-0006zV-IY for 48263@debbugs.gnu.org; Thu, 06 May 2021 15:21:19 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 551AD24002A for <48263@debbugs.gnu.org>; Thu, 6 May 2021 21:21:12 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1620328872; bh=5ixrKdAxmsPEiCqt//h4XGhRGQ5xH08X3sXfzKrc82g=; h=From:To:Cc:Subject:Date:From; b=cnW2S5hMcS6ccJx5CD2AJwTGoeRlao095493Z0A9CrMJgJmvTaaDRXvdb6k/IsEDW HGPFv218lktvApMj9xLb3/ongKymGl+3GBuXiXex1XvMDXxFGWoTnR2mj8HtYrIodZ ly1wW7TIHlEnjL5d7DGOrrRExbItwtFmsHN/UKs+BnsssfHKh1c3TqJxGiZCtAZjjl PuPKqUV0XPa/0XEt6DFMVTIbrn/AY/OftOBynHp20LEBWKBu+AdgV+Md74RsD2k1rL YNTti5ARY6xNclPZfKtxMfQt1r6okfV1xVoQar1dKtZwLsh56GgDH66bSDOIkhFZWw 8sqWKWg9jr25w== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Fbk2Z4fRWz9rxF; Thu, 6 May 2021 21:21:10 +0200 (CEST) From: Vinicius Monego Date: Thu, 6 May 2021 19:20:39 +0000 Message-Id: <20210506192039.103711-1-monego@posteo.net> MIME-Version: 1.0 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" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/python-web.scm (hypercorn): Update to 0.11.2. (python-h11): Update to 0.12.0. [arguments]: Add 'test-target' keyword. Do not replace check phase. [native-inputs]: Add python-pytest-runner. --- Both packages have to updated at the same time or the hypercorn tests will fail (if either is updated first). I rebuilt the h11 dependents succesfully. gnu/packages/python-web.scm | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 223aca85a6..59702ac62e 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -892,22 +892,19 @@ for use in Python programs that implement HTTP/2.") (define-public python-h11 (package (name "python-h11") - (version "0.9.0") + (version "0.12.0") (source (origin (method url-fetch) (uri (pypi-uri "h11" version)) (sha256 - (base32 "1qfad70h59hya21vrzz8dqyyaiqhac0anl2dx3s3k80gpskvrm1k")))) + (base32 "0hk0nll6qazsambp3kl8cxxsbl4gv5y9252qadyk0jky0sv2q8j7")))) (build-system python-build-system) (arguments - `(#:phases - (modify-phases %standard-phases - (replace 'check - (lambda _ - (invoke "pytest" "-vv")))))) + `(#:test-target "pytest")) (native-inputs - `(("python-pytest" ,python-pytest))) + `(("python-pytest" ,python-pytest) + ("python-pytest-runner" ,python-pytest-runner))) (home-page "https://github.com/python-hyper/h11") (synopsis "Pure-Python, bring-your-own-I/O implementation of HTTP/1.1") (description @@ -1578,13 +1575,13 @@ RFC6455, regardless of your programming paradigm.") (define-public hypercorn (package (name "hypercorn") - (version "0.10.2") + (version "0.11.2") (source (origin (method url-fetch) (uri (pypi-uri "Hypercorn" version)) (sha256 - (base32 "15dgy47a18w2ls3hwykra1cyf7yzxmfjqnsqml482p12cxr2xwqr")))) + (base32 "16kai5d12f05jr89mj611zslxqri4cd7ixcgd6yhl211qlcyg8av")))) (build-system python-build-system) (arguments `(#:phases