[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#51314] [PATCH v2 09/24] gnu: Add python-sentry-sdk.
From: |
Vinicius Monego |
Subject: |
[bug#51314] [PATCH v2 09/24] gnu: Add python-sentry-sdk. |
Date: |
Sat, 13 Nov 2021 20:02:15 +0000 |
* 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
- [bug#51314] [PATCH v2 02/24] gnu: Add python-pylru., (continued)
- [bug#51314] [PATCH v2 02/24] gnu: Add python-pylru., Vinicius Monego, 2021/11/13
- [bug#51314] [PATCH v2 03/24] gnu: python-flask: Update to 1.1.4., Vinicius Monego, 2021/11/13
- [bug#51314] [PATCH v2 04/24] gnu: python-flask: Respect #:tests?., Vinicius Monego, 2021/11/13
- [bug#51314] [PATCH v2 07/24] gnu: Add python-zipstream-new., Vinicius Monego, 2021/11/13
- [bug#51314] [PATCH v2 05/24] gnu: Add python-pyscss., Vinicius Monego, 2021/11/13
- [bug#51314] [PATCH v2 06/24] gnu: Add python-flask-assets., Vinicius Monego, 2021/11/13
- [bug#51314] [PATCH v2 08/24] gnu: Add python-executing., Vinicius Monego, 2021/11/13
- [bug#51314] [PATCH v2 10/24] gnu: Add python-pytest-doctest-custom., Vinicius Monego, 2021/11/13
- [bug#51314] [PATCH v2 12/24] gnu: python-feedparser: Enable tests., Vinicius Monego, 2021/11/13
- [bug#51314] [PATCH v2 11/24] gnu: python-feedparser: Update to 6.0.8., Vinicius Monego, 2021/11/13
- [bug#51314] [PATCH v2 09/24] gnu: Add python-sentry-sdk.,
Vinicius Monego <=
- [bug#51314] [PATCH v2 15/24] gnu: python-pkginfo: Update to 1.7.1., Vinicius Monego, 2021/11/13
- [bug#51314] [PATCH v2 14/24] gnu: python-websocket-client: Update to 0.59.0., Vinicius Monego, 2021/11/13
- [bug#51314] [PATCH v2 13/24] gnu: python-netifaces: Update to 0.11.0., Vinicius Monego, 2021/11/13
- [bug#51314] [PATCH v2 16/24] gnu: python-watchdog: Update to 2.1.6., Vinicius Monego, 2021/11/13
- [bug#51314] [PATCH v2 17/24] gnu: python-colorlog: Update to 6.6.0., Vinicius Monego, 2021/11/13
- [bug#51314] [PATCH v2 19/24] gnu: python-wrapt: Update to 1.13.3., Vinicius Monego, 2021/11/13
- [bug#51314] [PATCH v2 18/24] gnu: python-zeroconf: Update to 0.36.13., Vinicius Monego, 2021/11/13
- [bug#51314] [PATCH v2 24/24] gnu: Add octoprint., Vinicius Monego, 2021/11/13
- [bug#51314] [PATCH v2 21/24] gnu: Add octoprint-pisupport., Vinicius Monego, 2021/11/13
- [bug#51314] [PATCH v2 20/24] gnu: python-wrapt: Enable tests., Vinicius Monego, 2021/11/13