python3Packages.awkward: disable testing against JAX

This commit is contained in:
Dmitry Kalinkin
2025-01-08 18:19:10 -05:00
parent c89f023b8d
commit a4ba9bc650
@@ -24,8 +24,6 @@
pyarrow,
pytest-xdist,
pytestCheckHook,
jax,
jaxlib,
stdenv,
}:
@@ -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.