py-pip: mark Python 3.12+ support (#49148)

This commit is contained in:
Adam J. Stewart 2025-03-04 13:18:38 +01:00 committed by GitHub
parent 0161b662f7
commit 57e0798af2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -45,11 +45,16 @@ class PyPip(Package, PythonExtension):
version("9.0.1", sha256="690b762c0a8460c303c089d5d0be034fb15a5ea2b75bdf565f40421f542fefb0")
extends("python")
depends_on("python@3.8:", when="@24.1:", type=("build", "run"))
depends_on("python@3.7:", when="@22:", type=("build", "run"))
# Uses collections.MutableMapping
depends_on("python@:3.9", when="@:19.1", type=("build", "run"))
with default_args(type=("build", "run")):
depends_on("python@3.8:", when="@24.1:")
depends_on("python@3.7:", when="@22:")
# Uses pkgutil.ImpImporter
depends_on("python@:3.11", when="@:23.1.1")
# Uses collections.MutableMapping
depends_on("python@:3.9", when="@:19.1")
resource(
name="pip-bootstrap",