python3Packages.sentry-sdk: 1.4.3 -> 1.5.0

This commit is contained in:
Fabian Affolter 2021-11-18 08:38:32 +01:00
parent 3e8ff3181b
commit 3d20b6a471

View file

@ -1,4 +1,6 @@
{ aiohttp { lib
, aiohttp
, asttokens
, blinker , blinker
, botocore , botocore
, bottle , bottle
@ -7,41 +9,65 @@
, certifi , certifi
, chalice , chalice
, django , django
, executing
, falcon , falcon
, fetchPypi , fetchPypi
, flask , flask
, httpx
, iana-etc , iana-etc
, isPy3k , isPy3k
, libredirect , libredirect
, pure-eval
, pyramid , pyramid
, pyspark
, rq , rq
, sanic , sanic
, sqlalchemy , sqlalchemy
, lib
, tornado , tornado
, urllib3
, trytond , trytond
, urllib3
, werkzeug , werkzeug
, executing
, pure-eval
, asttokens
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "sentry-sdk"; pname = "sentry-sdk";
version = "1.4.3"; version = "1.5.0";
format = "setuptools";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "b9844751e40710e84a457c5bc29b21c383ccb2b63d76eeaad72f7f1c808c8828"; sha256 = "sha256-eJoRqHygJJGJbhIe/dZOj9kzJ7aejy99QvA+JWlkjog=";
}; };
checkInputs = [ blinker botocore chalice django flask tornado bottle rq falcon sqlalchemy werkzeug trytond propagatedBuildInputs = [
executing pure-eval asttokens ] certifi
++ lib.optionals isPy3k [ celery pyramid sanic aiohttp ]; urllib3
];
propagatedBuildInputs = [ urllib3 certifi ];
checkInputs = [
asttokens
blinker
botocore
bottle
chalice
django
executing
falcon
flask
pure-eval
rq
sqlalchemy
tornado
trytond
werkzeug
] ++ lib.optionals isPy3k [
aiohttp
celery
httpx
pyramid
pyspark
sanic
];
# The Sentry tests need access to `/etc/protocols` (the tests call # The Sentry tests need access to `/etc/protocols` (the tests call
# `socket.getprotobyname('tcp')`, which reads from this file). Normally # `socket.getprotobyname('tcp')`, which reads from this file). Normally
@ -55,8 +81,11 @@ buildPythonPackage rec {
postCheck = "unset NIX_REDIRECTS LD_PRELOAD"; postCheck = "unset NIX_REDIRECTS LD_PRELOAD";
# no tests # no tests
doCheck = false; doCheck = true;
pythonImportsCheck = [ "sentry_sdk" ];
pythonImportsCheck = [
"sentry_sdk"
];
meta = with lib; { meta = with lib; {
homepage = "https://github.com/getsentry/sentry-python"; homepage = "https://github.com/getsentry/sentry-python";