From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id iDxPCnWsR2O6KgAAbAwnHQ (envelope-from ) for ; Thu, 13 Oct 2022 08:13:09 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id sBZ2CXWsR2P0+AAAG6o9tA (envelope-from ) for ; Thu, 13 Oct 2022 08:13:09 +0200 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 EDD43B523 for ; Thu, 13 Oct 2022 08:13:08 +0200 (CEST) Received: from localhost ([::1]:37622 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oirSu-00015e-6j for larch@yhetil.org; Thu, 13 Oct 2022 02:13:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60774) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oirSo-00014Q-DJ for guix-patches@gnu.org; Thu, 13 Oct 2022 02:13:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:59971) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oirSo-0000ye-1z for guix-patches@gnu.org; Thu, 13 Oct 2022 02:13:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oirSn-0000VJ-Sa for guix-patches@gnu.org; Thu, 13 Oct 2022 02:13:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#58482] [PATCH] gnu: python-responses: Update to 0.22.0. Resent-From: jgart Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 13 Oct 2022 06:13:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 58482 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 58482@debbugs.gnu.org Cc: jgart X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16656415651911 (code B ref -1); Thu, 13 Oct 2022 06:13:01 +0000 Received: (at submit) by debbugs.gnu.org; 13 Oct 2022 06:12:45 +0000 Received: from localhost ([127.0.0.1]:59049 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oirSX-0000Ul-BP for submit@debbugs.gnu.org; Thu, 13 Oct 2022 02:12:45 -0400 Received: from lists.gnu.org ([209.51.188.17]:46934) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oirSV-0000Ue-MJ for submit@debbugs.gnu.org; Thu, 13 Oct 2022 02:12:43 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56280) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oirSV-0000mI-FN for guix-patches@gnu.org; Thu, 13 Oct 2022 02:12:43 -0400 Received: from mx1.dismail.de ([78.46.223.134]:21896) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oirST-0000wG-MW for guix-patches@gnu.org; Thu, 13 Oct 2022 02:12:43 -0400 Received: from mx1.dismail.de (localhost [127.0.0.1]) by mx1.dismail.de (OpenSMTPD) with ESMTP id 89747c1c for ; Thu, 13 Oct 2022 08:12:37 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=dismail.de; h=from:to:cc :subject:date:message-id:mime-version:content-transfer-encoding; s=20190914; bh=I7WsrxWfBYJQifNCNEBUZbbaF64JFQtrMiuQhvZNC8k=; b= I62EOnlPHzHPbbiNRSXP9ox/4TiAgtwfd41R0M2gte+/5n+YsU2ygyD4H/URv7Aa Kw8OPlJsXqXjJxqan+mFIwERggqwfz5LPr3wZbIKPj9l6ceMYG7txIGeYyTDXZin T2ZJJMWfX8eCFD42RRwTKSyOzdWuJNlpqzvNPbpBuMWWF/B+ZaHjyioZqrJChKR+ 1QSE/qdEMWDnAJ25hV0d5afbKF9J1FyRN1+37+Z/0iG3/z3woxr5J5u3tSg8ahcp Y0FF0U8FkcPcjrBGCj4djTtAaK/APkw7lqMsquQjxRJJSSq8+7IFrInIJ6hHzCLw y2XGvgD6d6dTiVM0vvjLQA== Received: from smtp1.dismail.de ( [10.240.26.11]) by mx1.dismail.de (OpenSMTPD) with ESMTP id 2acb0810 for ; Thu, 13 Oct 2022 08:12:36 +0200 (CEST) Received: from smtp1.dismail.de (localhost [127.0.0.1]) by smtp1.dismail.de (OpenSMTPD) with ESMTP id abe45382 for ; Thu, 13 Oct 2022 08:12:36 +0200 (CEST) Received: by dismail.de (OpenSMTPD) with ESMTPSA id a940e060 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Thu, 13 Oct 2022 08:12:36 +0200 (CEST) Date: Thu, 13 Oct 2022 01:12:32 -0500 Message-Id: <20221013061232.28887-1-jgart@dismail.de> X-Mailer: git-send-email 2.38.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=78.46.223.134; envelope-from=jgart@dismail.de; helo=mx1.dismail.de X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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" Reply-to: jgart X-ACL-Warn: , jgart via Guix-patches From: jgart via Guix-patches via X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1665641589; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=hjgUzxjg6fwlDaaJHiU49PkSbdGgigjXUU4K9sM/sCE=; b=ZgFiPVx1C6RWJmaKPQuoc15fOm/IgvbvtaS6aGHgckNH7rOS6RS7J5eLGpaeCfw8n080Aw oM/bhfbIEflHWHhStRAVlwgXqRQagi/uHZ/zzR/rg4fgnYdKjH4zKD7n7r6u3EpwGF0yRv WDcEkWGDkGjDq3t+j1jAv5YVFHWLyyYW2ly8oViSobv/KLaAFek01hft9rHJpRPJ++ql50 ymPg+p0wr+Z+U1Z8xlsGrawcgDfwR61BxWROL4II8mJpqy0KjFLxBcxl2rFlcqmzRl0RD4 J1m+PudTuFkUiYkGIPTeDZRIxKX98efg3Vh3Rt1vvHzjESL5ReRVPB+0vA0nvA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1665641589; a=rsa-sha256; cv=none; b=LNqbRTDrgz6G736Wzck5bbAQ+82sFr2HXAtnVpF5Yw1aNKHIfLw4nM68/lhxawSsJjSw+6 lvlyXqOUv3AZhHuGSoLGuuMOsvxtrHbEYMFrw87kf4K/fwCY7DZFQI164gaxc2QK1o1iRQ bsjUB0ivH1qOXONCrxNcZHI3acnntgstM00BXwpbjOS/5c6Id3CQZHq36KbbDuNEse959I +xN522EMtunx3AfPDjsNVPRWGuyBCl17YW0CDLnWGDBipz84ZqS3571fUmG27xxKYy2MIK hkm34jSWnJpCD6MpkatqkmqdqGjX9yCficDTXl27OkKzGoRDgXFPO5Yp0c1lEA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=dismail.de header.s=20190914 header.b=I62EOnlP; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -1.70 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=dismail.de header.s=20190914 header.b=I62EOnlP; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: EDD43B523 X-Spam-Score: -1.70 X-Migadu-Scanner: scn1.migadu.com X-TUID: G93q4IDUE+Ws * gnu/packages/python-web.scm (python-responses): Update to 0.22.0. [arguments]: Enable tests. [native-inputs]: Add python-pytest, python-pytest-asyncio, and python-pytest-httpserver. [inputs]: Add python-types-toml. --- gnu/packages/python-web.scm | 23 ++++++++++++++++------- 1 file changed, 16 insertions(+), 7 deletions(-) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 6a9d6ee61d..7f6b8b3daf 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -3461,22 +3461,31 @@ (define-public python-cookies (define-public python-responses (package (name "python-responses") - (version "0.10.6") + (version "0.22.0") (source (origin (method url-fetch) (uri (pypi-uri "responses" version)) (sha256 (base32 - "147pacwkkqy3qf3hr33fnl1xbzgw0zsm3qppvvy9qhq8h069qbah")))) + "0bhhffwl0zqin4xc89nc97ynzr7l3j4b8rjqk9w9flnj2cmcnsir")))) (build-system python-build-system) (arguments - `(;; Test suite is not distributed: - ;; https://github.com/getsentry/responses/issues/38 - #:tests? #f)) + '(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "pytest" "-v"))))))) (native-inputs - (list python-mock)) + (list python-mock + python-pytest + python-pytest-asyncio + python-pytest-httpserver)) (propagated-inputs - (list python-requests python-cookies python-six)) + (list python-requests + python-cookies + python-six + python-types-toml)) (home-page "https://github.com/getsentry/responses") (synopsis "Utility for mocking out the `requests` Python library") (description "A utility library for mocking out the `requests` Python -- 2.38.0