From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id gEH2C+vmcGEi1AAAgWs5BA (envelope-from ) for ; Thu, 21 Oct 2021 06:04:59 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 6L2xB+vmcGE1cgAA1q6Kng (envelope-from ) for ; Thu, 21 Oct 2021 04:04:59 +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 BAC40A00D for ; Thu, 21 Oct 2021 06:04:58 +0200 (CEST) Received: from localhost ([::1]:41706 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mdPK5-0004OS-T4 for larch@yhetil.org; Thu, 21 Oct 2021 00:04:57 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39822) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mdPJF-0003Ij-0Q for guix-patches@gnu.org; Thu, 21 Oct 2021 00:04:07 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:44437) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mdPJE-0000L3-O4 for guix-patches@gnu.org; Thu, 21 Oct 2021 00:04:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mdPJE-0005eM-JS for guix-patches@gnu.org; Thu, 21 Oct 2021 00:04:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#51314] [PATCH 13/29] gnu: Add python-sentry-sdk. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 21 Oct 2021 04:04:04 +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.163478901021524 (code B ref 51314); Thu, 21 Oct 2021 04:04:04 +0000 Received: (at 51314) by debbugs.gnu.org; 21 Oct 2021 04:03:30 +0000 Received: from localhost ([127.0.0.1]:55952 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mdPIf-0005b6-T7 for submit@debbugs.gnu.org; Thu, 21 Oct 2021 00:03:30 -0400 Received: from mout01.posteo.de ([185.67.36.65]:56609) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mdPIe-0005ah-Pj for 51314@debbugs.gnu.org; Thu, 21 Oct 2021 00:03:29 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 345DA24002D for <51314@debbugs.gnu.org>; Thu, 21 Oct 2021 06:03:23 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1634789003; bh=nEzmHa1R5QhVcyqqROPZPeKsv/new0bnEdF4HySUMDU=; h=From:To:Cc:Subject:Date:From; b=YbuDjiZauKWDLaigg0COrg3FbN1/WmFUbg94QL1Jdkn77NZWt6/t6amYK+zupnSB0 hMFBdZQVeg+fluVwdJbURuL4Lp6nK0Dulz26aYiSfgF2zQxlxSgn8kDtuejteSfGN7 hrEBBJATHJfwaG7pZ9SYxtaFiaFeYlnjzyLrFOsgxPjCDn1+GjpXglKDClDh6FVd4z izhQeRalR6IH504xXSepjR7si3UYFY1Vz3HhOtZNQk0GhyZNx9fE1vAk14Fok/92l0 y0UPnfeBYQhgNsY6hdOW8mGOKXOpW+T61ouoZVkveRLz4Cdk0NssVhzq4KoKWAFWE0 mu6jaxeiGD/FQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4HZYk22Smnz9rxL; Thu, 21 Oct 2021 06:03:22 +0200 (CEST) From: Vinicius Monego Date: Thu, 21 Oct 2021 04:01:44 +0000 Message-Id: <20211021040200.241873-9-monego@posteo.net> In-Reply-To: <20211021040200.241873-1-monego@posteo.net> References: <20211021040200.241873-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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1634789098; 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=+qF1h46OoYabFgJZVhXP6yCngkAWMOeIaKZiSX2BirI=; b=AIOzq/yzeN+fd0MBso/uIKOUA2bx6au96E4Vyiwuj2GHz8ijuBRs7A4HJhi74E4Zx+gXgu 96hMk3dt7mKvLh9B9lkzajJwUr+nVfZjGxasqkwI55VVbLVQBYtS1gMd8cAfJr1GcQugYk kTCYbhekaOS7cmXjj0m8XKhve38IYyPb0dBxQl6shVUxPMqLGyoz67kNjlNNvO96SBv1fX aH3FLZK/W2V9XPmXd0puQUigI9g5h06rTdx+PtZvVmHLIiIAGA8cP2BJaXb04k4/e30f9i Jc6LZN7xgaV7eh68Lm1BhCKWQqrYb38lFd1SLqErXyhEPngvV3/77fcYCGYiqA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1634789098; a=rsa-sha256; cv=none; b=bWu6aecL7ug7V4FkTmA1D8H1/vqlAL6HomepsRFobXmWhbxFh3Bn2aNRdae9eE0lXHR7To WIL1t1Zt2mTHC+sVnmPbgH27p1umtaLTQ7IdrT2jELW435IeiCbRW/rPh5+8KO9Zf3klff d7MwVFhPtPVPZpcT1V7KNyel7V0yG0kfS+zRcJBHS3CKbb9GZ5aMYeeecjPehnIE8rw3oA bnGi/LEFCHJv/apjP5i9NH5s+z6FNh5bfDABy0vULXQVIWxjOlhASNxBRBAF+G+iQUnBzV oIlzLo68C6dfS8TvyBMMZ1Lcc/DREtMSmJHQK5IxshPtMJytRynsTjswrtyApQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=YbuDjiZa; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (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: -0.33 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=YbuDjiZa; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (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: BAC40A00D X-Spam-Score: -0.33 X-Migadu-Scanner: scn0.migadu.com X-TUID: n3r7ZxoG+zXN * 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 9c1ad55fbd..6252dddeec 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -141,6 +141,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) @@ -9809,6 +9810,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