From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id oGbJJU4l+GC+uAAAgWs5BA (envelope-from ) for ; Wed, 21 Jul 2021 15:46:54 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id IGluIU4l+GCrAgAAbx9fmQ (envelope-from ) for ; Wed, 21 Jul 2021 13:46:54 +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 AF2BB1F5FA for ; Wed, 21 Jul 2021 15:46:53 +0200 (CEST) Received: from localhost ([::1]:60302 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m6CYm-0001Pv-OR for larch@yhetil.org; Wed, 21 Jul 2021 09:46:52 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36690) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m6CXy-0000Iv-A4 for guix-patches@gnu.org; Wed, 21 Jul 2021 09:46:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53219) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m6CXy-0002Ov-2o for guix-patches@gnu.org; Wed, 21 Jul 2021 09:46:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m6CXy-0000vq-25 for guix-patches@gnu.org; Wed, 21 Jul 2021 09:46:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49123] [PATCH 15/24] gnu: Add python-aioresponses. Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 21 Jul 2021 13:46:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49123 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: slg <0x2d@disroot.org>, 49123@debbugs.gnu.org Received: via spool by 49123-submit@debbugs.gnu.org id=B49123.16268751023496 (code B ref 49123); Wed, 21 Jul 2021 13:46:02 +0000 Received: (at 49123) by debbugs.gnu.org; 21 Jul 2021 13:45:02 +0000 Received: from localhost ([127.0.0.1]:36532 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m6CX0-0000u1-2C for submit@debbugs.gnu.org; Wed, 21 Jul 2021 09:45:02 -0400 Received: from xavier.telenet-ops.be ([195.130.132.52]:44968) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m6CWy-0000td-4y for 49123@debbugs.gnu.org; Wed, 21 Jul 2021 09:45:01 -0400 Received: from ptr-bvsjgyjmffd7q9timvx.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:aaf1:9810:a0b8:a55d]) by xavier.telenet-ops.be with bizsmtp id Xpkx2500X0mfAB401pkyww; Wed, 21 Jul 2021 15:44:58 +0200 Message-ID: <24a54f59fc8f4c935f1a0ecb3a53691c7f2013af.camel@telenet.be> From: Maxime Devos Date: Wed, 21 Jul 2021 15:44:47 +0200 In-Reply-To: <20210620010742.4259-15-0x2d@disroot.org> References: <20210620010742.4259-1-0x2d@disroot.org> <20210620010742.4259-15-0x2d@disroot.org> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-mPFKXXYbjclQmOszuUfV" User-Agent: Evolution 3.34.2 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r21; t=1626875098; bh=k8RJ7hpsOOvySQSj06zXCZQMbqqt+AdcMf5EihCu32Q=; h=Subject:From:To:Date:In-Reply-To:References; b=M0zeNnNqh106tDnctElwlaMSZOgfX9tOgUM9g6KURWC/8e2wDq/vI4s/MAXphd8qY s8UK08AHivmivTruvyVASU/CvMZOWin1dHA+RHYfQCc2OPzzcQ8xooMiaba5Lm2SgS qV80WMGYkdOSycKz/GgegoFT0RBM+jta9XfBUvH6wPgoGy1V7CXwkBCDPPJ+Jd2rHI I4Ay0mRjpspTUY9VLYR1bDxaLcWFmFF9KkxLx8XWejKJN5kDV0PErA7jNWY287kdyh jAU5pTo+yn7kU3Cu3Tg+vs7MJThh11XjHqvsGqEU/8x+vx7oR6z2LF0OuavnizelJM PNgntVf+KB7Pw== 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+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1626875214; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=k8RJ7hpsOOvySQSj06zXCZQMbqqt+AdcMf5EihCu32Q=; b=C0D3X7VgMWNwbP2tHGwNSBpGko6nvbC5FtlH8UTv7loykq5qpmopkqOEvTnKxHDhXkUpMk oS1qA6o0uDY4fHfYn4u8ci0vIIwz6Aqk3hje6n/96rR9SZAHKV17tGYwJU3z0wja6JEJFu apBmjJnHp8ltt+Q6zaNXcFeEcUxSVaPeCJxfvbsq+C5AnPttg6Bj36XVdIXDvWYGOcFxHx L6Pr2yoNpk6OZuCtv1GG40jd/HIPVRwHSOGKZ/GBlfpIOKPFMXXrsWuvL9kNeQ7TFchwtZ ZYK/JLrMgzC11qwbsCIkM+EMPbipTnLa1prILvWXOWYt1lru21xagpsAyB05Sg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1626875214; a=rsa-sha256; cv=none; b=dAvXb3O8+lcLfEjt2pbZyBVQcSZ/AHf89iK4ef7jggspV5WCItPIiwYiW7SoPtWDooVvfS VQkF2C8bPqMAHteyl/ecyRU0p6SGb/7tzMOT7Re3IB1DApZmoegG06ay59CpKYU1xbldHl 5l07JLNukDsrCzYWQHRwGLSNEbiWNSt0mCNMoV6qVpCfkFzWFcdl3rx9ToT1nigx2AqDnd WlSQtbkagpbGivSgf9MoNK+R2VU/fi25cBxfyhPtP9R0JxK4l4SaAwutzaoYpR2tLr4EgB 3TgHKlzUCLMLseyL8cyIehFxrCwR+mhLXmvIUQQdT2yAH8taFnwZeh/bVH+pnw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r21 header.b=M0zeNnNq; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=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-Migadu-Spam-Score: -1.91 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r21 header.b=M0zeNnNq; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=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-Migadu-Queue-Id: AF2BB1F5FA X-Spam-Score: -1.91 X-Migadu-Scanner: scn1.migadu.com X-TUID: 1ibU3K8KwUSH --=-mPFKXXYbjclQmOszuUfV Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable slg via Guix-patches via schreef op za 19-06-2021 om 22:07 [-0300]: > * gnu/packages/python-web.scm (python-aioresponses): New variable. > --- > gnu/packages/python-web.scm | 28 ++++++++++++++++++++++++++++ > 1 file changed, 28 insertions(+) >=20 > diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm > index d4a959aacf..3a01a8c33c 100644 > --- a/gnu/packages/python-web.scm > +++ b/gnu/packages/python-web.scm > @@ -6054,3 +6054,31 @@ your code non-blocking and speedy.") > "Socks is a library providing core proxy (SOCKS4, SOCKS5, HTTP tunn= eling) > functionality.") > (license license:asl2.0))) > + > +(define-public python-aioresponses > + (package > + (name "python-aioresponses") > + (version "0.7.2") > + (source > + (origin > + (method url-fetch) > + (uri (pypi-uri "aioresponses" version)) > + (sha256 > + (base32 > + "16p8mdyfirddrsay62ji7rwcrqmmzxzf2isdbfm9cj5p338rbr42")))) It build successfully and the source code doesn't appear to contain malware (*) or anything pre-built. (*) includes propietary software > + (build-system python-build-system) > + (arguments > + `(#:tests? #f)) ;; Tests make http requests > + (propagated-inputs > + `(("python-aiohttp" ,python-aiohttp))) > + (native-inputs > + `(("python-pbr" ,python-pbr))) > + (home-page "https://github.com/pnuckowski/aioresponses") > + (synopsis "Mock out requests made by ClientSession from aiohttp pack= age") Either drop the 'package", or make this "... from the aiohttp package". > + (description "Aioresponses is a helper to mock/fake web requests in = python > +aiohttp package. For requests module there are a lot of packages that h= elp us =E2=80=98in python aiohttp package=E2=80=99 --> maybe =E2=80=98with aiohttp= =E2=80=99. You can drop the "us" in "that help is" > +with testing (eg. httpretty, responses, requests-mock). When it comes t= o it's e.g., not eg. > +testing asynchronous HTTP requests it is a bit harder (at least at the b= eginning). =E2=80=98(at least in the beginning)=E2=80=99 doesn't really inform people = searching for which package they can use. I'd suggest dropping it. > +The purpose of this package is to provide an easy way to test asynchrono= us HTTP > +requests.") This sentence seems rather informative, clear and to the point. I'd move it= to the beginning of the description. > + (license license:x11))) It's the expat license not the x11 license. Greetings, Maxime. --=-mPFKXXYbjclQmOszuUfV Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYPgkzxccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7hMTAP9cOtH/Lzs7yULpTd+kFk7PG0jw ByaaKLr2dX0JhYbxQAEAkqbPmdLTD6r8iNSBVfz3/7jhLOAVJYamjYCm9OeXIw8= =V11d -----END PGP SIGNATURE----- --=-mPFKXXYbjclQmOszuUfV--