diff options
-rw-r--r-- | var/spack/repos/builtin/packages/py-setuptools/package.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-setuptools/package.py b/var/spack/repos/builtin/packages/py-setuptools/package.py index ea9150e357..128ba5018f 100644 --- a/var/spack/repos/builtin/packages/py-setuptools/package.py +++ b/var/spack/repos/builtin/packages/py-setuptools/package.py @@ -193,11 +193,16 @@ class PySetuptools(Package, PythonExtension): ) extends("python") + depends_on("python@3.7:", when="@59.7:", type=("build", "run")) depends_on("python@3.6:", when="@51:", type=("build", "run")) depends_on("python@3.5:", when="@45:50", type=("build", "run")) depends_on("python@2.7:2.8,3.5:", when="@44", type=("build", "run")) depends_on("python@2.7:2.8,3.4:", when="@:43", type=("build", "run")) + + # https://github.com/pypa/setuptools/issues/3661 + conflicts("python@3.12:", when="@:67") + depends_on("py-pip", type="build") def url_for_version(self, version): |