3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #156667 from fabaff/fix-rollbar

python3Packages.rollbar: disable tests
This commit is contained in:
Fabian Affolter 2022-01-25 14:50:08 +01:00 committed by GitHub
commit 6ea1b6cbf5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,20 +1,24 @@
{ aiocontextvars
{ lib
, aiocontextvars
, blinker
, buildPythonPackage
, fetchPypi
, fetchpatch
, httpx
, lib
, mock
, pytestCheckHook
, requests
, six
, unittest2
, pythonOlder
, webob
}:
buildPythonPackage rec {
pname = "rollbar";
version = "0.16.2";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
@ -29,14 +33,20 @@ buildPythonPackage rec {
checkInputs = [
webob
blinker
unittest2
mock
httpx
aiocontextvars
pytestCheckHook
];
pythonImportsCheck = [ "rollbar" ];
# Still supporting unittest2
# https://github.com/rollbar/pyrollbar/pull/346
# https://github.com/rollbar/pyrollbar/pull/340
doCheck = false;
pythonImportsCheck = [
"rollbar"
];
meta = with lib; {
description = "Error tracking and logging from Python to Rollbar";