[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#51314] [PATCH v3 07/21] gnu: Add python-sentry-sdk.
From: |
Vinicius Monego |
Subject: |
[bug#51314] [PATCH v3 07/21] gnu: Add python-sentry-sdk. |
Date: |
Mon, 27 Dec 2021 23:30:30 +0000 |
* 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
- [bug#51314] [PATCH v3 00/21] Add Octoprint (v3), Vinicius Monego, 2021/12/27
- [bug#51314] [PATCH v3 04/21] gnu: Add python-flask-assets., Vinicius Monego, 2021/12/27
- [bug#51314] [PATCH v3 01/21] gnu: Add python-sarge., Vinicius Monego, 2021/12/27
- [bug#51314] [PATCH v3 03/21] gnu: Add python-pyscss., Vinicius Monego, 2021/12/27
- [bug#51314] [PATCH v3 06/21] gnu: Add python-executing., Vinicius Monego, 2021/12/27
- [bug#51314] [PATCH v3 05/21] gnu: Add python-zipstream-new., Vinicius Monego, 2021/12/27
- [bug#51314] [PATCH v3 02/21] gnu: Add python-pylru., Vinicius Monego, 2021/12/27
- [bug#51314] [PATCH v3 07/21] gnu: Add python-sentry-sdk.,
Vinicius Monego <=
- [bug#51314] [PATCH v3 08/21] gnu: Add python-pytest-doctest-custom., Vinicius Monego, 2021/12/27
- [bug#51314] [PATCH v3 09/21] gnu: python-feedparser: Enable tests., Vinicius Monego, 2021/12/27
- [bug#51314] [PATCH v3 11/21] gnu: python-websocket-client: Update to 0.59.0., Vinicius Monego, 2021/12/27
- [bug#51314] [PATCH v3 10/21] gnu: python-netifaces: Update to 0.11.0., Vinicius Monego, 2021/12/27
- [bug#51314] [PATCH v3 13/21] gnu: python-watchdog: Update to 2.1.6., Vinicius Monego, 2021/12/27
- [bug#51314] [PATCH v3 15/21] gnu: python-zeroconf: Update to 0.38.1., Vinicius Monego, 2021/12/27
- [bug#51314] [PATCH v3 19/21] gnu: Add octoprint-firmwarecheck., Vinicius Monego, 2021/12/27
- [bug#51314] [PATCH v3 12/21] gnu: python-pkginfo: Update to 1.8.2., Vinicius Monego, 2021/12/27
- [bug#51314] [PATCH v3 14/21] gnu: python-colorlog: Update to 6.6.0., Vinicius Monego, 2021/12/27
- [bug#51314] [PATCH v3 18/21] gnu: Add octoprint-pisupport., Vinicius Monego, 2021/12/27