py-setuptools: document Python 3.12 support (#39449)

This commit is contained in:
Adam J. Stewart 2023-08-17 01:31:53 -05:00 committed by GitHub
parent a89f1b1bf4
commit 72b9f89504
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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):