summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2024-11-24 15:39:36 +0100
committerGitHub <noreply@github.com>2024-11-24 15:39:36 +0100
commit0bad754e2363fbe85da07adabacf63315a28f65b (patch)
treed3090ff9bdc0770dfcb9fa17124507ece4a5595d
parentcde2620f41ecd364e3cbd09ea1abb47041fce239 (diff)
downloadspack-0bad754e2363fbe85da07adabacf63315a28f65b.tar.gz
spack-0bad754e2363fbe85da07adabacf63315a28f65b.tar.bz2
spack-0bad754e2363fbe85da07adabacf63315a28f65b.tar.xz
spack-0bad754e2363fbe85da07adabacf63315a28f65b.zip
py-scikit-learn: add Python 3.13 support (#47775)
-rw-r--r--var/spack/repos/builtin/packages/py-scikit-learn/package.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/py-scikit-learn/package.py b/var/spack/repos/builtin/packages/py-scikit-learn/package.py
index 4fb94f843f..372c50624a 100644
--- a/var/spack/repos/builtin/packages/py-scikit-learn/package.py
+++ b/var/spack/repos/builtin/packages/py-scikit-learn/package.py
@@ -54,7 +54,8 @@ class PyScikitLearn(PythonPackage):
# Based on PyPI wheel availability
with default_args(type=("build", "link", "run")):
- depends_on("python@3.9:3.12", when="@1.4:")
+ depends_on("python@3.9:3.13", when="@1.5.2:")
+ depends_on("python@3.9:3.12", when="@1.4:1.5.1")
depends_on("python@3.8:3.12", when="@1.3.1:1.3")
depends_on("python@3.8:3.11", when="@1.1.3:1.3.0")
depends_on("python@3.8:3.10", when="@1.1.0:1.1.2")