Loading pkgs/development/python-modules/gymnasium/default.nix +2 −2 Original line number Diff line number Diff line Loading @@ -32,7 +32,7 @@ buildPythonPackage rec { pname = "gymnasium"; version = "1.0.0"; version = "1.1.0"; pyproject = true; Loading @@ -40,7 +40,7 @@ buildPythonPackage rec { owner = "Farama-Foundation"; repo = "gymnasium"; tag = "v${version}"; hash = "sha256-Qchuz08yJ0giVrtKLC9vBgr28JrHQyAOCuoS239ivVw="; hash = "sha256-o+rxEMxiw4BP1lTk0xTXjqXS2C9vuHBzE8F7ZEVHmIc="; }; build-system = [ setuptools ]; Loading pkgs/development/python-modules/stable-baselines3/default.nix +4 −0 Original line number Diff line number Diff line Loading @@ -34,6 +34,10 @@ buildPythonPackage rec { build-system = [ setuptools ]; pythonRelaxDeps = [ "gymnasium" ]; dependencies = [ cloudpickle gymnasium Loading pkgs/development/python-modules/tianshou/default.nix +45 −30 Original line number Diff line number Diff line { lib, ale-py, stdenv, buildPythonPackage, cython, deepdiff, docstring-parser, pythonOlder, fetchFromGitHub, # build-system poetry-core, # dependencies deepdiff, gymnasium, h5py, imageio, joblib, jsonargparse, matplotlib, mujoco, numba, numpy, opencv, overrides, packaging, pandas, pettingzoo, poetry-core, pybox2d, pybullet, pygame, pymunk, pytestCheckHook, pythonOlder, scipy, sensai-utils, shimmy, swig, tensorboard, torch, tqdm, # optional-dependencies docstring-parser, jsonargparse, ale-py, opencv, shimmy, pybox2d, pygame, swig, mujoco, imageio, cython, pybullet, joblib, scipy, # tests pymunk, pytestCheckHook, }: buildPythonPackage rec { Loading Loading @@ -156,20 +165,26 @@ buildPythonPackage rec { "test/offline" ]; disabledTests = [ disabledTests = [ # AttributeError: 'TimeLimit' object has no attribute 'test_attribute' "test_attr_unwrapped" # Failed: DID NOT RAISE <class 'TypeError'> "test_batch" # Failed: Raised AssertionError "test_vecenv" ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ # Fatal Python error: Aborted # pettingzoo/classic/tictactoe/tictactoe.py", line 254 in reset "test_tic_tac_toe" ]; meta = with lib; { meta = { description = "Elegant PyTorch deep reinforcement learning library"; homepage = "https://github.com/thu-ml/tianshou"; changelog = "https://github.com/thu-ml/tianshou/releases/tag/v${version}"; license = licenses.mit; maintainers = with maintainers; [ derdennisop ]; license = lib.licenses.mit; maintainers = with lib.maintainers; [ derdennisop ]; }; } Loading
pkgs/development/python-modules/gymnasium/default.nix +2 −2 Original line number Diff line number Diff line Loading @@ -32,7 +32,7 @@ buildPythonPackage rec { pname = "gymnasium"; version = "1.0.0"; version = "1.1.0"; pyproject = true; Loading @@ -40,7 +40,7 @@ buildPythonPackage rec { owner = "Farama-Foundation"; repo = "gymnasium"; tag = "v${version}"; hash = "sha256-Qchuz08yJ0giVrtKLC9vBgr28JrHQyAOCuoS239ivVw="; hash = "sha256-o+rxEMxiw4BP1lTk0xTXjqXS2C9vuHBzE8F7ZEVHmIc="; }; build-system = [ setuptools ]; Loading
pkgs/development/python-modules/stable-baselines3/default.nix +4 −0 Original line number Diff line number Diff line Loading @@ -34,6 +34,10 @@ buildPythonPackage rec { build-system = [ setuptools ]; pythonRelaxDeps = [ "gymnasium" ]; dependencies = [ cloudpickle gymnasium Loading
pkgs/development/python-modules/tianshou/default.nix +45 −30 Original line number Diff line number Diff line { lib, ale-py, stdenv, buildPythonPackage, cython, deepdiff, docstring-parser, pythonOlder, fetchFromGitHub, # build-system poetry-core, # dependencies deepdiff, gymnasium, h5py, imageio, joblib, jsonargparse, matplotlib, mujoco, numba, numpy, opencv, overrides, packaging, pandas, pettingzoo, poetry-core, pybox2d, pybullet, pygame, pymunk, pytestCheckHook, pythonOlder, scipy, sensai-utils, shimmy, swig, tensorboard, torch, tqdm, # optional-dependencies docstring-parser, jsonargparse, ale-py, opencv, shimmy, pybox2d, pygame, swig, mujoco, imageio, cython, pybullet, joblib, scipy, # tests pymunk, pytestCheckHook, }: buildPythonPackage rec { Loading Loading @@ -156,20 +165,26 @@ buildPythonPackage rec { "test/offline" ]; disabledTests = [ disabledTests = [ # AttributeError: 'TimeLimit' object has no attribute 'test_attribute' "test_attr_unwrapped" # Failed: DID NOT RAISE <class 'TypeError'> "test_batch" # Failed: Raised AssertionError "test_vecenv" ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ # Fatal Python error: Aborted # pettingzoo/classic/tictactoe/tictactoe.py", line 254 in reset "test_tic_tac_toe" ]; meta = with lib; { meta = { description = "Elegant PyTorch deep reinforcement learning library"; homepage = "https://github.com/thu-ml/tianshou"; changelog = "https://github.com/thu-ml/tianshou/releases/tag/v${version}"; license = licenses.mit; maintainers = with maintainers; [ derdennisop ]; license = lib.licenses.mit; maintainers = with lib.maintainers; [ derdennisop ]; }; }