summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorManuela Kuhn <36827019+manuelakuhn@users.noreply.github.com>2023-10-20 13:59:26 +0200
committerGitHub <noreply@github.com>2023-10-20 06:59:26 -0500
commit5de1c1c98f71271c64d8531ce4e76bbdfb67b4e5 (patch)
tree4c0ff2d45e0964234102fe6963068430ba9a45fd /var
parent5b9b5eaa2856e1d1fd53350f31da4fd123eaed98 (diff)
downloadspack-5de1c1c98f71271c64d8531ce4e76bbdfb67b4e5.tar.gz
spack-5de1c1c98f71271c64d8531ce4e76bbdfb67b4e5.tar.bz2
spack-5de1c1c98f71271c64d8531ce4e76bbdfb67b4e5.tar.xz
spack-5de1c1c98f71271c64d8531ce4e76bbdfb67b4e5.zip
py-statsmodels: add 0.14.0 (#39156)
* py-statsmodels: add 0.14.0 * Fix style * Update var/spack/repos/builtin/packages/py-statsmodels/package.py Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> * Update var/spack/repos/builtin/packages/py-statsmodels/package.py Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> * Remove python limits * Remove comment --------- Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-statsmodels/package.py55
1 files changed, 32 insertions, 23 deletions
diff --git a/var/spack/repos/builtin/packages/py-statsmodels/package.py b/var/spack/repos/builtin/packages/py-statsmodels/package.py
index 36968986a3..2fe227de45 100644
--- a/var/spack/repos/builtin/packages/py-statsmodels/package.py
+++ b/var/spack/repos/builtin/packages/py-statsmodels/package.py
@@ -3,6 +3,7 @@
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+import glob
import os
from spack.package import *
@@ -13,7 +14,9 @@ class PyStatsmodels(PythonPackage):
homepage = "https://www.statsmodels.org"
pypi = "statsmodels/statsmodels-0.8.0.tar.gz"
+ git = "https://github.com/statsmodels/statsmodels.git"
+ version("0.14.0", sha256="6875c7d689e966d948f15eb816ab5616f4928706b180cf470fd5907ab6f647a4")
version("0.13.5", sha256="593526acae1c0fda0ea6c48439f67c3943094c542fe769f8b90fe9e6c6cc4871")
version("0.13.2", sha256="77dc292c9939c036a476f1770f9d08976b05437daa229928da73231147cde7d4")
version("0.13.1", sha256="006ec8d896d238873af8178d5475203844f2c391194ed8d42ddac37f5ff77a69")
@@ -23,36 +26,42 @@ class PyStatsmodels(PythonPackage):
version("0.10.2", sha256="9cd2194c6642a8754e85f9a6e6912cdf996bebf6ff715d3cc67f65dadfd37cc9")
version("0.10.1", sha256="320659a80f916c2edf9dfbe83512d9004bb562b72eedb7d9374562038697fa10")
- depends_on("python@2.7:2.8,3.4:", when="@0.10.1:", type=("build", "link", "run"))
- depends_on("python@3.6:", when="@0.12.1:", type=("build", "link", "run"))
+ depends_on("python@3.8:", when="@0.14:", type=("build", "link", "run"))
+ depends_on("python", type=("build", "link", "run"))
- # according to https://www.statsmodels.org/dev/install.html earlier versions might work.
- depends_on("py-setuptools", type="build")
- depends_on("py-setuptools@59.2.0:", type="build", when="@0.13.5:")
+ depends_on("py-setuptools@59.2:", when="@0.13.3:", type="build")
+ depends_on("py-setuptools@0.6c5:", type="build")
- # https://github.com/statsmodels/statsmodels/blob/01b19d7d111b29c183f620ff0a949ef6391ff8ee/pyproject.toml
- depends_on("py-cython@0", type="build")
- depends_on("py-cython@0.29.14:", type="build", when="@0.12.0:")
- depends_on("py-cython@0.29.22:", type="build", when="@0.13.0:")
- depends_on("py-cython@0.29.32:", type="build", when="@0.13.5:")
+ # pyproject.toml
+ depends_on("py-cython@0.29.26:2", when="@0.14:", type="build")
+ depends_on("py-cython@0.29.32:2", when="@0.13.5:0.13", type="build")
+ depends_on("py-cython@0.29.22:2", when="@0.13:", type="build")
+ depends_on("py-cython@0.29.14:2", when="@0.12:", type="build")
+ depends_on("py-cython@0.29:2", type="build")
+ depends_on("py-setuptools-scm+toml@7.0", when="@0.13.3:", type="build")
# 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@1.11.0:", type=("build", "link", "run"), when="@0.10.1:")
- depends_on("py-numpy@1.15.0:", type=("build", "link", "run"), when="@0.12.1:")
- depends_on("py-numpy@1.17.0:", type=("build", "link", "run"), when="@0.13.0:")
- depends_on("py-pandas@0.19:", type=("build", "run"), when="@0.10.1:")
- depends_on("py-pandas@0.23:", type=("build", "run"), when="@0.12.0:")
- depends_on("py-pandas@0.25:", type=("build", "run"), when="@0.13.0:")
- depends_on("py-patsy@0.4.0:", type=("build", "run"), when="@0.10.1:")
- depends_on("py-patsy@0.5.1:", type=("build", "run"), when="@0.12.0:")
- depends_on("py-patsy@0.5.2:", type=("build", "run"), when="@0.13.0:")
- depends_on("py-scipy@0.18:", type=("build", "run"), when="@0.10.1:")
- depends_on("py-scipy@1.2:", type=("build", "run"), when="@0.12.0:")
- depends_on("py-scipy@1.3:", type=("build", "run"), when="@0.13.0:")
- depends_on("py-packaging@21.3:", type=("build", "run"), when="@0.13.2:")
+ # requirements.txt
+ depends_on("py-numpy@1.18:", when="@0.14:", type=("build", "link", "run"))
+ depends_on("py-numpy@1.17:", when="@0.13:", type=("build", "link", "run"))
+ depends_on("py-numpy@1.15:", when="@0.12.1:", type=("build", "link", "run"))
+ depends_on("py-numpy@1.11:", when="@0.10.1:", type=("build", "link", "run"))
+ depends_on("py-scipy@1.4:", when="@0.13.5:", type=("build", "run"))
+ conflicts("^py-scipy@1.9.2")
+ depends_on("py-scipy@1.3:", when="@0.13:", type=("build", "run"))
+ depends_on("py-scipy@1.2:", when="@0.12:", type=("build", "run"))
+ depends_on("py-scipy@0.18:", when="@0.10.1:", type=("build", "run"))
+ depends_on("py-pandas@1:", when="@0.14:", type=("build", "run"))
+ depends_on("py-pandas@0.25:", when="@0.13:", type=("build", "run"))
+ depends_on("py-pandas@0.23:", when="@0.12:", type=("build", "run"))
+ depends_on("py-pandas@0.19:", when="@0.10.1:", type=("build", "run"))
+ depends_on("py-patsy@0.5.2:", when="@0.13:", type=("build", "run"))
+ depends_on("py-patsy@0.5.1:", when="@0.12:", type=("build", "run"))
+ depends_on("py-patsy@0.4:", when="@0.10.1:", type=("build", "run"))
+ depends_on("py-packaging@21.3:", when="@0.13.2:", type=("build", "run"))
depends_on("py-pytest", type="test")