Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add /home/runner/.local/bin to PATH on Linux #2455

Closed
2 of 7 tasks
abitrolly opened this issue Jan 15, 2021 · 2 comments
Closed
2 of 7 tasks

Add /home/runner/.local/bin to PATH on Linux #2455

abitrolly opened this issue Jan 15, 2021 · 2 comments
Assignees
Labels
awaiting-deployment Code complete; awaiting deployment and/or deployment in progress feature request OS: Ubuntu

Comments

@abitrolly
Copy link

/home/runner/.local/bin is not in PATH on Linux, which makes Python CLI tools installed with pip install <command> unavailable. Adding this dir to PATH will make pip in build environment behave similar to how things work in virtualenv where installed commands are immediately available.

See also actions/setup-python#99

  • Add
  • If this is an add request:
    • Provide a basic test case to validate the tool's functionality:
pip install coverage
coverage
echo $?

Area for Triage:
Python Scripting and command line Feature

Question, Bug, or Feature?:

Virtual environments affected

  • Ubuntu 16.04
  • Ubuntu 18.04
  • Ubuntu 20.04
  • macOS 10.15
  • macOS 11.0
  • Windows Server 2016 R2
  • Windows Server 2019

Are you willing to submit a PR?
Yes, if you show me where.

@al-cheb al-cheb added investigate Collect additional information, like space on disk, other tool incompatibilities etc. OS: Ubuntu and removed needs triage labels Jan 18, 2021
@Darleev Darleev self-assigned this Jan 18, 2021
@Darleev
Copy link
Contributor

Darleev commented Jan 26, 2021

Hello @abitrolly,
We've added the required changes to our templates. PATH will be updated after the next image rollout.
I will keep you informed.

@miketimofeev miketimofeev added awaiting-deployment Code complete; awaiting deployment and/or deployment in progress and removed investigate Collect additional information, like space on disk, other tool incompatibilities etc. labels Jan 26, 2021
@Darleev
Copy link
Contributor

Darleev commented Feb 28, 2021

Hello @abitrolly,
We've added the required changes to the code, but they don't work at this time, due to some unexpected behavior for agent machines. We will investigate the issue with this path internally. As soon as a fix is applied, the path will be added to the agents.
Currently, it is possible to set environment variables using this approachs:
Github Actions
Azure DevOps

In case of any questions, feel free to contact us.

@Darleev Darleev closed this as completed Feb 28, 2021
adrienverge added a commit to adrienverge/yamllint that referenced this issue Mar 24, 2021
adrienverge added a commit to adrienverge/yamllint that referenced this issue Mar 24, 2021
adrienverge added a commit to adrienverge/yamllint that referenced this issue Mar 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting-deployment Code complete; awaiting deployment and/or deployment in progress feature request OS: Ubuntu
Projects
None yet
Development

No branches or pull requests

4 participants