From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:403:4ea1::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id sJ5GKUBNymHkegAAgWs5BA (envelope-from ) for ; Tue, 28 Dec 2021 00:33:20 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id YE5CI0BNymG9MwEAG6o9tA (envelope-from ) for ; Tue, 28 Dec 2021 00:33:20 +0100 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 5027D130E2 for ; Tue, 28 Dec 2021 00:33:20 +0100 (CET) Received: from localhost ([::1]:37310 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n1zUV-0001QT-EO for larch@yhetil.org; Mon, 27 Dec 2021 18:33:19 -0500 Received: from eggs.gnu.org ([209.51.188.92]:39436) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n1zUE-0001Q5-Og for guix-patches@gnu.org; Mon, 27 Dec 2021 18:33:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:33076) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n1zUE-0001fg-Fe for guix-patches@gnu.org; Mon, 27 Dec 2021 18:33:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n1zUE-0000uP-Do for guix-patches@gnu.org; Mon, 27 Dec 2021 18:33:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#51314] [PATCH v3 07/21] gnu: Add python-sentry-sdk. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 27 Dec 2021 23:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51314 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 51314@debbugs.gnu.org Cc: Vinicius Monego Received: via spool by 51314-submit@debbugs.gnu.org id=B51314.16406479323264 (code B ref 51314); Mon, 27 Dec 2021 23:33:02 +0000 Received: (at 51314) by debbugs.gnu.org; 27 Dec 2021 23:32:12 +0000 Received: from localhost ([127.0.0.1]:44584 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n1zTQ-0000qZ-BT for submit@debbugs.gnu.org; Mon, 27 Dec 2021 18:32:12 -0500 Received: from mout02.posteo.de ([185.67.36.66]:57097) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n1zTF-0000oN-VM for 51314@debbugs.gnu.org; Mon, 27 Dec 2021 18:32:02 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 61639240101 for <51314@debbugs.gnu.org>; Tue, 28 Dec 2021 00:31:56 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1640647916; bh=vcuHdQpa313eZxHHyWA7yHn9Pmj+UMOWcDlYNdkCBr0=; h=From:To:Cc:Subject:Date:From; b=VIO+b9K3VS2Y0ThfS8mcdFc1dXGRYi3ex6z5/HejrJ4P3hvbaQzxR0NAN545n05/n 4YnNSlMPY+yPlDNSFMpBrQZjt00VbqEO6FLEtcURHIaP2Ue96rMKYiYoAj091hs9OZ F8NBCL8nyPbtMv7zdnbUX1pWHp6h5FBqWt+qmw1teHsJSLGPeOldz+klaPvzAB1hvI K6xiYxPMOHjA63w0s60hdO0lhvS7r/iJTFy1QKCLn0v2MsRi1FUEOHpoAx4alPv3Cy H5OkIaGprWbxeGWHXbPY+nIsNBlYuK2MVKEpR2Zig/s4TJg8Mj0by3tPIYrs/Pz1DY E9nnRoZOJb6qw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4JNDTR45Nhz9rxD; Tue, 28 Dec 2021 00:31:55 +0100 (CET) From: Vinicius Monego Date: Mon, 27 Dec 2021 23:30:30 +0000 Message-Id: <20211227233044.26475-8-monego@posteo.net> In-Reply-To: <20211227233044.26475-1-monego@posteo.net> References: <20211227233044.26475-1-monego@posteo.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1640648000; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: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=jbAot9By5H9WqRkIaTCj0Ww09CV8FyKot0aAlKINCAo=; b=uGm4ip+hiDTJ/36tPtnglVjGqHtffpsZyzvUaaOlAjxQfGopC3YuuQlAdmwK01wj8DwtWv +LXWQyjFByAilCBkupUuKl79yb6o76vIBlhx5UWLHhznyfz1VOPQ9w0Qx3tCfi6yxP6A4q sLPeuuDcW8zENGwfSEEDyKGiYjrSMlc5pdlUad61r+ATyYhnB/cNC3OB4FM45xhq3UC1NX iqgf2cqBPtcwhtQ2O6Oqdz2nhqHwaqn60QQIODCw5Zclr8SgvdFPaYjK0ss5golSJ2YRj5 nbERESmes8/5/5Exgm8hyfbQE9R39BXLmS9JPrT+BUh7eQmcf7hZ+Ce7KQPPeQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1640648000; a=rsa-sha256; cv=none; b=KySq7c6tqDb0mZou7pZA46oV5T2wnhTGL/PqWc/SHRzRNF+ToeNPlzT96hIF++45h5EggI nnqJbCB1KdCi7j3/d3mUlLX4G/jQvzmsDpl5JBdzj6TTJ58bl+EOnNwuq/xlxetu45wzvN KTnsPLi084qNDhkGO8S5df+H9lktXxLUQQB1U4iYxbVH6/qA3bA+N4B8BW+n0sHFQhsndo jte+OvK8luUAT7+Rr0m4Teznm4DSNcaX/oRX+UglkHs3FMHjxmJGWlsZNao8QpCQV/yqTL uUAi6Ffpol9wkMnjnOYZK8AIsYehZE1/pEiY/OdwHo0sLuSmof7fYZYfMdFYXw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=VIO+b9K3; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); 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.17 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=VIO+b9K3; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); 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: 5027D130E2 X-Spam-Score: -1.17 X-Migadu-Scanner: scn1.migadu.com X-TUID: AC2m2uuCVJYF * gnu/packages/python-xyz.scm (python-sentry-sdk): New variable. --- gnu/packages/python-xyz.scm | 63 +++++++++++++++++++++++++++++++++++++ 1 file changed, 63 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 4e3a5aedb5..1cb6383aa7 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -9901,6 +9901,69 @@ you do not want to store entirely on disk or on memory.") ;; No copyright headers in the source. The LICENSE file indicates GPL3. (license license:gpl3))) +(define-public python-sentry-sdk + (package + (name "python-sentry-sdk") + (version "1.5.1") + (source + (origin + (method git-fetch) ; no tests in PyPI release + (uri (git-reference + (url "https://github.com/getsentry/sentry-python") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "128bm136l5zprr3sqqb8j3d6k5i1fhz853mzvh3w8g0w1dw763mx")))) + (build-system python-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda* (#:key inputs outputs tests? #:allow-other-keys) + (when tests? + (add-installed-pythonpath inputs outputs) + (invoke "python" "-m" "pytest" "-k" + (string-append + ;; This test requires extra dependencies. + "not test_auto_enabling_integrations" + "_catches_import_error" + ;; Tests below run pip command. + " and not test_unhandled_exception" + " and not test_timeout_error" + " and not test_performance_no_error" + " and not test_performance_error" + " and not test_traces_sampler_gets_correct" + "_values_in_sampling_context" + " and not test_handled_exception" + ;; Tests below require network. + " and not test_crumb_capture" + " and not test_crumb_capture" + " and not test_crumb_capture_hint" + " and not test_httplib_misuse" + ;; Fails with IndexError. + " and not test_session_mode_defaults_to" + "_request_mode_in_wsgi_handler")))))))) + (native-inputs + (list python-django + python-executing + python-gevent + python-jsonschema + python-mock + python-pyrsistent + python-pytest + python-pytest-cov + python-pytest-django + python-pytest-forked + python-pytest-localserver + python-werkzeug)) + (propagated-inputs + (list python-certifi python-urllib3)) + (home-page "https://github.com/getsentry/sentry-python") + (synopsis "Python SDK for Sentry") + (description "This package provides a Python SDK for the Sentry +application monitoring and error tracking software.") + (license license:bsd-2))) + (define-public python-pep8 ;; This package has been renamed to ‘pycodestyle’ and is no longer updated. ;; Its last release (1.7.1) adds only a scary warning to this effect, breaking -- 2.30.2