summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/py-pandas/package.py19
1 files changed, 10 insertions, 9 deletions
diff --git a/var/spack/repos/builtin/packages/py-pandas/package.py b/var/spack/repos/builtin/packages/py-pandas/package.py
index 63c6597b51..4ded508d74 100644
--- a/var/spack/repos/builtin/packages/py-pandas/package.py
+++ b/var/spack/repos/builtin/packages/py-pandas/package.py
@@ -95,15 +95,16 @@ class PyPandas(PythonPackage):
depends_on("py-setuptools@24.2:", when="@:1.2")
with default_args(type=("build", "run")):
- # Based on PyPI wheel versions
- depends_on("python@3.9:3.13", when="@2.2.3:")
- depends_on("python@3.9:3.12", when="@2.1.1:")
- depends_on("python@3.9:3.11", when="@2.1.0")
- depends_on("python@3.8:3.11", when="@1.5:2.0")
- depends_on("python@3.8:3.10", when="@1.4")
- depends_on("python@:3.10", when="@1.3.3:1.3")
- depends_on("python@:3.9", when="@1.1.3:1.3.2")
- depends_on("python@:3.8", when="@0.25.2:1.1.2")
+ # Based on PyPI wheel availability
+ depends_on("python@3.9:", when="@2.1:")
+ depends_on("python@3.8:", when="@1.4:")
+
+ depends_on("python@:3.13")
+ depends_on("python@:3.12", when="@:2.2.2")
+ depends_on("python@:3.11", when="@:2.1.0")
+ depends_on("python@:3.10", when="@:1.4")
+ depends_on("python@:3.9", when="@:1.3.2")
+ depends_on("python@:3.8", when="@:1.1.2")
depends_on("py-numpy@1.22.4:", when="@2.1:")
depends_on("py-numpy@1.20.3:", when="@1.5:")