summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2023-08-17 01:31:53 -0500
committerGitHub <noreply@github.com>2023-08-17 08:31:53 +0200
commit72b9f8950479ee0b30fc716f94e6e85601412086 (patch)
treebc7b5c65ca66838a1a0a69a86e19d42a2e50291b /var
parenta89f1b1bf4b7ad1fd3a39b3f596b08d379e7f9c5 (diff)
downloadspack-72b9f8950479ee0b30fc716f94e6e85601412086.tar.gz
spack-72b9f8950479ee0b30fc716f94e6e85601412086.tar.bz2
spack-72b9f8950479ee0b30fc716f94e6e85601412086.tar.xz
spack-72b9f8950479ee0b30fc716f94e6e85601412086.zip
py-setuptools: document Python 3.12 support (#39449)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-setuptools/package.py5
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):