From 5b45ffb3535fc561248a0444f41bee4d6eb17c68 Mon Sep 17 00:00:00 2001 From: iarspider Date: Thu, 6 Oct 2022 00:54:04 +0200 Subject: [PATCH] Add checksum for py-threadpoolctl 3.1.0 (#33012) * Add checksum for py-threadpoolctl 3.1.0 * Update package.py --- .../repos/builtin/packages/py-threadpoolctl/package.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/var/spack/repos/builtin/packages/py-threadpoolctl/package.py b/var/spack/repos/builtin/packages/py-threadpoolctl/package.py index a3d17ff676..e01d784a3a 100644 --- a/var/spack/repos/builtin/packages/py-threadpoolctl/package.py +++ b/var/spack/repos/builtin/packages/py-threadpoolctl/package.py @@ -15,9 +15,11 @@ class PyThreadpoolctl(PythonPackage): homepage = "https://github.com/joblib/threadpoolctl" pypi = "threadpoolctl/threadpoolctl-2.0.0.tar.gz" + version("3.1.0", sha256="a335baacfaa4400ae1f0d8e3a58d6674d2f8828e3716bb2802c44955ad391380") version("3.0.0", sha256="d03115321233d0be715f0d3a5ad1d6c065fe425ddc2d671ca8e45e9fd5d7a52a") version("2.0.0", sha256="48b3e3e9ee079d6b5295c65cbe255b36a3026afc6dde3fb49c085cd0c004bbcf") depends_on("python@3.5:", type=("build", "run")) - depends_on("python@3.6:", type=("build", "run"), when="@3.0.0:") - depends_on("py-flit", type="build") + depends_on("python@3.6:", when="@3.0.0:", type=("build", "run")) + depends_on("py-flit", when="@:3.0.0", type="build") + depends_on("py-flit-core", when="@3.1.0:", type="build")