From patchwork Fri Jan 14 21:08:45 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinicius Monego X-Patchwork-Id: 36346 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 DFE8F27BBEA; Fri, 14 Jan 2022 21:10:38 +0000 (GMT) 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,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL, SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable 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 958AD27BBE9 for ; Fri, 14 Jan 2022 21:10:38 +0000 (GMT) Received: from localhost ([::1]:46986 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n8TqH-0004yU-Pg for patchwork@mira.cbaines.net; Fri, 14 Jan 2022 16:10:37 -0500 Received: from eggs.gnu.org ([209.51.188.92]:53632) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n8Tpk-0004YL-2G for guix-patches@gnu.org; Fri, 14 Jan 2022 16:10:05 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:45478) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n8Tpi-00018W-Uu for guix-patches@gnu.org; Fri, 14 Jan 2022 16:10:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n8Tpi-0005X2-RI for guix-patches@gnu.org; Fri, 14 Jan 2022 16:10:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#53179] [PATCH v2 2/3] gnu: python-httpx: Update to 0.19.0. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 14 Jan 2022 21:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53179 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 53179@debbugs.gnu.org Cc: Vinicius Monego Received: via spool by 53179-submit@debbugs.gnu.org id=B53179.164219455821172 (code B ref 53179); Fri, 14 Jan 2022 21:10:02 +0000 Received: (at 53179) by debbugs.gnu.org; 14 Jan 2022 21:09:18 +0000 Received: from localhost ([127.0.0.1]:38376 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8Tp0-0005VL-5m for submit@debbugs.gnu.org; Fri, 14 Jan 2022 16:09:18 -0500 Received: from mout01.posteo.de ([185.67.36.65]:39101) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8Tov-0005Uv-SZ for 53179@debbugs.gnu.org; Fri, 14 Jan 2022 16:09:14 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 5981424002A for <53179@debbugs.gnu.org>; Fri, 14 Jan 2022 22:09:08 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1642194548; bh=JyG/Y8zZpCFUyYrUUbZebdsxUpZ8BcBJPwIiJsz9BNI=; h=From:To:Cc:Subject:Date:From; b=XRbARbYRrc7RKNzie71f8FHWNC78JXJmnJDenWF/pwMMcyx7mJ3esLrUC/Z7cmc5D a2O+kgQ14QjVa2LH+VzTGsbOxHmpBf365HZ+zmvGUUBNLdTx71RgOXkNsovwOxXmqN pcUDLDYCdDyJlmKqHJzvIRFaVZ1yaKVf00bk10sJkSuy1DmrYTmJoCKTnmX79wirgm SfbOj8rqjGFWmIY6K3m7e0lP9iB2JfBgwigNFrL7nkHzWZIL+NZv9jREjRFKDGp45l jF8CUTREdUitrG+a0rQ1PM4oBmIi7KSrjG0SiC+I0Cw9cvPk05hDtmOiOD8ZMAIIDq 1+n/apZcOf78A== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4JbDSM3p7Dz6tng; Fri, 14 Jan 2022 22:09:06 +0100 (CET) From: Vinicius Monego Date: Fri, 14 Jan 2022 21:08:45 +0000 Message-Id: <20220114210846.171922-2-monego@posteo.net> In-Reply-To: <20220114210846.171922-1-monego@posteo.net> References: <20220114210846.171922-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 (python-httpx): Update to 0.19.0. [arguments]: Adjust skipped tests in the custom 'check phase. [propagated-inputs]: Add python-async-generator, python-charset-normalizer. Remove python-chardet. --- gnu/packages/python-web.scm | 24 +++++++++--------------- 1 file changed, 9 insertions(+), 15 deletions(-) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 639470d7d4..0a1d6d3d29 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -5183,17 +5183,16 @@ Some things HTTP Core does do: (define-public python-httpx (package (name "python-httpx") - (version "0.16.1") + (version "0.19.0") (source (origin - ;; PyPI tarball does not contain tests. - (method git-fetch) + (method git-fetch) ; no tests in PyPI (uri (git-reference (url "https://github.com/encode/httpx") (commit version))) (file-name (git-file-name name version)) (sha256 - (base32 "00gmq45fckcqkj910bvd7pyqz1mvgsdvz4s0k7dzbnc5czzq1f4a")))) + (base32 "1w2wk6f07s6liyhsrq0qjj9vm2khp40kv85x91k70f1a8rwp2k3d")))) (build-system python-build-system) (arguments `(#:phases @@ -5201,16 +5200,10 @@ Some things HTTP Core does do: (replace 'check (lambda* (#:key tests? #:allow-other-keys) (when tests? - (invoke "pytest" "-vv" "-k" - ;; These tests try to open an outgoing connection. + (invoke "python" "-m" "pytest" "-k" (string-append - "not test_connect_timeout" - " and not test_that_send_cause_async_client_to_be_not_" - "closed" - " and not test_that_async_client_caused_warning_when_" - "being_deleted" - " and not test_that_send_cause_client_to_be_not_closed" - " and not test_async_proxy_close" + ;; These tests open outgoing connections. + "not test_async_proxy_close" " and not test_sync_proxy_close")))))))) (native-inputs (list python-autoflake @@ -5230,9 +5223,10 @@ Some things HTTP Core does do: python-trustme python-uvicorn)) (propagated-inputs - (list python-brotli + (list python-async-generator + python-brotli python-certifi - python-chardet + python-charset-normalizer python-httpcore python-idna python-rfc3986