Skip to content

Pass --only-binary :all: when upgrading pip - #406

Open
mara004 wants to merge 2 commits into
actions:mainfrom
mara004:patch-1
Open

Pass --only-binary :all: when upgrading pip#406
mara004 wants to merge 2 commits into
actions:mainfrom
mara004:patch-1

Conversation

@mara004

@mara004 mara004 commented Aug 8, 2026

Copy link
Copy Markdown

This would alleviate some of our concerns from actions/setup-python#1346 in a very straightforward way, by preventing possible setup-time code execution, so that a caller's supply chain would be unaffected by setup-python's auto-updated pip unless it is actually invoked.

AFAIK, it can be taken for granted that every valid pip release includes a wheel package. If a pip release included only an sdist, that might be either accidental or malicious, and deserve investigation before being automatically installed to millions of callers.

Disclaimer: I'm not aware of a good way to actually test the integration, esp. windows

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants