Remove the pip-install input#1336
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This pull request removes the pip-install input from actions/setup-python, eliminating the built-in dependency installation behavior that installed into the runner’s global Python environment (and could conflict with venv/uv workflows and dependency audit tooling).
Changes:
- Removed the
pip-installimplementation and its usage from the action runtime (src/setup-python.ts) and regenerated the bundled output (dist/setup/index.js). - Removed the
pip-installinput definition fromaction.yml. - Removed documentation references/section and deleted E2E workflow jobs that exercised the
pip-installpath.
Reviewed changes
Copilot reviewed 6 out of 7 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| src/setup-python.ts | Removes pip-install input handling and the helper that executed pip install. |
| dist/setup/index.js | Updates the compiled distribution bundle to match the source removal. |
| action.yml | Drops the pip-install input definition so it’s no longer accepted. |
| README.md | Removes the docs link to the pip-install documentation section. |
| docs/advanced-usage.md | Removes the pip-install documentation section and TOC entry. |
| .github/workflows/e2e-cache.yml | Removes E2E jobs that relied on pip-install. |
| .github/workflows/e2e-cache-freethreaded.yml | Removes freethreaded E2E jobs that relied on pip-install. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
priya-kinthali
previously approved these changes
Jul 15, 2026
mahabaleshwars
previously approved these changes
Jul 15, 2026
added 2 commits
July 16, 2026 08:21
158c1e6
mahabaleshwars
approved these changes
Jul 16, 2026
priya-kinthali
approved these changes
Jul 16, 2026
HarithaVattikuti
approved these changes
Jul 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description:
This PR removes the
pip-installinput added in v6.1.0 (#1201). The input was meant to make installing dependencies easier, but in practice it installs packages into the global Python environment on the runner, which can cause unexpected behaviour with virtual environments and tools likeuv, and the inline dependencies aren't picked up by tools like Dependabot.Related issue:
#1251
Check list: