py-pip: add v25.0, v25.0.1 (#49249)

* py-pip: add v25.0 and v25.0.1

Release notes:
- https://pip.pypa.io/en/stable/news/#v25-0
- https://pip.pypa.io/en/stable/news/#v25-0-1

* py-pip: add known conflict

* fixup! py-pip: add known conflict

* fixup! fixup! py-pip: add known conflict

* py-setuptools: fix typo in conflict

* fixup! py-setuptools: fix typo in conflict
This commit is contained in:
Robert Maaskant 2025-04-16 15:36:25 +02:00 committed by GitHub
parent dc8678136c
commit 3256ad8e5c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 10 additions and 0 deletions

View File

@ -24,6 +24,8 @@ class PyPip(Package, PythonExtension):
license("MIT")
version("25.0.1", sha256="c46efd13b6aa8279f33f2864459c8ce587ea6a1a59ee20de055868d8f7688f7f")
version("25.0", sha256="b6eb97a803356a52b2dd4bb73ba9e65b2ba16caa6bcb25a7497350a4e5859b65")
version("24.3.1", sha256="3790624780082365f47549d032f3770eeb2b1e8bd1f7b2e02dace1afa361b4ed")
version("24.2", sha256="2cd581cf58ab7fcfca4ce8efa6dcacd0de5bf8d0a3eb9ec927e07405f4d9e2a2")
version("24.1.2", sha256="7cd207eed4c60b0f411b444cd1464198fe186671c323b6cd6d433ed80fc9d247")

View File

@ -118,6 +118,14 @@ class PySetuptools(Package, PythonExtension):
depends_on("py-pip", type="build")
conflicts(
"^python@:3.9 ^py-pip@25:",
when="@:75.1.0",
msg="py-pip@25: vendors pyproject-hooks@1.2. "
"The combination pyproject-hooks@1.2, python@:3.9, and py-setuptools@:75.1.0 is broken. "
"See https://github.com/pypa/pyproject-hooks/issues/206 for details.",
)
def url_for_version(self, version):
url = "https://files.pythonhosted.org/packages/{0}/s/setuptools/setuptools-{1}-{0}-none-any.whl"