From 5e3a8d37910b8437948ba852674be9a63187f7f9 Mon Sep 17 00:00:00 2001 From: mara004 Date: Sat, 8 Aug 2026 22:40:19 +0200 Subject: [PATCH 1/2] nix-setup-template.sh: add `--only-binary :all:` --- installers/nix-setup-template.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installers/nix-setup-template.sh b/installers/nix-setup-template.sh index 16389f60..9f227757 100644 --- a/installers/nix-setup-template.sh +++ b/installers/nix-setup-template.sh @@ -54,7 +54,7 @@ export PIP_ROOT_USER_ACTION=ignore if ! ./python -c "import pip" 2>/dev/null; then ./python -m ensurepip fi -./python -m pip install --upgrade --force-reinstall pip --disable-pip-version-check --no-warn-script-location +./python -m pip install --only-binary ':all:' --upgrade --force-reinstall pip --disable-pip-version-check --no-warn-script-location echo "Create complete file" touch $PYTHON_TOOLCACHE_VERSION_PATH/$ARCH.complete From 065418a592f35e0d43cd99b8902bbcc3e01a66a1 Mon Sep 17 00:00:00 2001 From: mara004 Date: Sat, 8 Aug 2026 22:44:11 +0200 Subject: [PATCH 2/2] win-setup-template.ps1: add `--only-binary :all:` --- installers/win-setup-template.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installers/win-setup-template.ps1 b/installers/win-setup-template.ps1 index ad93a2dd..28f7b93f 100644 --- a/installers/win-setup-template.ps1 +++ b/installers/win-setup-template.ps1 @@ -150,7 +150,7 @@ if ($LASTEXITCODE -ne 0) { Throw "Error happened during ensurepip execution" } } -cmd.exe /c "$PythonExePath -m pip install --upgrade --force-reinstall pip --no-warn-script-location" +cmd.exe /c "$PythonExePath -m pip install --only-binary :all: --upgrade --force-reinstall pip --no-warn-script-location" if ($LASTEXITCODE -ne 0) { Throw "Error happened during pip installation / upgrade" }