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

[FIX] runbot: remove useless pip warning #738

Open
wants to merge 1 commit into
base: 16.0
Choose a base branch
from

Commits on Mar 9, 2023

  1. [FIX] runbot: append user bin dir to pre commands

    When pip installs a package that contains a script, it goes in
    `~/.local/bin` directory of the current user. This leads to a log warning
    to warn the user that the script won't be accessible by other users.
    
    e.g.:
    `WARNING: The script pygmentize is installed in '/home/odoo/.local/bin'
    which is not on PATH.`
    
    This is particularly annoying for documentation builds because it may
    confuse the users.
    
    Also, it means that when a locally installed pip package overrides a
    python package installed system wide (e.g.: by apt-get), it's still
    globally script that runs when called.
    
    With this commit, the user PATH is updated to include this local bin
    directory when building Docker images.
    d-fence committed Mar 9, 2023
    Configuration menu
    Copy the full SHA
    8b3b53b View commit details
    Browse the repository at this point in the history