Merge pull request #98591 from wkral/fix-py-gym
python3Packages.gym: fix dependency constraints
This commit is contained in:
commit
e76833e848
@ -14,8 +14,10 @@ buildPythonPackage rec {
|
|||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace setup.py \
|
substituteInPlace setup.py \
|
||||||
--replace "pyglet>=1.2.0,<=1.3.2" "pyglet"
|
--replace "pyglet>=1.2.0,<=1.3.2" "pyglet" \
|
||||||
|
--replace "cloudpickle>=1.2.0,<1.4.0" "cloudpickle~=1.2"
|
||||||
'';
|
'';
|
||||||
|
# cloudpickle range has been expanded in package but not yet released
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
numpy requests six pyglet scipy cloudpickle
|
numpy requests six pyglet scipy cloudpickle
|
||||||
@ -24,6 +26,8 @@ buildPythonPackage rec {
|
|||||||
# The test needs MuJoCo that is not free library.
|
# The test needs MuJoCo that is not free library.
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
|
pythonImportCheck = [ "gym" ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "A toolkit by OpenAI for developing and comparing your reinforcement learning agents";
|
description = "A toolkit by OpenAI for developing and comparing your reinforcement learning agents";
|
||||||
homepage = "https://gym.openai.com/";
|
homepage = "https://gym.openai.com/";
|
||||||
|
Loading…
Reference in New Issue
Block a user