summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGilles Gouaillardet <ggouaillardet@users.noreply.github.com>2023-01-25 11:32:21 +0900
committerGitHub <noreply@github.com>2023-01-24 18:32:21 -0800
commit051abfb894d41ef488545710a75ea06d8a2013b0 (patch)
tree36b631d18db0e6e3b265a2eed853b9577aaec78d
parent0447ba1213b0b4d0df8ab22aa3841839d3d2844c (diff)
downloadspack-051abfb894d41ef488545710a75ea06d8a2013b0.tar.gz
spack-051abfb894d41ef488545710a75ea06d8a2013b0.tar.bz2
spack-051abfb894d41ef488545710a75ea06d8a2013b0.tar.xz
spack-051abfb894d41ef488545710a75ea06d8a2013b0.zip
py-scipy: do not build 1.6 and older with python < 3.10.1 (#35120)
py-scipy 1.6 and older come with pre cython-ized files that use the _PyGen_Send symbol that was removed from python 3.10.0.161, so do not build these old versions with python 3.10.1 and later
-rw-r--r--var/spack/repos/builtin/packages/py-scipy/package.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/var/spack/repos/builtin/packages/py-scipy/package.py b/var/spack/repos/builtin/packages/py-scipy/package.py
index d36e1aad54..c639dffca8 100644
--- a/var/spack/repos/builtin/packages/py-scipy/package.py
+++ b/var/spack/repos/builtin/packages/py-scipy/package.py
@@ -100,10 +100,10 @@ class PyScipy(PythonPackage):
depends_on("python@3.8:3.10", when="@1.8", type=("build", "link", "run"))
depends_on("python@3.7:3.10", when="@1.7.2:1.7", type=("build", "link", "run"))
depends_on("python@3.7:3.9", when="@1.6.2:1.7.1", type=("build", "link", "run"))
- depends_on("python@3.7:", when="@1.6:1.6.1", type=("build", "link", "run"))
- depends_on("python@3.6:", when="@1.5.0:1.5", type=("build", "link", "run"))
- depends_on("python@3.5:", when="@1.3:1.4", type=("build", "link", "run"))
- depends_on("python@2.7:2.8,3.4:", when="@:1.2", type=("build", "link", "run"))
+ depends_on("python@3.7:3.10.0", when="@1.6:1.6.1", type=("build", "link", "run"))
+ depends_on("python@3.6:3.10.0", when="@1.5.0:1.5", type=("build", "link", "run"))
+ depends_on("python@3.5:3.10.0", when="@1.3:1.4", type=("build", "link", "run"))
+ depends_on("python@2.7:2.8,3.4:3.10.0", when="@:1.2", type=("build", "link", "run"))
depends_on("py-pytest", type="test")
# NOTE: scipy should use the same BLAS/LAPACK as numpy.