summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmilio J. Padrón González <emilioj@udc.gal>2022-11-06 00:28:58 +0100
committerGitHub <noreply@github.com>2022-11-05 16:28:58 -0700
commite550f48b173dfc3d14dfbb1b8091947de4f6892b (patch)
tree22562202b9eb421e70bf2262f3465ac888fb3c72
parent0f32f7d0e9077b78aea0015ca37bc65cc76c4ce2 (diff)
downloadspack-e550f48b173dfc3d14dfbb1b8091947de4f6892b.tar.gz
spack-e550f48b173dfc3d14dfbb1b8091947de4f6892b.tar.bz2
spack-e550f48b173dfc3d14dfbb1b8091947de4f6892b.tar.xz
spack-e550f48b173dfc3d14dfbb1b8091947de4f6892b.zip
ADD version 0.19.0 in py-gym recipe (#33701)
* ADD version 0.19.0 in py-gym recipe * Fix py-gym download url and dependencies for v0.19.0 * Fix stupid error in previous commit: no change in py-cloudpickle dep * Yes, I should've paid more attention! O:) I think now it is right, thanks!
-rw-r--r--var/spack/repos/builtin/packages/py-gym/package.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/var/spack/repos/builtin/packages/py-gym/package.py b/var/spack/repos/builtin/packages/py-gym/package.py
index 0d610934ab..3614c7a790 100644
--- a/var/spack/repos/builtin/packages/py-gym/package.py
+++ b/var/spack/repos/builtin/packages/py-gym/package.py
@@ -14,16 +14,16 @@ class PyGym(PythonPackage):
environments."""
homepage = "https://github.com/openai/gym"
- pypi = "gym/0.18.0.tar.gz"
+ pypi = "gym/gym-0.18.0.tar.gz"
+ version("0.19.0", sha256="940069b983806e1ccc400fa6d47b4e34e462accf6a4fb0acb0a5e509ad0f502d")
version("0.18.0", sha256="a0dcd25c1373f3938f4cb4565f74f434fba6faefb73a42d09c9dddd0c08af53e")
depends_on("python@3.6:", type=("build", "run"))
depends_on("py-setuptools", type="build")
- depends_on("py-scipy", type=("build", "run"))
- depends_on("py-numpy@1.10.4:", type=("build", "run"))
+ depends_on("py-scipy", type=("build", "run"), when="@0.18.0")
+ depends_on("py-numpy@1.10.4:", type=("build", "run"), when="@0.18.0")
+ depends_on("py-numpy@1.18.0:", type=("build", "run"), when="@0.19.0")
depends_on("py-pyglet@1.4.0:1.5.0", type=("build", "run"), when="@0.18.0")
- depends_on("py-pyglet@1.4.0:1.5.15", type=("build", "run"), when="@0.18.1")
- depends_on("pil@:8.2.0", type=("build", "run"), when="@0.18.1")
depends_on("pil@:7.2.0", type=("build", "run"), when="@0.18.0")
depends_on("py-cloudpickle@1.2.0:1.6", type=("build", "run"))