From patchwork Tue Jun 7 20:09:58 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Polidoro X-Patchwork-Id: 39781 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 49DCB27BBEA; Tue, 7 Jun 2022 21:11:22 +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=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 C1B4527BBE9 for ; Tue, 7 Jun 2022 21:11:21 +0100 (BST) Received: from localhost ([::1]:43344 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nyfXs-0005b4-Up for patchwork@mira.cbaines.net; Tue, 07 Jun 2022 16:11:20 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56864) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nyfXa-0005ad-EL for guix-patches@gnu.org; Tue, 07 Jun 2022 16:11:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:47737) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nyfXa-00045i-4w for guix-patches@gnu.org; Tue, 07 Jun 2022 16:11:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nyfXZ-00040j-UY for guix-patches@gnu.org; Tue, 07 Jun 2022 16:11:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55831] [PATCH] gnu: python-httpcore and python-httpx: Update to 0.15.0 and 0.23.0 References: <868rq8zgxm.fsf@polidoro.io> In-Reply-To: <868rq8zgxm.fsf@polidoro.io> Resent-From: peter@polidoro.io Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 07 Jun 2022 20:11:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55831 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 55831@debbugs.gnu.org Cc: Peter Polidoro Received: via spool by 55831-submit@debbugs.gnu.org id=B55831.165463262015368 (code B ref 55831); Tue, 07 Jun 2022 20:11:01 +0000 Received: (at 55831) by debbugs.gnu.org; 7 Jun 2022 20:10:20 +0000 Received: from localhost ([127.0.0.1]:41634 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nyfWu-0003zn-Ax for submit@debbugs.gnu.org; Tue, 07 Jun 2022 16:10:20 -0400 Received: from antelope.elm.relay.mailchannels.net ([23.83.212.4]:7544) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nyfWm-0003zP-PJ for 55831@debbugs.gnu.org; Tue, 07 Jun 2022 16:10:18 -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 6E6FF21C7B; Tue, 7 Jun 2022 20:10:10 +0000 (UTC) Received: from pdx1-sub0-mail-a294.dreamhost.com (unknown [127.0.0.6]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 0C2D1220AE; Tue, 7 Jun 2022 20:10:10 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1654632610; a=rsa-sha256; cv=none; b=gK5z+l+yhTGOrr+/iFWCBLP3jccM9ZZ2TCvZkOr3GRoyh/dwMNSjZcb4xgEx3kpNpLyO6e 4kLlc1meqEBjW7CqsBZWtPnwpaqbn7NMU/4FjmXWIzw56BHw1q0pNbGqqxbzSnTRsTIgg+ f+YF5vWt6yFiwJOGCAsLOL8VEfK7y+IjZFzMHLPw2XFPOkjcgU3pizQLvxaJrZn00XAjc3 ahPw0Rl1mXLq7che9BWdjscpLwyrOD6QuL3X2baplHKX4a0+ULpr4irkgZ8bg+9aDZPb7h 8/s1A4lgYOTgQLe1Hl2shzIwFPXy7VL6/L5aAHbZbcPMCvq37xqi5TD486gxHw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1654632610; 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:dkim-signature; bh=vLZAlGdCNTB35ixokXGzFyrQnd7PIufNHh6RdEzSgN8=; b=gIlTk31r648IgimoxXSwC7DzVMzDTQ179+QumvlAA70/+dKBr3xabGaGSlM1iOPMb8eYYT 9v/OtIq7owN7ld1yiioAcrL1rBD/u7q5QqS13PdGAA1IbE2IiuGoUf/SriEfb4FH3Tz3+x TpcVDzQE3pk3O7GNT/IsTpphs79URjCmmiMdcDsFDGXxahPm3G8wCaMp9scid0sQEpoN2M I4lPWd4GG3gto0lkkWQ8pSkxrWdgAGaoeAtD/BHJJI2HTlMaroqQk0V/ScXSxaPFBchZcC U4HJD/OJ616M661ZIFgeUh833mdJ3sFzLox2RVsECAdE6/eypBbjNyrqtRgiFg== ARC-Authentication-Results: i=1; rspamd-786f5898df-tjbq2; 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-Duck-Language: 42e254ac76c0cbb2_1654632610313_574357092 X-MC-Loop-Signature: 1654632610313:2756119187 X-MC-Ingress-Time: 1654632610313 Received: from pdx1-sub0-mail-a294.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.105.211.179 (trex/6.7.1); Tue, 07 Jun 2022 20:10:10 +0000 Received: from knave.hhmi.org (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-a294.dreamhost.com (Postfix) with ESMTPSA id 4LHhKs1z2mz2D; Tue, 7 Jun 2022 13:10:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=polidoro.io; s=dreamhost; t=1654632609; bh=vLZAlGdCNTB35ixokXGzFyrQnd7PIufNHh6RdEzSgN8=; h=From:To:Cc:Subject:Date:Content-Transfer-Encoding; b=Ag47hFLcmQBDHOoDl/MebMqltfl8m8+BsUqqIL+JO3SnhQg4Woj153SGCdUg0W3MV JMdl6Fo4SF6BVcUY2nPiDO5g9mQZ2gwbziO/aFLDKyx2fg8+Eq8Se+KIWA4hCmXwt1 XIg83szdinfcfN3CoWk3vIm/A3UNXDDBVQF763zLNww3QxZ/eF1IeQ0oQSp4L0okfj eyTnHn0QEY2XQr7fhnBgYcZeqsuQbpwvU3lsmTbIFhKw03A5qkn4lYAZCgLoufOzwu 7UeATsVX2o/N3G0/2JPgTTg2BEMs5HuycRi8LG02nAGjVVyZx5/CUf4Tp1QQJ62/AS KhOqnxIHHbGIg== From: peter@polidoro.io Date: Tue, 7 Jun 2022 16:09:58 -0400 Message-Id: X-Mailer: git-send-email 2.36.1 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 From: Peter Polidoro These packages seem to have cyclic dependencies on each other so they may need to be updated together. * gnu/packages/python-web.scm (python-httpcore): Update to 0.15.0. --- gnu/packages/python-web.scm | 27 ++++++++++++++++++++------- 1 file changed, 20 insertions(+), 7 deletions(-) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 58bdac622a..22c09af1ed 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -5317,7 +5317,7 @@ (define-public python-vf-1 (define-public python-httpcore (package (name "python-httpcore") - (version "0.14.7") + (version "0.15.0") (source (origin ;; PyPI tarball does not contain tests. @@ -5327,15 +5327,20 @@ (define-public python-httpcore (commit version))) (file-name (git-file-name name version)) (sha256 - (base32 "0wdr28vf03l6yxhk8nrvhh7y7x18rqdcfzv1sb6jgzk9zmycrvc7")))) + (base32 "0skj8f85l52gl6x449wzaixcwsyayvn59iwn0df4b7ixlz6xhp8l")))) (build-system python-build-system) (arguments `(#:phases (modify-phases %standard-phases + (add-after 'unpack 'patch-requirements + (lambda _ + (substitute* "setup.py" + (("h11>=0\\.11,<0\\.13") "h11")))) (replace 'check (lambda* (#:key tests? #:allow-other-keys) (when tests? - (invoke "pytest" "-vv" "tests"))))))) + (invoke "pytest" "-vv" "tests" + "-o""asyncio_mode=auto"))))))) (native-inputs (list python-pytest python-pytest-asyncio @@ -5376,13 +5381,17 @@ (define-public python-httpcore-bootstrap (hidden-package (package/inherit python-httpcore (name "python-httpcore-bootstrap") - (arguments (list #:tests? #f)) + (arguments + '(#:tests? #f + ;; sanity check fails when arguments overridden + #:phases (modify-phases %standard-phases + (delete 'sanity-check)))) (native-inputs '())))) (define-public python-httpx (package (name "python-httpx") - (version "0.22.0") + (version "0.23.0") (source (origin ;; PyPI tarball does not contain tests. @@ -5392,7 +5401,7 @@ (define-public python-httpx (commit version))) (file-name (git-file-name name version)) (sha256 - (base32 "1awr56488b66zyl3cx1f03lq2n07xdg5kb4l46vnsm59s6hr02c5")))) + (base32 "0bihm7ylq9ajxz8qyba0xp9qkwm7n06hk01ywkq2vpz65ix5hpdk")))) (build-system python-build-system) (arguments `(#:phases @@ -5478,7 +5487,11 @@ (define-public python-httpx-bootstrap (hidden-package (package/inherit python-httpx (name "python-httpx-bootstrap") - (arguments (list #:tests? #f)) + (arguments + '(#:tests? #f + ;; sanity check fails when arguments overridden + #:phases (modify-phases %standard-phases + (delete 'sanity-check)))) (native-inputs '()) (propagated-inputs (modify-inputs (package-propagated-inputs python-httpx)