From patchwork Wed Jun 8 20:55:33 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Polidoro X-Patchwork-Id: 39798 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 4658E27BBEA; Wed, 8 Jun 2022 21:57:47 +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 B0D8127BBE9 for ; Wed, 8 Jun 2022 21:57:46 +0100 (BST) Received: from localhost ([::1]:51810 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nz2kL-0005vS-QV for patchwork@mira.cbaines.net; Wed, 08 Jun 2022 16:57:45 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54192) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nz2je-0004Dv-Ru for guix-patches@gnu.org; Wed, 08 Jun 2022 16:57:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:50516) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nz2je-0003AP-JY for guix-patches@gnu.org; Wed, 08 Jun 2022 16:57:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nz2je-00018B-JC for guix-patches@gnu.org; Wed, 08 Jun 2022 16:57:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55831] [PATCH 4/8] gnu: python-httpcore and python-httpx: Update to 0.15.0 and 0.23.0 Resent-From: peter@polidoro.io Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 08 Jun 2022 20:57:02 +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.16547217664232 (code B ref 55831); Wed, 08 Jun 2022 20:57:02 +0000 Received: (at 55831) by debbugs.gnu.org; 8 Jun 2022 20:56:06 +0000 Received: from localhost ([127.0.0.1]:44404 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nz2ik-000166-2S for submit@debbugs.gnu.org; Wed, 08 Jun 2022 16:56:06 -0400 Received: from black.elm.relay.mailchannels.net ([23.83.212.19]:5120) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nz2iX-000144-LI for 55831@debbugs.gnu.org; Wed, 08 Jun 2022 16:56:03 -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 397525A17B0; Wed, 8 Jun 2022 20:55:52 +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 C95895A17AB; Wed, 8 Jun 2022 20:55:51 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1654721751; a=rsa-sha256; cv=none; b=R/NjND18AIpe1kCNI/+cR33VsxGMpIyJQGsPySdI1B4/USGY5hHH/u9NzHL7kJKXwr5csg BtweO0G3cAxNVoeN0LOwgXIniqugBrhPsvx95+tyY2tw5QNjKbeEeuPtCS4Xn9vOT72v7R k8taJMsTpiL33KW8gE5NHwXnZXYdVQpuPx6IIeenqH2NHjtsxh/JHG3T8gIUkaHsu8s2uN L3kBswv09NVJxFG/0RiPN/iQXmekrVKoU/QPd2R+8Sbrb4D0qzXGwL4282Rob4Q7teQL6e lvURuV9vajcR+YOvJv7CrKvBv4kQL2VCD5eCeAw44D78OVEcOTLMh5seLHk4Nw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1654721751; 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=vLZAlGdCNTB35ixokXGzFyrQnd7PIufNHh6RdEzSgN8=; b=DMMFwWjRhqQDPCV1FXW+MvXDBApFXLJ94UVpMqMMLaU/WdFecIEfoSF16zwy0KlW+gS/i2 NirZ71Wy0S9Fm1oXGbFG/lRueOR2sSiAW64h8NxNRCsA76dKPw7JQVJpkRG1EOZ0NL89WJ N2DQw4eOuosfak4yBE3d0yzU2l+o/eLoCZ/X0n2d9OOme2kZRi+zo7+BdFo13KvEIevrGw bmS8fuhq2+GDrkdyBTWJox6wuyXXL8Z69hJEWzPyz+ytLb4w0zVQIHhtLOvx7Zh3fCcjVV cl34MzIVOask6GRhTUaPbe9f0YzPHrKIc2d2ax2xCaVqYaw4NnjPoQcqqqPEFA== ARC-Authentication-Results: i=1; rspamd-848669fb87-nzvgc; 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-Well-Made-Dime: 538fe0057d30ef56_1654721752064_1589270669 X-MC-Loop-Signature: 1654721752064:3653970293 X-MC-Ingress-Time: 1654721752064 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.125.123.1 (trex/6.7.1); Wed, 08 Jun 2022 20:55:52 +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 4LJKJ71jkvzPY; Wed, 8 Jun 2022 13:55:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=polidoro.io; s=dreamhost; t=1654721751; bh=vLZAlGdCNTB35ixokXGzFyrQnd7PIufNHh6RdEzSgN8=; h=From:To:Cc:Subject:Date:Content-Transfer-Encoding; b=gce2OXA0jKZ3ra/Ipb7w/1nPuioe4MBheVuVztbtVjuheva3a7qog9+QMKa0sPrQM c7nYzXwjoy52LTylWIk3YEWk+8y7pvpRAWby9aWZCAcq5HggM58yz9BPURkm3N9NQy iRqcH1froOy816rTbociClCBSG1zNvmWIg8pVj7Mex7DF/zPOURsGC2nl5Rm54AeA8 8a9PVzREqZ0UnMoqjF0sC98qQ/MAR7Qd5CuwTTMIFGMyrswJnE2ddXNmTY/mo8UUfZ 66ecw+E6GdyGfYYvyCaFKt3EszXyS1KxzaqSDNoij7Uowo8ZvltM6ZZO9rQPhwhOxJ 6IZX3Kgfmdt5w== From: peter@polidoro.io Date: Wed, 8 Jun 2022 16:55:33 -0400 Message-Id: <94f4b1482a4976400edbddc3bd0d5a32f4fda3ee.1654720996.git.peter@polidoro.io> X-Mailer: git-send-email 2.36.1 In-Reply-To: References: 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)