Skip to content

Commit

Permalink
python3Packages.awkward: disable testing against JAX
Browse files Browse the repository at this point in the history
  • Loading branch information
veprbl committed Jan 8, 2025
1 parent 96be740 commit 4f9f372
Showing 1 changed file with 14 additions and 21 deletions.
35 changes: 14 additions & 21 deletions pkgs/development/python-modules/awkward/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@
pyarrow,
pytest-xdist,
pytestCheckHook,
jax,
jaxlib,

stdenv,
}:
Expand Down Expand Up @@ -61,28 +59,23 @@ buildPythonPackage rec {

pythonImportsCheck = [ "awkward" ];

nativeCheckInputs =
[
fsspec
numba
setuptools
numexpr
pandas
pyarrow
pytest-xdist
pytestCheckHook
]
++ lib.optionals (!stdenv.hostPlatform.isDarwin) [
# no support for darwin
jax
jaxlib
];
nativeCheckInputs = [
fsspec
numba
setuptools
numexpr
pandas
pyarrow
pytest-xdist
pytestCheckHook
];

# 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.
Expand Down

0 comments on commit 4f9f372

Please sign in to comment.