summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/py-deap/package.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/py-deap/package.py b/var/spack/repos/builtin/packages/py-deap/package.py
index 4de9ee589e..ec984500ce 100644
--- a/var/spack/repos/builtin/packages/py-deap/package.py
+++ b/var/spack/repos/builtin/packages/py-deap/package.py
@@ -15,5 +15,7 @@ class PyDeap(PythonPackage):
version("1.3.3", sha256="8772f1b0fff042d5e516b0aebac2c706243045aa7d0de8e0b8658f380181cf31")
version("1.3.1", sha256="11f54493ceb54aae10dde676577ef59fc52d52f82729d5a12c90b0813c857a2f")
- depends_on("py-setuptools@:57", type="build")
+ depends_on("py-setuptools", type="build")
+ # uses 2to3
+ depends_on("py-setuptools@:57", type="build", when="@1.3.1")
depends_on("py-numpy", type=("build", "run"))