Merge pull request #299699 from fabaff/sentry-sdk-bump

python311Packages.sentry-sdk: 1.42.0 -> 1.43.0
This commit is contained in:
Fabian Affolter 2024-04-11 09:14:46 +02:00 committed by GitHub
commit 7e29fe4391
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,44 +1,45 @@
{ lib {
, stdenv lib,
, aiohttp stdenv,
, apache-beam aiohttp,
, asttokens apache-beam,
, blinker asttokens,
, bottle blinker,
, buildPythonPackage bottle,
, celery buildPythonPackage,
, certifi celery,
, chalice certifi,
, django chalice,
, executing django,
, falcon executing,
, fetchFromGitHub falcon,
, flask fetchFromGitHub,
, gevent flask,
, httpx gevent,
, jsonschema httpx,
, mock jsonschema,
, pure-eval mock,
, pyrsistent pure-eval,
, pyspark pyrsistent,
, pysocks pyspark,
, pytest-forked pysocks,
, pytest-localserver pytest-forked,
, pytest-watch pytest-localserver,
, pytestCheckHook pytest-watch,
, pythonOlder pytestCheckHook,
, quart pythonOlder,
, rq quart,
, sanic rq,
, setuptools sanic,
, sqlalchemy setuptools,
, tornado sqlalchemy,
, urllib3 tornado,
urllib3,
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "sentry-sdk"; pname = "sentry-sdk";
version = "1.42.0"; version = "1.45.0";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
@ -47,50 +48,30 @@ buildPythonPackage rec {
owner = "getsentry"; owner = "getsentry";
repo = "sentry-python"; repo = "sentry-python";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-LZn7oWwKdHi/KScitFnNDX7pI92mNkC6niGP+BixjtA="; hash = "sha256-OWoMqJlf0vmBHWWsW6mF4u5X9USzxkFmCJyX7Ws0dD0=";
}; };
nativeBuildInputs = [ build-system = [ setuptools ];
setuptools
];
propagatedBuildInputs = [ dependencies = [
certifi certifi
urllib3 urllib3
]; ];
passthru.optional-dependencies = { passthru.optional-dependencies = {
aiohttp = [ aiohttp = [ aiohttp ];
aiohttp beam = [ apache-beam ];
]; bottle = [ bottle ];
beam = [ celery = [ celery ];
apache-beam chalice = [ chalice ];
]; django = [ django ];
bottle = [ falcon = [ falcon ];
bottle
];
celery = [
celery
];
chalice = [
chalice
];
django = [
django
];
falcon = [
falcon
];
flask = [ flask = [
flask flask
blinker blinker
]; ];
httpx = [ httpx = [ httpx ];
httpx pyspark = [ pyspark ];
];
pyspark = [
pyspark
];
pure_eval = [ pure_eval = [
asttokens asttokens
executing executing
@ -100,18 +81,10 @@ buildPythonPackage rec {
quart quart
blinker blinker
]; ];
rq = [ rq = [ rq ];
rq sanic = [ sanic ];
]; sqlalchemy = [ sqlalchemy ];
sanic = [ tornado = [ tornado ];
sanic
];
sqlalchemy = [
sqlalchemy
];
tornado = [
tornado
];
}; };
nativeCheckInputs = [ nativeCheckInputs = [
@ -137,24 +110,27 @@ buildPythonPackage rec {
"test_default_release" "test_default_release"
]; ];
disabledTestPaths = [ disabledTestPaths =
# Varius integration tests fail every once in a while when we [
# upgrade dependencies, so don't bother testing them. # Varius integration tests fail every once in a while when we
"tests/integrations/" # upgrade dependencies, so don't bother testing them.
] ++ lib.optionals (stdenv.buildPlatform != "x86_64-linux") [ "tests/integrations/"
# test crashes on aarch64 ]
"tests/test_transport.py" ++ lib.optionals (stdenv.buildPlatform != "x86_64-linux") [
]; # test crashes on aarch64
"tests/test_transport.py"
];
pythonImportsCheck = [ pythonImportsCheck = [ "sentry_sdk" ];
"sentry_sdk"
];
meta = with lib; { meta = with lib; {
description = "Python SDK for Sentry.io"; description = "Python SDK for Sentry.io";
homepage = "https://github.com/getsentry/sentry-python"; homepage = "https://github.com/getsentry/sentry-python";
changelog = "https://github.com/getsentry/sentry-python/blob/${version}/CHANGELOG.md"; changelog = "https://github.com/getsentry/sentry-python/blob/${version}/CHANGELOG.md";
license = licenses.bsd2; license = licenses.bsd2;
maintainers = with maintainers; [ fab gebner ]; maintainers = with maintainers; [
fab
gebner
];
}; };
} }