-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
pip install -r requirements.txt doesn't know when package installation fails during native compilation #2
Labels
auto-locked
Outdated issues that have been locked by automation
type: bug
A confirmed bug or unintended behavior
Comments
hi, any way to reproduce this ? |
Closing until we get adequate repro instructions. |
Closed
msabramo
added a commit
to msabramo/pip
that referenced
this issue
Mar 6, 2015
This fixes 2 aspects of `pip install output`: 1. When `pip install` succeeds, it's still printing a lot of output from the package's setup.py. The average consumer of Python packages, when they do `pip install lxml`, probably doesn't care to see a bunch of output about: - copying files to a `build` directory - installing and running Cython - compiling C code This is noise to most when the `pip install` succeeds. It's useful to see all the output when the install fails, which is the subject of pypa#2 below. On success, the output is now very clean with 5 short lines: $ pip install lxml Collecting lxml Using cached lxml-3.4.2.tar.gz Installing collected packages: lxml Running setup.py install for lxml Successfully installed lxml-3.4.2 2. When there's an error from `pip install`, it's annoying to have to scroll through 2 different copies of the failure output (especially when one is filtered and one is unfiltered so one might have stuff that the other doesn't). This makes it not print the filtered version so that there is just the unfiltered version and nothing is repeated. $ pip install ~/dev/git-repos/lxml Processing /Users/marca/dev/git-repos/lxml Installing collected packages: lxml Running setup.py install for lxml Complete output from command ... cc -c /var/folders/gw/w0clrs515zx9x_55zgtpv4mm0000gp/T/xmlCheckVersion4tBaVV.c -o var/folders/gw/w0clrs515zx9x_55zgtpv4mm0000gp/T/xmlCheckVersion4tBaVV.o /var/folders/gw/w0clrs515zx9x_55zgtpv4mm0000gp/T/xmlCheckVersion4tBaVV.c:1:10: fatal error: 'libxml/xmlversion.h' file not found #include "libxml/xmlversion.h" ^ 1 error generated. ---------------------------------------- Command "/Users/marca/python/virtualenvs/pip/bin/python -c ... None of the lines above are repeated.
qwcode
added a commit
that referenced
this issue
Apr 23, 2015
two major changes: 1) re-use the optparse options in pip.cmdoptions instead of maintaining a custom parser 2) as a result of #1, simplify the call stack from: parse_requirements -> parse_content -> parse_line to: parse_requirements -> process_line beyond #1/#2, minor cosmetics and adjusting the tests to match
trishankatdatadog
pushed a commit
to DataDog/pip
that referenced
this issue
Feb 25, 2019
[pip] fix paths + logging defaults
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
auto-locked
Outdated issues that have been locked by automation
type: bug
A confirmed bug or unintended behavior
pip install -r requirements.txt failed on a few packages on the first run (because I didn't have some required headers for some native compilation requirements).
After installing the proper headers, I'd like to rerun "pip install -r requirements.txt" and any packages who's installation wasn't complete would retry.
Instead I had to manually specify
pip install "PackageName"
The text was updated successfully, but these errors were encountered: