anchor.diff:      chalice
       django
       executing
  +    fakeredis
       falcon
  -    flask
  +    flask_login
  +    gevent
  +    jsonschema
       pure-eval
  +    pytest-django
  +    pytest-forked
  +    pytest-localserver
  +    pytestCheckHook
       rq
       sqlalchemy
       tornado
  
positive.code:   version = "1.5.0";
    format = "setuptools";
  
    src = fetchPypi {
      inherit pname version;
      sha256 = "sha256-eJoRqHygJJGJbhIe/dZOj9kzJ7aejy99QvA+JWlkjog=";
    };
  
    propagatedBuildInputs = [
  
negative.code:     pyramid
      pyspark
      sanic
      sanic-testing
    ];
  
    doCheck = !stdenv.isDarwin;
  
    disabledTests = [
      # Issue with the asseration
      "test_auto_enabling_integrations_catches_import_error"
      # Output mismatch in sqlalchemy test
      "test_too_large_event_truncated"
      # Failing falcon tests
      "test_has_context"
      "uri_template-"
      "path-"
      "test_falcon_large_json_request"
      "test_falcon_empty_json_request"
      "test_falcon_raw_data_request"
      # Failing spark tests
      "test_set_app_properties"
      "test_start_sentry_listener"
      # Failing threading test
      "test_circular_references"
      # Failing wsgi test
      "test_session_mode_defaults_to_request_mode_in_wsgi_handler"
    ];
  
    disabledTestPaths = [
      # Some tests are failing (network access, assertion errors)
      "tests/integrations/aiohttp/"
      "tests/integrations/gcp/"
      "tests/integrations/httpx/"
      "tests/integrations/stdlib/test_httplib.py"
      # Tests are blocking
      "tests/integrations/celery/"
      # pytest-chalice is not available in nixpkgs yet
      "tests/integrations/chalice/"
    ];
  
    pythonImportsCheck = [
      "sentry_sdk"
    ];
  
    meta = with lib; {
      description = "Python SDK for Sentry.io";
      homepage = "https://github.com/getsentry/sentry-python";
      license = licenses.bsd2;
      maintainers = with maintainers; [ fab gebner ];
    };
  }
  