gymnasium: disable doCheck on Darwin
if doCheck = true on darwin, jaxlib is evaluated, which errors
This commit is contained in:
parent
6da1795208
commit
92a422a395
1 changed files with 7 additions and 0 deletions
|
@ -20,6 +20,7 @@
|
||||||
, pygame
|
, pygame
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
, scipy
|
, scipy
|
||||||
|
, stdenv
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
|
@ -60,6 +61,12 @@ buildPythonPackage rec {
|
||||||
scipy
|
scipy
|
||||||
];
|
];
|
||||||
|
|
||||||
|
# if `doCheck = true` on Darwin, `jaxlib` is evaluated, which is both
|
||||||
|
# marked as broken and throws an error during evaluation if the package is evaluated anyway.
|
||||||
|
# disabling checks on Darwin avoids this and allows the package to be built.
|
||||||
|
# if jaxlib is ever fixed on Darwin, remove this.
|
||||||
|
doCheck = !stdenv.isDarwin;
|
||||||
|
|
||||||
disabledTestPaths = [
|
disabledTestPaths = [
|
||||||
# mujoco is required for those tests but the mujoco python bindings are not packaged in nixpkgs.
|
# mujoco is required for those tests but the mujoco python bindings are not packaged in nixpkgs.
|
||||||
"tests/envs/mujoco/test_mujoco_custom_env.py"
|
"tests/envs/mujoco/test_mujoco_custom_env.py"
|
||||||
|
|
Loading…
Reference in a new issue