[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
07/15: gnu: Add python-sentry-sdk.
From: |
guix-commits |
Subject: |
07/15: gnu: Add python-sentry-sdk. |
Date: |
Tue, 11 Jan 2022 12:14:13 -0500 (EST) |
ngz pushed a commit to branch master
in repository guix.
commit a3d0a702ad4cae5dbd089625c6106a74736be500
Author: Vinicius Monego <monego@posteo.net>
AuthorDate: Mon Dec 27 23:30:30 2021 +0000
gnu: Add python-sentry-sdk.
* gnu/packages/python-xyz.scm (python-sentry-sdk): New variable.
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
---
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 9b941ff602..518709758f 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -9953,6 +9953,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
- 10/15: gnu: python-netifaces: Update to 0.11.0., (continued)
- 10/15: gnu: python-netifaces: Update to 0.11.0., guix-commits, 2022/01/11
- 12/15: gnu: python-pkginfo: Update to 1.8.2., guix-commits, 2022/01/11
- 14/15: gnu: python-colorlog: Update to 6.6.0., guix-commits, 2022/01/11
- 05/15: gnu: Add python-zipstream-new., guix-commits, 2022/01/11
- 06/15: gnu: Add python-executing., guix-commits, 2022/01/11
- 09/15: gnu: python-feedparser: Enable tests., guix-commits, 2022/01/11
- 08/15: gnu: Add python-pytest-doctest-custom., guix-commits, 2022/01/11
- 11/15: gnu: python-websocket-client: Update to 0.59.0., guix-commits, 2022/01/11
- 13/15: gnu: python-watchdog: Update to 2.1.6., guix-commits, 2022/01/11
- 15/15: gnu: python-zeroconf: Update to 0.38.1., guix-commits, 2022/01/11
- 07/15: gnu: Add python-sentry-sdk.,
guix-commits <=