Unverified Commit 7e29fe43 authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

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

python311Packages.sentry-sdk: 1.42.0 -> 1.43.0
parents 4a42c797 fe1bedbd
Loading
Loading
Loading
Loading
+69 −93
Original line number Diff line number Diff line
{ 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
{
  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.42.0";
  version = "1.45.0";
  pyproject = true;

  disabled = pythonOlder "3.7";
@@ -47,50 +48,30 @@ buildPythonPackage rec {
    owner = "getsentry";
    repo = "sentry-python";
    rev = "refs/tags/${version}";
    hash = "sha256-LZn7oWwKdHi/KScitFnNDX7pI92mNkC6niGP+BixjtA=";
    hash = "sha256-OWoMqJlf0vmBHWWsW6mF4u5X9USzxkFmCJyX7Ws0dD0=";
  };

  nativeBuildInputs = [
    setuptools
  ];
  build-system = [ setuptools ];

  propagatedBuildInputs = [
  dependencies = [
    certifi
    urllib3
  ];

  passthru.optional-dependencies = {
    aiohttp = [
      aiohttp
    ];
    beam = [
      apache-beam
    ];
    bottle = [
      bottle
    ];
    celery = [
      celery
    ];
    chalice = [
      chalice
    ];
    django = [
      django
    ];
    falcon = [
      falcon
    ];
    aiohttp = [ aiohttp ];
    beam = [ apache-beam ];
    bottle = [ bottle ];
    celery = [ celery ];
    chalice = [ chalice ];
    django = [ django ];
    falcon = [ falcon ];
    flask = [
      flask
      blinker
    ];
    httpx = [
      httpx
    ];
    pyspark = [
      pyspark
    ];
    httpx = [ httpx ];
    pyspark = [ pyspark ];
    pure_eval = [
      asttokens
      executing
@@ -100,18 +81,10 @@ buildPythonPackage rec {
      quart
      blinker
    ];
    rq = [
      rq
    ];
    sanic = [
      sanic
    ];
    sqlalchemy = [
      sqlalchemy
    ];
    tornado = [
      tornado
    ];
    rq = [ rq ];
    sanic = [ sanic ];
    sqlalchemy = [ sqlalchemy ];
    tornado = [ tornado ];
  };

  nativeCheckInputs = [
@@ -137,24 +110,27 @@ buildPythonPackage rec {
    "test_default_release"
  ];

  disabledTestPaths = [
  disabledTestPaths =
    [
      # Varius 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") [
    ]
    ++ lib.optionals (stdenv.buildPlatform != "x86_64-linux") [
      # test crashes on aarch64
      "tests/test_transport.py"
    ];

  pythonImportsCheck = [
    "sentry_sdk"
  ];
  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 gebner ];
    maintainers = with maintainers; [
      fab
      gebner
    ];
  };
}