From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 0O9sLWlN4l7LQQAA0tVLHw (envelope-from ) for ; Thu, 11 Jun 2020 15:27:37 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id OIojKWlN4l40XgAAbx9fmQ (envelope-from ) for ; Thu, 11 Jun 2020 15:27:37 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 66A8E94051C for ; Thu, 11 Jun 2020 15:27:37 +0000 (UTC) Received: from localhost ([::1]:47072 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jjP7A-0002Ss-9D for larch@yhetil.org; Thu, 11 Jun 2020 11:27:36 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52452) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jjOvA-0007EU-Nx for guix-patches@gnu.org; Thu, 11 Jun 2020 11:15:12 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:54471) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jjOvA-0004Dj-8C for guix-patches@gnu.org; Thu, 11 Jun 2020 11:15:12 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jjOvA-0005M6-3Z for guix-patches@gnu.org; Thu, 11 Jun 2020 11:15:12 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#41807] [PATCH 24/26] gnu: Add python-httpx. Resent-From: Giacomo Leidi Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 11 Jun 2020 15:15:12 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41807 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 41807@debbugs.gnu.org Cc: Giacomo Leidi Received: via spool by 41807-submit@debbugs.gnu.org id=B41807.159188848120348 (code B ref 41807); Thu, 11 Jun 2020 15:15:12 +0000 Received: (at 41807) by debbugs.gnu.org; 11 Jun 2020 15:14:41 +0000 Received: from localhost ([127.0.0.1]:37756 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jjOuf-0005I2-EP for submit@debbugs.gnu.org; Thu, 11 Jun 2020 11:14:41 -0400 Received: from latitanza.investici.org ([82.94.249.234]:23531) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jjOuL-0005Ct-BK for 41807@debbugs.gnu.org; Thu, 11 Jun 2020 11:14:21 -0400 Received: from mx3.investici.org (unknown [127.0.0.1]) by latitanza.investici.org (Postfix) with ESMTP id 23AAA120178; Thu, 11 Jun 2020 15:14:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1591888461; bh=PwnzNxbVVKahTqsqM2VYRCzJjUvAQEoLf4LWyQHxqZY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=RrX1N6Ms6QEeL+rq7TMPMwy3KNr94x6kr53oS6ZlJWbGP4rQ+Ran33b2NYK/gJ2Wz HDtTP+TWbC90/omm4fEGVy9IcfAf9X5VxdSRy4dh9XNI+t1vdvFzr/bZo54KzTScs6 ag9hboO6h+X+EGm0gW24ZQsi/ZCy/5Wa71Gj8wjM= Received: from [82.94.249.234] (mx3.investici.org [82.94.249.234]) (Authenticated sender: goodoldpaul@autistici.org) by localhost (Postfix) with ESMTPSA id EB5C112015C; Thu, 11 Jun 2020 15:14:20 +0000 (UTC) From: Giacomo Leidi Date: Thu, 11 Jun 2020 17:13:55 +0200 Message-Id: <20200611151357.18843-24-goodoldpaul@autistici.org> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200611151357.18843-1-goodoldpaul@autistici.org> References: <20200611151357.18843-1-goodoldpaul@autistici.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.0 (-) X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=autistici.org header.s=stigmate header.b=RrX1N6Ms; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Spam-Score: 4.99 X-TUID: 6aQgbchUwbC/ * gnu/packages/python-web.scm (python-httpx): New variable. --- gnu/packages/python-web.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index d40dad2e00..daaf4a8934 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -4206,3 +4206,31 @@ codebase that is capable of decoding a binary stream into HTTP/2 frames.") "@code{python-hstspreload} contains Chromium HSTS Preload list as a Python package.") (license license:bsd-3))) + +(define-public python-httpx + (package + (name "python-httpx") + (version "0.13.3") + (source + (origin + (method url-fetch) + (uri (pypi-uri "httpx" version)) + (sha256 + (base32 + "1bpg46mx8n74hxmw2pvgr5pc590hxdsh4wrs4j5bm00bx49vshin")))) + (build-system python-build-system) + (propagated-inputs + `(("python-certifi" ,python-certifi) + ("python-chardet" ,python-chardet) + ("python-h11" ,python-h11) + ("python-h2" ,python-h2) + ("python-hstspreload" ,python-hstspreload) + ("python-idna" ,python-idna) + ("python-rfc3986" ,python-rfc3986) + ("python-sniffio" ,python-sniffio) + ("python-urllib3" ,python-urllib3))) + (home-page "https://github.com/encode/httpx") + (synopsis "HTTP client for Python") + (description "HTTPX is a fully featured HTTP client for Python 3, +which provides sync and async APIs, and support for both HTTP/1.1 and HTTP/2.") + (license license:bsd-3))) -- 2.26.2