From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id cDXJMZ0akGGzPwAAgWs5BA (envelope-from ) for ; Sat, 13 Nov 2021 21:05:49 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id eGNqLZ0akGGTVQAAB5/wlQ (envelope-from ) for ; Sat, 13 Nov 2021 20:05:49 +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 571A831931 for ; Sat, 13 Nov 2021 21:05:49 +0100 (CET) Received: from localhost ([::1]:41386 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mlzHY-0007Dp-H5 for larch@yhetil.org; Sat, 13 Nov 2021 15:05:48 -0500 Received: from eggs.gnu.org ([209.51.188.92]:33168) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mlzFu-0004um-5i for guix-patches@gnu.org; Sat, 13 Nov 2021 15:04:06 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:36667) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mlzFt-00081S-Tf for guix-patches@gnu.org; Sat, 13 Nov 2021 15:04:05 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mlzFt-0001Kv-Oi for guix-patches@gnu.org; Sat, 13 Nov 2021 15:04:05 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#51314] [PATCH v2 09/24] gnu: Add python-sentry-sdk. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 13 Nov 2021 20:04:05 +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.16368338274997 (code B ref 51314); Sat, 13 Nov 2021 20:04:05 +0000 Received: (at 51314) by debbugs.gnu.org; 13 Nov 2021 20:03:47 +0000 Received: from localhost ([127.0.0.1]:48186 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mlzFa-0001IW-Km for submit@debbugs.gnu.org; Sat, 13 Nov 2021 15:03:47 -0500 Received: from mout01.posteo.de ([185.67.36.65]:37497) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mlzFH-0001H3-So for 51314@debbugs.gnu.org; Sat, 13 Nov 2021 15:03:43 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 54F25240027 for <51314@debbugs.gnu.org>; Sat, 13 Nov 2021 21:03:22 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1636833802; bh=w7YUDNxlEKO8peI1t1UtEqU1SJilWGRiuYMD7lvnAOg=; h=From:To:Cc:Subject:Date:From; b=VcsiggOniHqtmOsiqHFQWOhGsQLvhJFZyH6/DDVTSXkiXvpXzuYZ5xj5+RYNTwTpI i3iras7zd2AEFB/Oxjvbe2DGuvHqLp+EhRcoRD/clJ3pUFZdHEdqhFxryjx2gMBd5s 1tCKIHcODmg2qBxH+WCOwu/zqbxMg78Krc/lLtqVtJ1Yhx153hpdL/Ms4f/oq5sa3G +MEec0JjcOAbDECqHCLjVL82rN17EJ6R4sdW6oUN4S+99Anjkmr4tnMoXZHxuRiz6B cxN9sq+LZw1mMxKZ3GoeH8Ycq/ezrH7xvrhjFaXNqrc2EpKnTiF1zjapns1oy+ly0F fNehZXmYQGvEw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Hs5x533rbz9rxL; Sat, 13 Nov 2021 21:03:21 +0100 (CET) From: Vinicius Monego Date: Sat, 13 Nov 2021 20:02:15 +0000 Message-Id: <20211113200230.192559-9-monego@posteo.net> In-Reply-To: <20211113200230.192559-1-monego@posteo.net> References: <20211113200230.192559-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=1636833949; 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=Utmk+jRKOyLz/UkB1g0zQ6dW8Db7gGgNpiE3/CLX8a0=; b=mutQlJDYzipdS1BMmR6dDPgDmRshFVwTVB/wpMSR031eBI1eVZ1O3HrgAXMXl5z8wBDAo8 L2kqEgysCktoIHDgOLxfNXll+fAARinNb73gmslRR9KRG5HQ8f49htTn5gh+A4fWeemV2Y sEAxLLmbUrRQXY+P1LtV7PtZhAvm7fN1IZyvAYEp7opduOt3exKDdNgHMAxSbgYDL9djNs Hi55kFZc27rk+PsRQMD8UAQVcmyRYHeUJIPs+RiSI4aamW+NjvGpUN/P+0T+d9Z7hOnW3l poOAbk6u5hQ5bS4UiMdR1PHIH3gm6wAHs7vkoE0rUGOGMBL1lCrpgx//GMIdLw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1636833949; a=rsa-sha256; cv=none; b=AyXCKTfZ+AiucReVQEJXJhhFAFQgOoQdn1n9pfZQi8bg0W64YZkF9CJNHkyhfQg4v97JIX 0GBMLcsRA+gxMpmL/yApDmAqyOAOxUtraq2iqXt+Zo2BM7vJYrdLS5ET4byY7XQydYavvi pG8oTjzp1cvpjaxUllffOg+LcBpjNYjdLmnHdaMIFLI0aEQWpB0Ah+M0UmmCkmrYj0I5CX pfUE90sH017igllu/uEBddO2QeeHXKGpEyMrkTDC1clbZcn53p8XQUPu6xS8BoJ4IA+wuj +yHWxQ2Be9BZCWQAnSLudhmbNSn2Fg5Uz2RGC3eIYIom7Vj8X2y9RFV37p5rTw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=VcsiggOn; 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.04 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=VcsiggOn; 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: 571A831931 X-Spam-Score: -1.04 X-Migadu-Scanner: scn0.migadu.com X-TUID: 1dr0VCdKuex9 * gnu/packages/python-xyz.scm (python-sentry-sdk): New variable. --- gnu/packages/python-xyz.scm | 65 +++++++++++++++++++++++++++++++++++++ 1 file changed, 65 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 19e2159b9b..fd3f766f1e 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -142,6 +142,7 @@ #:use-module (gnu packages crypto) #:use-module (gnu packages databases) #:use-module (gnu packages dbm) + #:use-module (gnu packages django) #:use-module (gnu packages djvu) #:use-module (gnu packages docker) #:use-module (gnu packages enchant) @@ -9838,6 +9839,70 @@ 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.4.3") + (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 "1iyb0amgf03h61jw4hpdbm6h4wyh8n43bnk116ywwc0bl5x3mldx")))) + (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 + `(("python-django" ,python-django) + ("python-executing" ,python-executing) + ("python-gevent" ,python-gevent) + ("python-jsonschema" ,python-jsonschema) + ("python-mock" ,python-mock) + ("python-pyrsistent" ,python-pyrsistent) + ("python-pytest" ,python-pytest) + ("python-pytest-cov" ,python-pytest-cov) + ("python-pytest-django" ,python-pytest-django) + ("python-pytest-forked" ,python-pytest-forked) + ("python-pytest-localserver" ,python-pytest-localserver) + ("python-werkzeug" ,python-werkzeug))) + (propagated-inputs + `(("python-certifi" ,python-certifi) + ("python-urllib3" ,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