Skip to content

Upgrading pip by default #791

@adminy

Description

@adminy

Description:
Its upgrading pip and I did not ask it to do that.

Action version:
v5

Platform:

  • Ubuntu
  • macOS
  • Windows

Runner type:

  • Hosted
  • Self-hosted

Tools version:

3.9

Expected behavior:
Should not install pip.

Actual behavior:
Its installing pip by default

Run actions/setup-python@v5
  
Installed versions
  Version 3.9 was not found in the local cache
  Version 3.9 is available for downloading
  Download from "https://github.com/actions/python-versions/releases/download/3.9.[18](REDACTED#step:5:19)-5997508477/python-3.9.18-linux-[20](REDACTED#step:5:21).04-x64.tar.gz"
  Extract downloaded archive
  /usr/bin/tar xz --warning=no-unknown-keyword -C /runner/_work/_temp/8e[22](REDACTED#step:5:23)4dab-9ad4-44e5-a685-35a93189652e -f /runner/_work/_temp/ea87a57e-efed-4781-97be-b1f732890da7
  Execute installation script
  Check if Python hostedtoolcache folder exist...
  Creating Python hostedtoolcache folder...
  Create Python 3.9.18 folder
  Copy Python binaries to hostedtoolcache folder
  Create additional symlinks (Required for the UsePythonVersion Azure Pipelines task and the setup-python GitHub Action)
  Upgrading pip...
  Looking in links: /tmp/tmp3y6rkgbv
  Requirement already satisfied: setuptools in /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages (58.1.0)
  Requirement already satisfied: pip in /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages ([23](REDACTED#step:5:24).0.1)
  Collecting pip
  Downloading pip-23.3.2-py3-none-any.whl (2.1 MB)
  ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.1/2.1 MB 22.7 MB/s eta 0:00:00
  
  Installing collected packages: pip
  Successfully installed pip-23.3.2
  Create complete file
  Successfully set up CPython (3.9.18)

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions