-
Notifications
You must be signed in to change notification settings - Fork 699
Open
Labels
Description
Description:
PIP_REQUIRE_VIRTUALENV - break setup-python action.
setup-python should consider using --isolated option:
https://pip.pypa.io/en/latest/cli/pip/#cmdoption-isolated
Action version:
setup-python@v5
Platform:
- Ubuntu
- macOS
- Windows
Runner type:
- Hosted
- Self-hosted
Tools version:
n/a
Repro steps:
0. Clear ghr _tool dir ( empty caches )
- Set
PIP_REQUIRE_VIRTUALENV=trueon self-hosted runner environment - Use the following workflow step:
- uses: actions/setup-python@v5 with: python-version: '3.11'
- Run the workflow
Expected behavior:
Installed pip packages into local site-packages
<ghr-dir>_work/_tool/Python/3.11.15/x64/lib/python3.11/site-packages
Actual behavior:
Error: ERROR: Could not find an activated virtualenv (required).
Error: The process '/usr/bin/bash' failed with exit code 3
Reactions are currently unavailable