Skip to content

Commit 4615f2f

Browse files
authored
Adjust python-build-standalone links (#509)
## Summary When running locally, I noticed constant redirects in my traffic from `indygreg/python-build-standalone` to `astral-sh/python-build-standalone`. This PR corrects some of the links to avoid the redirects by using the new canonical location. ## Test Plan Manually verified all adjusted links work as expected.
1 parent 12d9c06 commit 4615f2f

File tree

11 files changed

+17
-17
lines changed

11 files changed

+17
-17
lines changed

.github/workflows/linux.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ jobs:
107107
cache-from: |
108108
type=registry,ref=ghcr.io/${{ env.REPO_NAME }}:${{ matrix.image }}-${{ env.GIT_REF_NAME }}
109109
type=registry,ref=ghcr.io/${{ env.REPO_NAME }}:${{ matrix.image }}-main
110-
type=registry,ref=ghcr.io/indygreg/python-build-standalone:${{ matrix.image }}-main
110+
type=registry,ref=ghcr.io/astral-sh/python-build-standalone:${{ matrix.image }}-main
111111
cache-to: |
112112
type=registry,ref=ghcr.io/${{ env.REPO_NAME }}:${{ matrix.image }}-${{ env.GIT_REF_NAME }},ignore-error=true
113113
outputs: |

Justfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ release-set-latest-release tag:
5151
{
5252
"version": 1,
5353
"tag": "{{tag}}",
54-
"release_url": "https://github.com/indygreg/python-build-standalone/releases/tag/{{tag}}",
55-
"asset_url_prefix": "https://github.com/indygreg/python-build-standalone/releases/download/{{tag}}"
54+
"release_url": "https://github.com/astral-sh/python-build-standalone/releases/tag/{{tag}}",
55+
"asset_url_prefix": "https://github.com/astral-sh/python-build-standalone/releases/download/{{tag}}"
5656
}
5757
EOF
5858

cpython-unix/build.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -548,7 +548,7 @@ def python_build_info(
548548
mips = target_triple.split("-")[0] in {"mips", "mipsel"}
549549
linux_allowed_system_libraries = LINUX_ALLOW_SYSTEM_LIBRARIES.copy()
550550
if mips and version == "3.13":
551-
# See https://github.com/indygreg/python-build-standalone/issues/410
551+
# See https://github.com/astral-sh/python-build-standalone/issues/410
552552
linux_allowed_system_libraries.add("atomic")
553553
riscv = target_triple.split("-")[0] in {"riscv64"}
554554
if riscv:

cpython-unix/extension-modules.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -833,7 +833,7 @@ nis:
833833
# has a wonky history where it was once part of glibc and core system installs
834834
# but is slowly being phased away from base installations. There are potential
835835
# workarounds to adding nis support. See discussion in
836-
# https://github.com/indygreg/python-build-standalone/issues/51.
836+
# https://github.com/astral-sh/python-build-standalone/issues/51.
837837
- .*
838838

839839
sources:

docs/quirks.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ distributions aren't compatible with
197197
stipulates that Python and extension modules are linked against a
198198
dynamic musl. This is what you'll find in Alpine Linux, for example.
199199

200-
See https://github.com/indygreg/python-build-standalone/issues/86 for
200+
See https://github.com/astral-sh/python-build-standalone/issues/86 for
201201
a tracking issue to improve the state of musl distributions.
202202

203203
.. _quirk_linux_libx11:
@@ -249,7 +249,7 @@ The static linking of ``libX11`` and other libraries can cause problems when
249249
loaded into the process. For example, extension modules associated with ``PyQt``
250250
are known to link against a shared ``libX11.so.6``. If multiple versions of
251251
``libX11`` are loaded into the same process, run-time crashes / segfaults can
252-
occur. See e.g. https://github.com/indygreg/python-build-standalone/issues/95.
252+
occur. See e.g. https://github.com/astral-sh/python-build-standalone/issues/95.
253253

254254
The conceptual workaround is to not statically link ``libX11`` and similar
255255
libraries into ``libpython``. However, this requires re-linking a custom
@@ -289,8 +289,8 @@ on ``libcrypt.so.1`` and don't want to upgrade, you can instruct end-users
289289
to install a ``libxcrypt-compat`` (or comparable) package to provide the
290290
missing ``libcrypt.so.1``.
291291

292-
See https://github.com/indygreg/python-build-standalone/issues/113 and
293-
https://github.com/indygreg/python-build-standalone/issues/173 for additional
292+
See https://github.com/astral-sh/python-build-standalone/issues/113 and
293+
https://github.com/astral-sh/python-build-standalone/issues/173 for additional
294294
context on this matter.
295295

296296
.. _quirk_references_to_build_paths:

docs/running.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@ Obtaining Distributions
88
=======================
99

1010
Pre-built distributions are published as releases on GitHub at
11-
https://github.com/indygreg/python-build-standalone/releases.
11+
https://github.com/astral-sh/python-build-standalone/releases.
1212
Simply go to that page and find the latest release along with
1313
its release notes.
1414

1515
Machines can find the latest release by querying the GitHub releases
1616
API. Alternatively, a JSON file publishing metadata about the latest
1717
release can be fetched from
18-
https://raw.githubusercontent.com/indygreg/python-build-standalone/latest-release/latest-release.json.
18+
https://raw.githubusercontent.com/astral-sh/python-build-standalone/latest-release/latest-release.json.
1919
The JSON format is simple and hopefully self-descriptive.
2020

2121
Published distributions vary by their:

docs/technotes.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ versions of Fedora and RHEL.
120120
Because the ``nis`` extension is perceived to be likely unused functionality,
121121
we've decided to not build it instead of adding complexity to deal with
122122
the ``libnsl`` dependency. See further discussion in
123-
https://github.com/indygreg/python-build-standalone/issues/51.
123+
https://github.com/astral-sh/python-build-standalone/issues/51.
124124

125125
If ``nis`` functionality is important to you, please file a GitHub issue
126126
to request it.

pythonbuild/downloads.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,7 @@
416416
# IMPORTANT: xz 5.6 has a backdoor. Be extremely cautious before taking any xz
417417
# upgrade since it isn't clear which versions are safe.
418418
"xz": {
419-
"url": "https://github.com/indygreg/python-build-standalone/releases/download/20240224/xz-5.2.12.tar.gz",
419+
"url": "https://github.com/astral-sh/python-build-standalone/releases/download/20240224/xz-5.2.12.tar.gz",
420420
"size": 2190541,
421421
"sha256": "61bda930767dcb170a5328a895ec74cab0f5aac4558cdda561c83559db582a13",
422422
"version": "5.2.12",

pythonbuild/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -617,7 +617,7 @@ def validate_python_json(info, extension_modules):
617617

618618
def release_download_statistics(mode="by_asset"):
619619
with urllib.request.urlopen(
620-
"https://api.github.com/repos/indygreg/python-build-standalone/releases"
620+
"https://api.github.com/repos/astral-sh/python-build-standalone/releases"
621621
) as fh:
622622
data = json.load(fh)
623623

src/main.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ fn main_impl() -> Result<()> {
6161
Arg::new("organization")
6262
.long("org")
6363
.action(ArgAction::Set)
64-
.default_value("indygreg")
64+
.default_value("astral-sh")
6565
.help("GitHub organization"),
6666
)
6767
.arg(
@@ -145,7 +145,7 @@ fn main_impl() -> Result<()> {
145145
Arg::new("organization")
146146
.long("org")
147147
.action(ArgAction::Set)
148-
.default_value("indygreg")
148+
.default_value("astral-sh")
149149
.help("GitHub organization"),
150150
)
151151
.arg(

src/validation.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ const RECOGNIZED_TRIPLES: &[&str] = &[
4040
"i686-pc-windows-msvc",
4141
"i686-unknown-linux-gnu",
4242
// Note there's build support for mips* targets but they are not tested
43-
// See https://github.com/indygreg/python-build-standalone/issues/412
43+
// See https://github.com/astral-sh/python-build-standalone/issues/412
4444
"mips-unknown-linux-gnu",
4545
"mipsel-unknown-linux-gnu",
4646
"mips64el-unknown-linux-gnuabi64",

0 commit comments

Comments
 (0)