Skip to content

Remove the pip-install input#1327

Open
gowridurgad wants to merge 1 commit into
actions:mainfrom
gowridurgad:removes-pipinstall
Open

Remove the pip-install input#1327
gowridurgad wants to merge 1 commit 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.

@gowridurgad gowridurgad requested a review from a team as a code owner June 23, 2026 08:58
Copilot AI review requested due to automatic review settings June 23, 2026 08:58

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 PR removes the recently added pip-install input from actions/setup-python, including its runtime implementation, documentation references, and related e2e workflow coverage.

Changes:

  • Removes pip-install handling from the action’s TypeScript source and action.yml input schema.
  • Deletes documentation sections/links describing pip-install.
  • Drops e2e workflow jobs that exercised pip-install, and updates the compiled dist/ bundles accordingly.

Reviewed changes

Copilot reviewed 6 out of 8 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
src/setup-python.ts Removes the pip-install execution path and the associated @actions/exec usage.
action.yml Deletes the pip-install input from the action interface.
README.md Removes the pip-install link from the README table of contents.
docs/advanced-usage.md Removes the pip-install documentation section and TOC entry.
dist/setup/index.js Updates the generated bundle to remove pip-install logic (and includes additional large bundle churn).
dist/cache-save/index.js Updates the generated post bundle (also includes additional large bundle churn).
.github/workflows/e2e-cache.yml Removes pip-install-specific e2e cache jobs.
.github/workflows/e2e-cache-freethreaded.yml Removes pip-install-specific e2e cache jobs for freethreaded builds.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread action.yml
Comment on lines 31 to 33
default: false
pip-version:
description: "Used to specify the version of pip to install with the Python. Supported format: major[.minor][.patch]."
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.

2 participants