summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2024-11-24 17:48:16 +0100
committerGitHub <noreply@github.com>2024-11-24 17:48:16 +0100
commit58511a33523c200fd0400ca25ffc844a9ecc7fd1 (patch)
treeb92b5bdd5b9ac58467bae7df8c229dc6a9aa2a11
parent325873a4c787f887ce7f033a689f7e7c1a0653bd (diff)
downloadspack-58511a33523c200fd0400ca25ffc844a9ecc7fd1.tar.gz
spack-58511a33523c200fd0400ca25ffc844a9ecc7fd1.tar.bz2
spack-58511a33523c200fd0400ca25ffc844a9ecc7fd1.tar.xz
spack-58511a33523c200fd0400ca25ffc844a9ecc7fd1.zip
py-pandas: correct Python version constraint (#47770)
-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:")