Skip to content

no such option: --root-user-action #853

@HKongCC

Description

@HKongCC

Description:
Unable to setup-python@v4. Fails on downloading pip packages, was working yesterday, but the same workflow fails today.

Update: Also appears that yesterday it successfully upgraded pip to 24.0 so it had the --root-user-action argument available, but today the upgrade isn't happening and stays on 22.0.4 properly so the --root-user-action argument is throwing an error.

Action version:
setup-python@v4

Platform:

  • Ubuntu
  • macOS
  • Windows

Runner type:

  • Hosted
  • Self-hosted

Tools version:
Python 3.9.13

Repro steps:
Use actions/setup-python@v4, with python version 3.9.13, and x64 architecture

Expected behavior:
Setup python successfully

Actual behavior:
Fails on pip install with the following message
no such option: --root-user-action

Metadata

Metadata

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