Merge pull request #121143 from fabaff/bump-gym

python3Packages.gym: 0.18.0 -> 0.18.1
This commit is contained in:
Fabian Affolter 2021-04-30 09:00:05 +02:00 committed by GitHub
commit fce6d9385d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,19 +1,32 @@
{ lib
, buildPythonPackage, fetchPypi
, numpy, requests, six, pyglet, scipy, cloudpickle
, buildPythonPackage
, fetchFromGitHub
, numpy
, requests
, pyglet
, scipy
, pillow
, cloudpickle
}:
buildPythonPackage rec {
pname = "gym";
version = "0.18.0";
version = "0.18.1";
src = fetchPypi {
inherit pname version;
sha256 = "a0dcd25c1373f3938f4cb4565f74f434fba6faefb73a42d09c9dddd0c08af53e";
src = fetchFromGitHub {
owner = "openai";
repo = pname;
rev = version;
sha256 = "0mv4af2y9d1y97bsda94f21nis2jm1zkzv7c806vmvzh5s4r8nfn";
};
propagatedBuildInputs = [
numpy requests six pyglet scipy cloudpickle
cloudpickle
numpy
pillow
pyglet
requests
scipy
];
# The test needs MuJoCo that is not free library.
@ -22,7 +35,7 @@ buildPythonPackage rec {
pythonImportsCheck = [ "gym" ];
meta = with lib; {
description = "A toolkit by OpenAI for developing and comparing your reinforcement learning agents";
description = "A toolkit for developing and comparing your reinforcement learning agents";
homepage = "https://gym.openai.com/";
license = licenses.mit;
maintainers = with maintainers; [ hyphon81 ];