Unverified Commit f51dc7c8 authored by Martin Weinelt's avatar Martin Weinelt Committed by GitHub
Browse files

python3Packages.traceerite: exclude torch tests (#501006)

parents 51088396 8a7f0b2d
Loading
Loading
Loading
Loading
+7 −2
Original line number Diff line number Diff line
@@ -7,7 +7,7 @@
  html5tagger,
  pytestCheckHook,
  beautifulsoup4,
  torch,
  numpy,
}:

buildPythonPackage rec {
@@ -34,11 +34,16 @@ buildPythonPackage rec {
  nativeCheckInputs = [
    pytestCheckHook
    beautifulsoup4
    torch
    numpy
  ];

  pythonImportsCheck = [ "tracerite" ];

  disabledTestPaths = [
    # requiring torch to test tensor rendering in tracebacks is too expensive
    "tests/test_inspector_torch.py"
  ];

  meta = {
    description = "Tracebacks for Humans in Jupyter notebooks";
    homepage = "https://github.com/sanic-org/tracerite";