Commit a4ba9bc6 authored by Dmitry Kalinkin's avatar Dmitry Kalinkin
Browse files

python3Packages.awkward: disable testing against JAX

parent c89f023b
Loading
Loading
Loading
Loading
+14 −21
Original line number Diff line number Diff line
@@ -24,8 +24,6 @@
  pyarrow,
  pytest-xdist,
  pytestCheckHook,
  jax,
  jaxlib,

  stdenv,
}:
@@ -61,8 +59,7 @@ buildPythonPackage rec {

  pythonImportsCheck = [ "awkward" ];

  nativeCheckInputs =
    [
  nativeCheckInputs = [
    fsspec
    numba
    setuptools
@@ -71,18 +68,14 @@ buildPythonPackage rec {
    pyarrow
    pytest-xdist
    pytestCheckHook
    ]
    ++ lib.optionals (!stdenv.hostPlatform.isDarwin) [
      # no support for darwin
      jax
      jaxlib
  ];

  # The following tests have been disabled because they need to be run on a GPU platform.
  disabledTestPaths = [
    # Need to be run on a GPU platform.
    "tests-cuda"
    # Disable tests dependending on jax on darwin
  ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ "tests/test_2603_custom_behaviors_with_jax.py" ];
    # JAX is broken
    "tests/test_2603_custom_behaviors_with_jax.py"
  ];

  disabledTests = [
    # AssertionError: Regex pattern did not match.