- Notifications
You must be signed in to change notification settings - Fork689
Description
Description:
We are using setup-python@v5 on Linux and Mac and they have worked well for over a year. We just switched from Github-hosted runners tohttps://namespace.so runners, which use better caching via volume mounts, and this includes$RUNNER_TOOL_CACHE for the sake of caching for toolchain installs like Go or Python.
The initial switch worked; see this run on master:https://github.com/cue-lang/cue-py/actions/runs/19293544201/job/55169770719
However, the next nightly run with a warm cache failed:https://github.com/cue-lang/cue-py/actions/runs/19319240264/job/55257002619
I suspect this is related to#858 and#1050.
Action version:
Download action repository 'actions/setup-python@v5' (SHA:a26af69be951a213d495a4c3e4e4022e16d87065)
Platform:
- Ubuntu
- macOS
- Windows
Runner type:
- Hosted
- Self-hosted
(hosted byhttps://namespace.so, to be clear)
Tools version:
Current runner version: '2.329.0'Runner name: 'nsc-runner-74j65n0k2fbr2'Runner group name: 'Default'Machine name: '74j65n0k2fbr2'Namespace Runner Details ID: 74j65n0k2fbr2 Operating System: macOS Machine Type: 6x14 Architecture: arm64 Instance URL: https://cloud.namespace.so/ctmuf0dqsqg1i/instance/74j65n0k2fbr2Namespace Runner Profile Info Tag: namespace-profile-macos-arm64\nProfile URL: [https://cloud.namespace.so/ctmuf0dqsqg1i/actions/profile/namespace-profile-macos-arm64\nRemote](https://cloud.namespace.so/ctmuf0dqsqg1i/actions/profile/namespace-profile-macos-arm64/nRemote) Builder: Disabled.\nUser Bundled Cache: github-namespace-profile-macos-arm64-cue-lang-cue-py with 25GB.\nGit Mirror Cache: Enabled.\nRunner Tools Cache: Enabled.GITHUB_TOKEN Permissions Contents: read Metadata: read Packages: readSecret source: ActionsPrepare workflow directoryPrepare all required actionsGetting action download infoDownload action repository 'actions/checkout@v5' (SHA:08c6903cd8c0fde910a37f88322edcfb5dd907a8)Download action repository 'chetan/git-restore-mtime-action@cbf8161ddb4e9b162409104954fb540e8a38c1da' (SHA:cbf8161ddb4e9b162409104954fb540e8a38c1da)Download action repository 'cue-lang/setup-cue@v1.0.1' (SHA:a93fa358375740cd8b0078f76355512b9208acb1)Download action repository 'actions/setup-go@v6' (SHA:44694675825211faa026b3c33043df3e48a5fa00)Download action repository 'actions/setup-python@v5' (SHA:a26af69be951a213d495a4c3e4e4022e16d87065)Download action repository 'namespacelabs/nscloud-cache-action@v1' (SHA:446d8f390563cd54ca27e8de5bdb816f63c0b706)Download action repository 'actions/checkout@v4' (SHA:08eba0b27e820071cde6df949e0beb9ba4906955)Complete job name: test (stable, 3.12, ns-macos-arm64)[...]Run actions/setup-python@v5 with: python-version: 3.12 cache: pip check-latest: false token: *** update-environment: true allow-prereleases: false freethreaded: false env: GOTOOLCHAIN: localInstalled versions Successfully set up CPython (3.12.10)Repro steps:
See the description above. The code is all open source, and I'm happy to test possible fixes.
Expected behavior:
Success.
Actual behavior:
Error: Unable to locate executable file: pip. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also check the file mode to verify the file is executable.