From 6969526e0f746a07ad7d9fcd073928ff1cc3a473 Mon Sep 17 00:00:00 2001 From: iarspider Date: Sat, 28 Mar 2020 18:13:47 +0100 Subject: py-statsmodels: update to 0.102 and fix dependencies (#15708) * py-statsmodels: update to 0.102 and fix dependencies * Update var/spack/repos/builtin/packages/py-statsmodels/package.py Co-Authored-By: Adam J. Stewart Co-authored-by: Adam J. Stewart --- .../builtin/packages/py-statsmodels/package.py | 25 +++++++++++----------- 1 file changed, 13 insertions(+), 12 deletions(-) (limited to 'var') diff --git a/var/spack/repos/builtin/packages/py-statsmodels/package.py b/var/spack/repos/builtin/packages/py-statsmodels/package.py index eebc206640..26c006bccf 100644 --- a/var/spack/repos/builtin/packages/py-statsmodels/package.py +++ b/var/spack/repos/builtin/packages/py-statsmodels/package.py @@ -13,31 +13,32 @@ class PyStatsmodels(PythonPackage): homepage = "http://www.statsmodels.org" url = "https://pypi.io/packages/source/s/statsmodels/statsmodels-0.8.0.tar.gz" + version('0.10.2', sha256='9cd2194c6642a8754e85f9a6e6912cdf996bebf6ff715d3cc67f65dadfd37cc9') version('0.10.1', sha256='320659a80f916c2edf9dfbe83512d9004bb562b72eedb7d9374562038697fa10') version('0.8.0', sha256='26431ab706fbae896db7870a0892743bfbb9f5c83231644692166a31d2d86048') variant('plotting', default=False, description='With matplotlib') - depends_on('python@:3.6', when='@:0.8.0', type=('build', 'run')) + depends_on('python@:3.6', when='@:0.8.0', type=('build', 'run')) + depends_on('python@2.7:2.8,3.4:', when='@0.10.1:', type=('build', 'run')) # according to http://www.statsmodels.org/dev/install.html earlier versions # might work. depends_on('py-setuptools@0.6c5:', type='build') - depends_on('py-numpy@1.7.0:', type=('build', 'run'), when='@0.8.0') - depends_on('py-pandas@0.12:', type=('build', 'run'), when='@0.8.0') - depends_on('py-patsy@0.2.1:', type=('build', 'run'), when='@0.8.0') - depends_on('py-scipy@0.11:', type=('build', 'run'), when='@0.8.0') - depends_on('py-matplotlib@1.3:', type=('build', 'run'), when='@0.8.0 +plotting') - # patsy@0.5.1 works around a Python change # https://github.com/statsmodels/statsmodels/issues/5343 and # https://github.com/pydata/patsy/pull/131 - depends_on('py-numpy', type=('build', 'run'), when='@0.10.1') - depends_on('py-pandas', type=('build', 'run'), when='@0.10.1') - depends_on('py-patsy', type=('build', 'run'), when='@0.10.1') - depends_on('py-scipy@0.5.1:', type=('build', 'run'), when='@0.10.1') - depends_on('py-matplotlib', type=('build', 'run'), when='@0.10.1 +plotting') + + depends_on('py-numpy@1.7.0:', type=('build', 'run'), when='@0.8.0:') + depends_on('py-numpy@1.11.0:', type=('build', 'run'), when='@0.10.1:') + depends_on('py-pandas@0.12:', type=('build', 'run'), when='@0.8.0:') + depends_on('py-pandas@0.19:', type=('build', 'run'), when='@0.10.1:') + depends_on('py-patsy@0.2.1:', type=('build', 'run'), when='@0.8.0:') + depends_on('py-patsy@0.4.0:', type=('build', 'run'), when='@0.10.1:') + depends_on('py-scipy@0.11:', type=('build', 'run'), when='@0.8.0:') + depends_on('py-scipy@0.18:', type=('build', 'run'), when='@0.10.1:') + depends_on('py-matplotlib@1.3:', type=('build', 'run'), when='@0.8.0 +plotting') depends_on('py-pytest', type='test') -- cgit v1.2.3-60-g2f50