summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Mijakovic <robert.mijakovic@gmail.com>2021-05-06 18:35:28 +0200
committerGitHub <noreply@github.com>2021-05-06 11:35:28 -0500
commit2ba493cd630dfc44e69c32b6e31993fa949fc10b (patch)
treebd9cc0173cebd05bf1197414b060cae0578ac5bf
parentbe092e8625e2dacd6c85eba42e3e6c1dbbce113e (diff)
downloadspack-2ba493cd630dfc44e69c32b6e31993fa949fc10b.tar.gz
spack-2ba493cd630dfc44e69c32b6e31993fa949fc10b.tar.bz2
spack-2ba493cd630dfc44e69c32b6e31993fa949fc10b.tar.xz
spack-2ba493cd630dfc44e69c32b6e31993fa949fc10b.zip
py-keras: new version (#22711)
* py-keras: new version * Adds missing dependencies. * Removes the newline which is against formatting rules. * py-keras: limits some dependencies to older versions * py-keras: restricts dependencies * pykeras: fixes dependency ranges :) Co-authored-by: Robert Mijakovic <robert.mijakovic@lrz.de> Co-authored-by: Robert Mijakovic <robert.mijakovic@lxp.lu>
-rw-r--r--var/spack/repos/builtin/packages/py-keras/package.py13
1 files changed, 9 insertions, 4 deletions
diff --git a/var/spack/repos/builtin/packages/py-keras/package.py b/var/spack/repos/builtin/packages/py-keras/package.py
index d8fbf7d566..a8fc75eb1b 100644
--- a/var/spack/repos/builtin/packages/py-keras/package.py
+++ b/var/spack/repos/builtin/packages/py-keras/package.py
@@ -13,6 +13,7 @@ class PyKeras(PythonPackage):
homepage = "http://keras.io"
pypi = "Keras/Keras-1.2.2.tar.gz"
+ version('2.4.3', sha256='fedd729b52572fb108a98e3d97e1bac10a81d3917d2103cc20ab2a5f03beb973')
version('2.2.4', sha256='90b610a3dbbf6d257b20a079eba3fdf2eed2158f64066a7c6f7227023fd60bc9')
version('2.2.3', sha256='694aee60a6f8e0d3d6d3e4967e063b4623e3ca90032f023fd6d16bb5f81d18de')
version('2.2.2', sha256='468d98da104ec5c3dbb10c2ef6bb345ab154f6ca2d722d4c250ef4d6105de17a')
@@ -39,9 +40,13 @@ class PyKeras(PythonPackage):
version('1.1.1', sha256='be1b67f62e5119f6f24a239a865dc47e6d9aa93b97b506ba34cab7353dbc23b6')
version('1.1.0', sha256='36d83b027ba9d2c9da8e1eefc28f600ca93dc03423e033b633cbac9061af8a5d')
- depends_on('py-keras-applications', type='run', when='@2.2:')
- depends_on('py-keras-preprocessing', type='run', when='@2.2:')
+ depends_on('python@3.6:', type=('build', 'run'), when='@2.4:')
+ depends_on('py-numpy@1.9.1:', type=('build', 'run'), when='@2.4:')
+ depends_on('py-scipy@0.14:', type=('build', 'run'), when='@2.4:')
+ depends_on('py-h5py', type=('build', 'run'), when='@2.4:')
+ depends_on('py-keras-applications', type='run', when='@2.2')
+ depends_on('py-keras-preprocessing', type='run', when='@2.2')
depends_on('py-setuptools', type='build')
- depends_on('py-theano', type=('build', 'run'))
+ depends_on('py-theano', type=('build', 'run'), when='@:2.2')
depends_on('py-pyyaml', type=('build', 'run'))
- depends_on('py-six', type=('build', 'run'))
+ depends_on('py-six', type=('build', 'run'), when='@:2.2')