Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions python/private/pypi/whl_library.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ def _get_xcode_location_cflags(rctx):
"""Query the xcode sdk location to update cflags

Figure out if this interpreter target comes from rules_python, and patch the xcode sdk location if so.
Pip won't be able to compile c extensions from sdists with the pre built python distributions from indygreg
otherwise. See https://github.com/indygreg/python-build-standalone/issues/103
Pip won't be able to compile c extensions from sdists with the pre built python distributions from astral-sh
otherwise. See https://github.com/astral-sh/python-build-standalone/issues/103
"""

# Only run on MacOS hosts
Expand Down Expand Up @@ -63,8 +63,8 @@ def _get_xcode_location_cflags(rctx):
def _get_toolchain_unix_cflags(rctx, python_interpreter, logger = None):
"""Gather cflags from a standalone toolchain for unix systems.

Pip won't be able to compile c extensions from sdists with the pre built python distributions from indygreg
otherwise. See https://github.com/indygreg/python-build-standalone/issues/103
Pip won't be able to compile c extensions from sdists with the pre built python distributions from astral-sh
otherwise. See https://github.com/astral-sh/python-build-standalone/issues/103
"""

# Only run on Unix systems
Expand Down
4 changes: 2 additions & 2 deletions python/private/python_repository.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ def _python_repository_impl(rctx):
python_bin = "python.exe" if ("windows" in platform) else "bin/python3"

if "linux" in platform:
# Workaround around https://github.com/indygreg/python-build-standalone/issues/231
# Workaround around https://github.com/astral-sh/python-build-standalone/issues/231
for url in urls:
head_and_release, _, _ = url.rpartition("/")
_, _, release = head_and_release.rpartition("/")
Expand All @@ -177,7 +177,7 @@ def _python_repository_impl(rctx):
# building on.
#
# Link to the first affected release:
# https://github.com/indygreg/python-build-standalone/releases/tag/20240224
# https://github.com/astral-sh/python-build-standalone/releases/tag/20240224
rctx.delete("share/terminfo")
break

Expand Down
2 changes: 1 addition & 1 deletion python/versions.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ WINDOWS_NAME = "windows"
FREETHREADED = "freethreaded"
INSTALL_ONLY = "install_only"

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

# When updating the versions and releases, run the following command to get
# the hashes:
Expand Down