24 buildPythonPackage rec {
29 inherit pname version;
30 sha256 = "0i47hf0l76ydyrky6f8h760bfr0zg5g3vy675x6m6pgm9wrklkqc";
33 propagatedBuildInputs = [
56 # run only some tests that do not need any optional dependencies
57 # available tests: https://github.com/NervanaSystems/coach/tree/master/rl_coach/tests
59 # test only the tensorflow backend (not mxnet)
60 "architectures/tensorflow_components"
62 "exploration_policies"
68 fullTestPaths = map (testfile: "rl_coach/tests/${testfile}") testsToRun;
69 escapedPaths = map lib.escapeShellArg fullTestPaths;
70 pytestArgs = builtins.concatStringsSep " " escapedPaths;
77 # pinned to 8.0.1 for unknown reason, at least basic functionallity seems to work without it
78 # https://github.com/NervanaSystems/coach/pull/149#issuecomment-495915804
79 sed -i '/kubernetes/d' requirements.txt
81 # this is just an "intel-optimized" version of tensorflow, e.g. an implementation detail
82 sed -i 's/intel-tensorflow/tensorflow/g' setup.py
84 # backports of python3 features not needed
85 # https://github.com/NervanaSystems/coach/issues/324
86 sed -i '/futures/d' requirements.txt
89 disabled = pythonOlder "3.5"; # minimum required version
92 description = "Enables easy experimentation with state of the art Reinforcement Learning algorithms";
93 homepage = "https://nervanasystems.github.io/coach/";
94 license = licenses.asl20;
95 maintainers = with maintainers; [ timokau ];
96 # pythonPackages.gym is too new
97 broken = true; # since 2020-04-20