Commit Graph

21 Commits

Author SHA1 Message Date
Maxim Kurnikov 3692097cca add per-file disallow_untyped_defs=False, and set it to True globally 2019-09-29 23:31:15 +02:00
Chris Jerdonek 252986e5c1 Remove strict_optional=False for utils/logging.py. 2019-07-14 23:07:48 -07:00
Christopher Hunt 26cdedd618 Add milliseconds to --log entry timestamps. (#6621)
Resolves #6587.
2019-06-17 14:50:41 -07:00
Chris Jerdonek e0505bb152 Prevent subprocess stdout and stderr from cluttering pip's stdout. 2019-03-25 00:21:20 -07:00
Chris Jerdonek 8d78ff0fce Prefix warning and error log messages. 2019-02-27 03:22:26 -08:00
Chris Jerdonek 9d00420c16 Use the requested log level when handling broken stdout pipe. 2019-01-21 12:45:59 -08:00
Chris Jerdonek eef02fd666 Unskip / get the end-to-end tests working for Windows. 2019-01-20 15:49:49 -08:00
Chris Jerdonek 7a9e1f344b Handle BrokenPipeError gracefully. 2019-01-20 15:49:49 -08:00
Chris Jerdonek e6d0127985 Add failing tests. 2019-01-20 15:49:49 -08:00
Ami Fischman 2a90808387 Prefix user_log (--log) entries with timestamp (#6142)
Why? Eases post-facto analysis of time spent in different phases of pip operation.

Historical note:
767d11e49c (diff-b670e3b192038c9ffe810c1a12c0c51fL219)
made it so that pip invocations emit zero timestamp information to the log
file. Prior to that each pip invocation's start time was written out (search
that commit's diff for [strftime]).

Result: https://gist.github.com/fischman/f570886219de5c64a3b695300195c70a

Resolves https://github.com/pypa/pip/issues/6141
2019-01-20 03:02:22 -08:00
Pradyun Gedam 4fc697847a
Update imports for the moved compat module 2018-07-29 18:32:20 +05:30
Pradyun Gedam 901578419d
Fix a merging artifact that broke the linter 2018-07-17 12:46:37 +05:30
Pradyun Gedam e8caa31736
Disable logging only for vendored dependencies
The current list is already not up-to-date. This should be handled by
downstream packagers if they unvendor pip's dependencies.
2018-06-27 12:09:46 +05:30
Pradyun Gedam f19d1fc345
Cleanup logic surrounding user_log handler 2018-06-26 16:07:58 +05:30
Pradyun Gedam ba5315956e
Make it clearer when user_log is used 2018-06-26 15:31:20 +05:30
Pradyun Gedam 621ff77c94
Improve readability of logging setup 2018-06-26 15:29:11 +05:30
Pradyun Gedam e7b7239be3
Move all logging setup into a separate function 2018-06-26 15:15:40 +05:30
Jakub Wilk 9d7095c72e Fix typo (#5320) 2018-04-22 14:12:42 +05:30
Pradyun Gedam 5a8b11cbe4
Improve --no-color and test for it (#4866)
* Improve the --no-color test
* Let the logger decide to not color things
* misc: Move handler name outside dict
2017-11-20 17:18:13 +05:30
Pradyun S. Gedam 11451c54ec Merge branch 'master' into mypy/infrastructure 2017-09-02 16:06:48 +05:30
Donald Stufft 95bcf8c5f6 Move all internal APIs to pip._internal 2017-08-31 14:53:00 -04:00
Renamed from pip/utils/logging.py (Browse further)