python313Packages.sentry-sdk: 1.45.1 -> 2.25.0 (#400392)
This commit is contained in:
@@ -278,7 +278,7 @@ let
|
||||
pyyaml
|
||||
requests-oauthlib
|
||||
scim2-filter-parser
|
||||
sentry-sdk_2
|
||||
sentry-sdk
|
||||
service-identity
|
||||
setproctitle
|
||||
structlog
|
||||
|
||||
@@ -25,16 +25,6 @@ let
|
||||
};
|
||||
});
|
||||
|
||||
geoip2 = super.geoip2.overridePythonAttrs rec {
|
||||
version = "5.0.1";
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "geoip2";
|
||||
inherit version;
|
||||
hash = "sha256-kK+LbTaH877yUfJwitAXsw1ifRFEwAQOq8TJAXqAfYY=";
|
||||
};
|
||||
};
|
||||
|
||||
stripe = super.stripe.overridePythonAttrs rec {
|
||||
version = "7.9.0";
|
||||
|
||||
@@ -46,8 +36,6 @@ let
|
||||
};
|
||||
|
||||
pretix-plugin-build = self.callPackage ./plugin-build.nix { };
|
||||
|
||||
sentry-sdk = super.sentry-sdk_2;
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
@@ -17,7 +17,6 @@ let
|
||||
python = python3.override {
|
||||
packageOverrides = final: prev: {
|
||||
django = prev.django_5;
|
||||
sentry-sdk = prev.sentry-sdk_2;
|
||||
djangorestframework = prev.djangorestframework.overridePythonAttrs (old: {
|
||||
# https://github.com/encode/django-rest-framework/discussions/9342
|
||||
disabledTests = (old.disabledTests or [ ]) ++ [ "test_invalid_inputs" ];
|
||||
|
||||
@@ -77,6 +77,7 @@ buildPythonPackage rec {
|
||||
'';
|
||||
|
||||
meta = {
|
||||
broken = true; # ModuleNotFoundError: No module named 'proton.vpn.local_agent'
|
||||
description = "Provides the necessary functionality for other ProtonVPN components to interact with NetworkManager";
|
||||
homepage = "https://github.com/ProtonVPN/python-proton-vpn-network-manager";
|
||||
license = lib.licenses.gpl3Only;
|
||||
|
||||
@@ -1,135 +0,0 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
aiohttp,
|
||||
apache-beam,
|
||||
asttokens,
|
||||
blinker,
|
||||
bottle,
|
||||
buildPythonPackage,
|
||||
celery,
|
||||
certifi,
|
||||
chalice,
|
||||
django,
|
||||
executing,
|
||||
falcon,
|
||||
fetchFromGitHub,
|
||||
flask,
|
||||
gevent,
|
||||
httpx,
|
||||
jsonschema,
|
||||
mock,
|
||||
pure-eval,
|
||||
pyrsistent,
|
||||
pyspark,
|
||||
pysocks,
|
||||
pytest-forked,
|
||||
pytest-localserver,
|
||||
pytest-watch,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
quart,
|
||||
rq,
|
||||
sanic,
|
||||
setuptools,
|
||||
sqlalchemy,
|
||||
tornado,
|
||||
urllib3,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "sentry-sdk";
|
||||
version = "1.45.1";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "getsentry";
|
||||
repo = "sentry-python";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-ZNJsxbQcW5g/bKqN18z+BspKyI34+vkj6vQ9akE1Ook=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
certifi
|
||||
urllib3
|
||||
];
|
||||
|
||||
optional-dependencies = {
|
||||
aiohttp = [ aiohttp ];
|
||||
beam = [ apache-beam ];
|
||||
bottle = [ bottle ];
|
||||
celery = [ celery ];
|
||||
chalice = [ chalice ];
|
||||
django = [ django ];
|
||||
falcon = [ falcon ];
|
||||
flask = [
|
||||
flask
|
||||
blinker
|
||||
];
|
||||
httpx = [ httpx ];
|
||||
pyspark = [ pyspark ];
|
||||
pure_eval = [
|
||||
asttokens
|
||||
executing
|
||||
pure-eval
|
||||
];
|
||||
quart = [
|
||||
quart
|
||||
blinker
|
||||
];
|
||||
rq = [ rq ];
|
||||
sanic = [ sanic ];
|
||||
sqlalchemy = [ sqlalchemy ];
|
||||
tornado = [ tornado ];
|
||||
};
|
||||
|
||||
nativeCheckInputs = [
|
||||
asttokens
|
||||
executing
|
||||
gevent
|
||||
jsonschema
|
||||
mock
|
||||
pure-eval
|
||||
pyrsistent
|
||||
pysocks
|
||||
pytest-forked
|
||||
pytest-localserver
|
||||
pytest-watch
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
doCheck = pythonOlder "3.13" && !stdenv.hostPlatform.isDarwin;
|
||||
|
||||
disabledTests = [
|
||||
# Issue with the asseration
|
||||
"test_auto_enabling_integrations_catches_import_error"
|
||||
"test_default_release"
|
||||
];
|
||||
|
||||
disabledTestPaths =
|
||||
[
|
||||
# Various integration tests fail every once in a while when we
|
||||
# upgrade dependencies, so don't bother testing them.
|
||||
"tests/integrations/"
|
||||
]
|
||||
++ lib.optionals (stdenv.buildPlatform != "x86_64-linux") [
|
||||
# test crashes on aarch64
|
||||
"tests/test_transport.py"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "sentry_sdk" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python SDK for Sentry.io";
|
||||
homepage = "https://github.com/getsentry/sentry-python";
|
||||
changelog = "https://github.com/getsentry/sentry-python/blob/${version}/CHANGELOG.md";
|
||||
license = licenses.bsd2;
|
||||
maintainers = with maintainers; [
|
||||
fab
|
||||
];
|
||||
};
|
||||
}
|
||||
@@ -9,7 +9,7 @@
|
||||
python-magic,
|
||||
pyyaml,
|
||||
requests,
|
||||
sentry-sdk_2,
|
||||
sentry-sdk,
|
||||
tenacity,
|
||||
setuptools,
|
||||
setuptools-scm,
|
||||
@@ -65,7 +65,7 @@ buildPythonPackage rec {
|
||||
python-magic
|
||||
pyyaml
|
||||
requests
|
||||
sentry-sdk_2
|
||||
sentry-sdk
|
||||
tenacity
|
||||
];
|
||||
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
pydantic,
|
||||
pyyaml,
|
||||
requests,
|
||||
sentry-sdk_2,
|
||||
sentry-sdk,
|
||||
setproctitle,
|
||||
setuptools,
|
||||
pythonOlder,
|
||||
@@ -188,7 +188,7 @@ buildPythonPackage rec {
|
||||
pydantic
|
||||
pyyaml
|
||||
requests
|
||||
sentry-sdk_2
|
||||
sentry-sdk
|
||||
setproctitle
|
||||
# setuptools is necessary since pkg_resources is required at runtime.
|
||||
setuptools
|
||||
|
||||
@@ -694,6 +694,7 @@ mapAliases ({
|
||||
scikits-samplerate = throw "scikits-samplerate has been removed, it was unsed and unmaintained since 2015"; # added 2024-05-23
|
||||
selectors2 = throw "selectors2 has been removed: archived by upstream."; # added 2024-07-27
|
||||
selectors34 = throw "selectors34 has been removed: functionality provided by Python itself; archived by upstream."; # added 2021-06-10
|
||||
sentry-sdk_2 = sentry-sdk; # added 2025-04-20
|
||||
sequoia = throw "python3Packages.sequoia was replaced by pysequoia - built from a dedicated repository, with a new API."; # added 2023-06-24
|
||||
setuptools_dso = setuptools-dso; # added 2024-03-03
|
||||
setuptools_scm = setuptools-scm; # added 2021-06-03
|
||||
|
||||
@@ -15579,11 +15579,7 @@ self: super: with self; {
|
||||
|
||||
sentinels = callPackage ../development/python-modules/sentinels { };
|
||||
|
||||
sentry-sdk = sentry-sdk_1;
|
||||
|
||||
sentry-sdk_1 = callPackage ../development/python-modules/sentry-sdk/1.nix { };
|
||||
|
||||
sentry-sdk_2 = callPackage ../development/python-modules/sentry-sdk/default.nix { };
|
||||
sentry-sdk = callPackage ../development/python-modules/sentry-sdk/default.nix { };
|
||||
|
||||
sepaxml = callPackage ../development/python-modules/sepaxml { };
|
||||
|
||||
|
||||
Reference in New Issue
Block a user