From 1cfcf678a18100b22d91d29cc36c075546ba0dc7 Mon Sep 17 00:00:00 2001 From: stonebig Date: Mon, 29 Dec 2025 11:04:01 +0100 Subject: [PATCH 1/2] resolve pip.exe not being there by default https://github.com/winpython/winpython/issues/1925 --- winpython/portable/launchers_final/scripts/upgrade_pip.bat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/winpython/portable/launchers_final/scripts/upgrade_pip.bat b/winpython/portable/launchers_final/scripts/upgrade_pip.bat index 4443ed16..abd844af 100644 --- a/winpython/portable/launchers_final/scripts/upgrade_pip.bat +++ b/winpython/portable/launchers_final/scripts/upgrade_pip.bat @@ -2,6 +2,6 @@ call "%~dp0env.bat" echo this will upgrade pip with latest version, then patch it for WinPython portability ok ? pause -"%WINPYDIR%\python.exe" -m pip install --upgrade pip +"%WINPYDIR%\python.exe" -m pip install --upgrade --force-reinstall pip "%WINPYDIR%\python.exe" -c "from wppm import wppm;dist=wppm.Distribution(r'%WINPYDIR%');dist.patch_standard_packages('pip', to_movable=True) pause \ No newline at end of file From d819a5ceba2b99eb493d7b145ad86953c41be7a9 Mon Sep 17 00:00:00 2001 From: stonebig Date: Mon, 29 Dec 2025 11:06:49 +0100 Subject: [PATCH 2/2] fix github workflow to get pip.exe --- .github/workflows/github_workflows_build-2025_05.yml | 2 +- .github/workflows/github_workflows_build-2026_01.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/github_workflows_build-2025_05.yml b/.github/workflows/github_workflows_build-2025_05.yml index 9df4cce7..8cc8be63 100644 --- a/.github/workflows/github_workflows_build-2025_05.yml +++ b/.github/workflows/github_workflows_build-2025_05.yml @@ -244,7 +244,7 @@ jobs: if: env.WINPYREQUIREMENTS != '' shell: pwsh run: | - & "$env:build_location\python\python.exe" -m pip install --upgrade pip + & "$env:build_location\python\python.exe" -m pip install --upgrade --force-reinstall pip & "$env:build_location\python\python.exe" -m pip install --upgrade packaging==25.0 & "$env:build_location\python\python.exe" -c "from wppm import wppm;dist=wppm.Distribution();dist.patch_standard_packages('pip', to_movable=True)" diff --git a/.github/workflows/github_workflows_build-2026_01.yml b/.github/workflows/github_workflows_build-2026_01.yml index afb724e7..cbc2c084 100644 --- a/.github/workflows/github_workflows_build-2026_01.yml +++ b/.github/workflows/github_workflows_build-2026_01.yml @@ -180,7 +180,7 @@ jobs: if: env.WINPYREQUIREMENTS != '' shell: pwsh run: | - & "$env:build_location\python\python.exe" -m pip install --upgrade pip + & "$env:build_location\python\python.exe" -m pip install --upgrade --force-reinstall pip & "$env:build_location\python\python.exe" -m pip install --upgrade packaging==25.0 & "$env:build_location\python\python.exe" -c "from wppm import wppm;dist=wppm.Distribution();dist.patch_standard_packages('pip', to_movable=True)"