From 69bfdb0843d4572f0c71824b7c34647fa815ea5d Mon Sep 17 00:00:00 2001 From: Jen Herting Date: Wed, 20 Jan 2021 18:07:10 -0500 Subject: [PATCH] =?UTF-8?q?[py-statsmodels]=20added=20version=200.12.1=20a?= =?UTF-8?q?nd=20updated=20dependencies=20accord=E2=80=A6=20(#21175)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * [py-statsmodels] added version 0.12.1 and updated dependencies accordingly * [py-statsmodels] added python requirements for new version and fixed formatting for readability --- .../repos/builtin/packages/py-statsmodels/package.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/var/spack/repos/builtin/packages/py-statsmodels/package.py b/var/spack/repos/builtin/packages/py-statsmodels/package.py index 40594bf948..26de5ecbe0 100644 --- a/var/spack/repos/builtin/packages/py-statsmodels/package.py +++ b/var/spack/repos/builtin/packages/py-statsmodels/package.py @@ -13,14 +13,16 @@ class PyStatsmodels(PythonPackage): homepage = "http://www.statsmodels.org" pypi = "statsmodels/statsmodels-0.8.0.tar.gz" + version('0.12.1', sha256='a271b4ccec190148dccda25f0cbdcbf871f408fc1394a10a7dc1af4a62b91c8e') 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')) + depends_on('python@3.6:', when='@0.12.1:', type=('build', 'run')) # according to http://www.statsmodels.org/dev/install.html earlier versions # might work. @@ -32,12 +34,16 @@ class PyStatsmodels(PythonPackage): 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-numpy@1.15.0:', type=('build', 'run'), when='@0.12.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-pandas@0.21:', type=('build', 'run'), when='@0.12.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-patsy@0.5.0:', type=('build', 'run'), when='@0.12.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-scipy@1.1:', type=('build', 'run'), when='@0.12.1:') depends_on('py-matplotlib@1.3:', type=('build', 'run'), when='@0.8.0 +plotting') depends_on('py-pytest', type='test')