Add back depends_on directives needed to bootstrap on Python 3.6 (#34355)

This partially reverts commit 95b5d54129.
This commit is contained in:
Massimiliano Culpo 2022-12-06 20:08:26 +01:00 committed by GitHub
parent 99f209019e
commit d910b3725b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 14 additions and 0 deletions

View File

@ -74,6 +74,12 @@ class PyPip(Package, PythonExtension):
)
extends("python")
depends_on("python@3.7:", when="@22:", type=("build", "run"))
depends_on("python@3.6:", when="@21:", type=("build", "run"))
depends_on("python@2.7:2.8,3.5:", when="@19.2:", type=("build", "run"))
depends_on("python@2.7:2.8,3.4:", when="@18:", type=("build", "run"))
depends_on("python@2.7:2.8,3.3:", when="@10:", type=("build", "run"))
depends_on("python@2.6:2.8,3.3:", type=("build", "run"))
def url_for_version(self, version):
url = "https://files.pythonhosted.org/packages/{0}/p/pip/pip-{1}-{0}-none-any.whl"

View File

@ -176,6 +176,11 @@ 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"))
depends_on("py-pip", type="build")
def url_for_version(self, version):

View File

@ -72,6 +72,9 @@ class PyWheel(Package, PythonExtension):
)
extends("python")
depends_on("python@2.7:2.8,3.5:", when="@0.34:", type=("build", "run"))
depends_on("python@2.7:2.8,3.4:", when="@0.30:", type=("build", "run"))
depends_on("python@2.6:2.8,3.2:", type=("build", "run"))
depends_on("py-pip", type="build")
def install(self, spec, prefix):