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

Quiet mode not passed to SCM tools #8460

Closed
michael-o opened this issue Jun 17, 2020 · 2 comments
Closed

Quiet mode not passed to SCM tools #8460

michael-o opened this issue Jun 17, 2020 · 2 comments

Comments

@michael-o
Copy link

michael-o commented Jun 17, 2020

Environment

  • pip version: from Debian Buster
  • Python version: 3.7 from Debian Buster
  • OS: Debian Buster

Consider the following:

sudo pip3 install -qqq -i $PIP_INDEX git+https://github.com/heni/python-coloredlogs.git@fix/isatty-force-attribute
Switched to a new branch 'fix/isatty-force-attribute'
Branch 'fix/isatty-force-attribute' set up to track remote branch 'fix/isatty-force-attribute' from 'origin'.

Altough I have passed -qqq I still see output from the embedded Git command. I would expect that -q is passed to Git also.

@triage-new-issues triage-new-issues bot added the S: needs triage Issues/PRs that need to be triaged label Jun 17, 2020
@deveshks
Copy link
Contributor

I couldn't reproduce it with latest pip from master on my MacOS, just with -q and index as https://pypi.org/simple.


$ pip --version
pip 20.2.dev1 from /Users/devesh/pip/src/pip (python 3.8)

$ python --version
Python 3.8.2

$ pip install -i https://pypi.org/simple -q  git+https://github.com/heni/python-coloredlogs.git@fix/isatty-force-attribute
$ 

Could you update the ticket with the pip version via pip3 --version as well.

@michael-o
Copy link
Author

Indeed, upgrade pip inline in the GitLab Runner:

29 pip 18.1 from /usr/lib/python3/dist-packages/pip (python 3.7)
30 Python 3.7.3
31 pip 20.1.1 from /usr/local/lib/python3.7/dist-packages/pip (python 3.7)
32 WARNING: pip is being invoked by an old script wrapper. This will fail in a future version of pip.
33 Please see https://github.com/pypa/pip/issues/5599 for advice on fixing the underlying issue.
34 To avoid this problem you can invoke Python with '-m pip' instead of running pip directly.

with:

      pip3 --version
      python3 --version
      sudo python3 -m pip install -qqq -i $PIP_INDEX --upgrade pip
      pip3 --version
      sudo pip3 install -qqq -i $PIP_INDEX requests gssapi requests_gssapi tabulate
      sudo pip3 install -qqq -i $PIP_INDEX git+https://github.com/heni/python-coloredlogs.git@fix/isatty-force-attribute

I think this can be closed.

@pradyunsg pradyunsg removed the S: needs triage Issues/PRs that need to be triaged label Feb 12, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 2, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants