From 3711fbeaffc65e36ba9e7ca6d568115aa3496b88 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Thu, 17 Apr 2025 16:30:36 +0200 Subject: [PATCH] python312Packages.gymnasium: skip failing tests https://github.com/Farama-Foundation/Gymnasium/issues/1360 https://github.com/Farama-Foundation/Gymnasium/pull/1361 --- pkgs/development/python-modules/gymnasium/default.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/pkgs/development/python-modules/gymnasium/default.nix b/pkgs/development/python-modules/gymnasium/default.nix index a87833f8bb63..c98c3d7cb119 100644 --- a/pkgs/development/python-modules/gymnasium/default.nix +++ b/pkgs/development/python-modules/gymnasium/default.nix @@ -90,6 +90,15 @@ buildPythonPackage rec { ]; disabledTests = [ + # Fails since jax 0.6.0 + # Fixed on master https://github.com/Farama-Foundation/Gymnasium/commit/94019feee1a0f945b9569cddf62780f4e1a224a5 + # TODO: un-skip at the next release + "test_all_env_api" + "test_env_determinism_rollout" + "test_jax_to_numpy_wrapper" + "test_pickle_env" + "test_roundtripping" + # Succeeds for most environments but `test_render_modes[Reacher-v4]` fails because it requires # OpenGL access which is not possible inside the sandbox. "test_render_mode"