blob: 9b2a1c011993e613c0d2e52fe67c996eac999aa5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
|
{
lib,
blinker,
buildPythonPackage,
fetchFromGitHub,
flask,
setuptools,
webob,
pytestCheckHook,
pytest-cov-stub,
}:
buildPythonPackage rec {
pname = "bugsnag";
version = "4.9.1";
pyproject = true;
src = fetchFromGitHub {
owner = "bugsnag";
repo = "bugsnag-python";
tag = "v${version}";
hash = "sha256-32dq68MCvfQztCwwtGD2qRQfLSEnog+HEtq/Zei0JXI=";
};
build-system = [ setuptools ];
dependencies = [ webob ];
optional-dependencies = {
flask = [
blinker
flask
];
};
pythonImportsCheck = [ "bugsnag" ];
nativeCheckInputs = [
pytestCheckHook
pytest-cov-stub
];
disabledTestPaths = [
# Extra dependencies
"tests/integrations"
# Flaky due to timeout
"tests/test_client.py::ClientTest::test_flush_waits_for_outstanding_events_before_returning"
# Flaky due to timeout
"tests/test_client.py::ClientTest::test_flush_waits_for_outstanding_sessions_before_returning"
# Flaky failure due to AssertionError: assert 0 == 3
"tests/test_client.py::ClientTest::test_aws_lambda_handler_decorator_warns_of_potential_timeout"
# Flaky failure due to AssertionError: assert 0 == 1
"tests/test_client.py::ClientTest::test_exception_hook_does_not_leave_a_breadcrumb_if_errors_are_disabled"
];
__darwinAllowLocalNetworking = true;
meta = {
description = "Automatic error monitoring for Python applications";
homepage = "https://github.com/bugsnag/bugsnag-python";
changelog = "https://github.com/bugsnag/bugsnag-python/blob/v${version}/CHANGELOG.md";
license = lib.licenses.mit;
maintainers = [ ];
};
}
|