Skip to content

Commit 701ba45

Browse files
authored
chore: account for new GH org of standalone interpreter (#2676)
The repo was donated. It also trivially removes the need for a redirect on the URL that fetches artifacts.
1 parent 5ba2e70 commit 701ba45

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

python/private/pypi/whl_library.bzl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ def _get_xcode_location_cflags(rctx):
3434
"""Query the xcode sdk location to update cflags
3535
3636
Figure out if this interpreter target comes from rules_python, and patch the xcode sdk location if so.
37-
Pip won't be able to compile c extensions from sdists with the pre built python distributions from indygreg
38-
otherwise. See https://github.com/indygreg/python-build-standalone/issues/103
37+
Pip won't be able to compile c extensions from sdists with the pre built python distributions from astral-sh
38+
otherwise. See https://github.com/astral-sh/python-build-standalone/issues/103
3939
"""
4040

4141
# Only run on MacOS hosts
@@ -63,8 +63,8 @@ def _get_xcode_location_cflags(rctx):
6363
def _get_toolchain_unix_cflags(rctx, python_interpreter, logger = None):
6464
"""Gather cflags from a standalone toolchain for unix systems.
6565
66-
Pip won't be able to compile c extensions from sdists with the pre built python distributions from indygreg
67-
otherwise. See https://github.com/indygreg/python-build-standalone/issues/103
66+
Pip won't be able to compile c extensions from sdists with the pre built python distributions from astral-sh
67+
otherwise. See https://github.com/astral-sh/python-build-standalone/issues/103
6868
"""
6969

7070
# Only run on Unix systems

python/private/python_repository.bzl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ def _python_repository_impl(rctx):
161161
python_bin = "python.exe" if ("windows" in platform) else "bin/python3"
162162

163163
if "linux" in platform:
164-
# Workaround around https://github.com/indygreg/python-build-standalone/issues/231
164+
# Workaround around https://github.com/astral-sh/python-build-standalone/issues/231
165165
for url in urls:
166166
head_and_release, _, _ = url.rpartition("/")
167167
_, _, release = head_and_release.rpartition("/")
@@ -177,7 +177,7 @@ def _python_repository_impl(rctx):
177177
# building on.
178178
#
179179
# Link to the first affected release:
180-
# https://github.com/indygreg/python-build-standalone/releases/tag/20240224
180+
# https://github.com/astral-sh/python-build-standalone/releases/tag/20240224
181181
rctx.delete("share/terminfo")
182182
break
183183

python/versions.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ WINDOWS_NAME = "windows"
2222
FREETHREADED = "freethreaded"
2323
INSTALL_ONLY = "install_only"
2424

25-
DEFAULT_RELEASE_BASE_URL = "https://github.com/indygreg/python-build-standalone/releases/download"
25+
DEFAULT_RELEASE_BASE_URL = "https://github.com/astral-sh/python-build-standalone/releases/download"
2626

2727
# When updating the versions and releases, run the following command to get
2828
# the hashes:

0 commit comments

Comments
 (0)