Update references to python-build-standalone to reflect the transferred project (#9977)

This commit is contained in:
Zanie Blue 2024-12-17 14:19:58 -06:00 committed by GitHub
parent e730ef19f1
commit d70160a57b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
16 changed files with 2679 additions and 2679 deletions

View file

@ -171,7 +171,7 @@ class CPythonFinder(Finder):
implementation = ImplementationName.CPYTHON
RELEASE_URL = (
"https://api.github.com/repos/indygreg/python-build-standalone/releases"
"https://api.github.com/repos/astral-sh/python-build-standalone/releases"
)
FLAVOR_PREFERENCES = [
@ -333,7 +333,7 @@ class CPythonFinder(Finder):
def _parse_download_url(self, url: str) -> PythonDownload | None:
"""Parse an indygreg download URL into a PythonDownload object."""
# Ex)
# https://github.com/indygreg/python-build-standalone/releases/download/20240107/cpython-3.12.1%2B20240107-aarch64-unknown-linux-gnu-lto-full.tar.zst
# https://github.com/astral-sh/python-build-standalone/releases/download/20240107/cpython-3.12.1%2B20240107-aarch64-unknown-linux-gnu-lto-full.tar.zst
if url.endswith(".sha256"):
return None
filename = unquote(url.rsplit("/", maxsplit=1)[-1])