Skip to content

Remove the pip-install input#1336

Merged
HarithaVattikuti merged 3 commits into
actions:mainfrom
gowridurgad:removes-pipinstall
Jul 16, 2026
Merged

Remove the pip-install input#1336
HarithaVattikuti merged 3 commits into
actions:mainfrom
gowridurgad:removes-pipinstall

Conversation

@gowridurgad

Copy link
Copy Markdown
Contributor

Description:
This PR removes the pip-install input 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 like uv, and the inline dependencies aren't picked up by tools like Dependabot.

Related issue:
#1251

Check list:

  • Mark if documentation changes are required.
  • Mark if tests were added or updated to cover the changes.

Copilot AI review requested due to automatic review settings July 15, 2026 13:40
@gowridurgad gowridurgad requested a review from a team as a code owner July 15, 2026 13:40

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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-install implementation and its usage from the action runtime (src/setup-python.ts) and regenerated the bundled output (dist/setup/index.js).
  • Removed the pip-install input definition from action.yml.
  • Removed documentation references/section and deleted E2E workflow jobs that exercised the pip-install path.

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.

@gowridurgad gowridurgad self-assigned this Jul 15, 2026
priya-kinthali
priya-kinthali previously approved these changes Jul 15, 2026
mahabaleshwars
mahabaleshwars previously approved these changes Jul 15, 2026
@HarithaVattikuti HarithaVattikuti merged commit 0f3a009 into actions:main Jul 16, 2026
1015 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants