-
Notifications
You must be signed in to change notification settings - Fork 476
Description
Describe the bug
It seems to me more GitHub runner are onboarding pipx==1.5.0
causing our action to now fail with the error:
pipx >(subprocess_post_check_handle_pip_error:331): '/opt/pipx/venvs/poetry/bin/python -m pip --no-input install --constraint=.github/workflows/constraints.txt poetry' failed
pipx >(subprocess_post_check_handle_pip_error:346): Fatal error from pip prevented installation. Full pip output in file:
/opt/pipx/logs/cmd_2024-04-08_15.22.19_pip_errors.log
Some possibly relevant errors from pip install:
ERROR: Could not open requirements file: [Errno 2] No such file or directory: '.github/workflows/constraints.txt'
while this is not a problem with earlier pipx 1.4.3
How to reproduce
Screenshot: in this run (8602647917), the left GitHub Action runner came with pipx 1.4.3, right GitHub Action runner came with 1.5.0
Analogously, see this PR job: https://github.com/kubeflow/model-registry/actions/runs/8602865736/job/23573396714
failed, while other runner in the same matrix just passed the step successfully.
When forcing pipx==1.4.3 with: kubeflow/model-registry@8971944
Then the error is resolved: https://github.com/kubeflow/model-registry/actions/runs/8602962417/job/23573717964?pr=55
Expected behavior
Expected no change in behaviour.
Kindly advise?
Thanks in advance!