Skip to content

Commit

Permalink
Merge pull request NixOS#255992 from samuela/samuela/jax
Browse files Browse the repository at this point in the history
python3Packages.jax: remove pytest-xdist
  • Loading branch information
samuela authored Sep 21, 2023
2 parents 21c1f39 + bddafba commit 42efd8d
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions pkgs/development/python-modules/jax/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
, numpy
, opt-einsum
, pytestCheckHook
, pytest-xdist
, pythonOlder
, scipy
, stdenv
Expand Down Expand Up @@ -62,18 +61,13 @@ buildPythonPackage rec {
jaxlib'
matplotlib
pytestCheckHook
pytest-xdist
];

# high parallelism will result in the tests getting stuck
dontUsePytestXdist = true;

# NOTE: Don't run the tests in the expiremental directory as they require flax
# which creates a circular dependency. See https://discourse.nixos.org/t/how-to-nix-ify-python-packages-with-circular-dependencies/14648/2.
# Not a big deal, this is how the JAX docs suggest running the test suite
# anyhow.
pytestFlagsArray = [
"--numprocesses=4"
"-W ignore::DeprecationWarning"
"tests/"
];
Expand Down

0 comments on commit 42efd8d

Please sign in to comment.