From 72b9f8950479ee0b30fc716f94e6e85601412086 Mon Sep 17 00:00:00 2001 From: "Adam J. Stewart" Date: Thu, 17 Aug 2023 01:31:53 -0500 Subject: py-setuptools: document Python 3.12 support (#39449) --- var/spack/repos/builtin/packages/py-setuptools/package.py | 5 +++++ 1 file changed, 5 insertions(+) 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): -- cgit v1.2.3-70-g09d2