summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/py-scikit-learn/package.py4
1 files changed, 3 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 f5a877ed46..60ed738605 100644
--- a/var/spack/repos/builtin/packages/py-scikit-learn/package.py
+++ b/var/spack/repos/builtin/packages/py-scikit-learn/package.py
@@ -16,6 +16,7 @@ class PyScikitLearn(PythonPackage):
maintainers("adamjstewart")
version("master", branch="master")
+ version("1.2.2", sha256="8429aea30ec24e7a8c7ed8a3fa6213adf3814a6efbea09e16e0a0c71e1a1a3d7")
version("1.2.1", sha256="fbf8a5c893c9b4b99bcc7ed8fb3e8500957a113f4101860386d06635520f7cfb")
version("1.2.0", sha256="680b65b3caee469541385d2ca5b03ff70408f6c618c583948312f0d2125df680")
version("1.1.3", sha256="bef51978a51ec19977700fe7b86aecea49c825884f3811756b74a3b152bb4e35")
@@ -56,7 +57,8 @@ class PyScikitLearn(PythonPackage):
depends_on("python@3.8:", when="@1.1:", type=("build", "run"))
# pyproject.toml
- depends_on("py-setuptools@:59", type="build")
+ depends_on("py-setuptools", type="build")
+ depends_on("py-setuptools@:59", when="@:1.2.1", type="build")
# sklearn/_min_dependencies.py
depends_on("py-numpy@1.17.3:", when="@1.1:", type=("build", "run"))