Luo Jiebin
f6ec983282
Handled with multiple 'v' or 'q'
2017-04-05 15:56:27 +08:00
Luo Jiebin
a6f1b789e1
Allowed combinations of -q and -v to act sanely
2017-04-04 14:31:34 +08:00
Lucas Cimon
3b3dfac2c1
Avoid pip.main leaking loggers - fixes #3043
2017-04-02 12:23:55 +02:00
Maxim Kurnikov
8198e4fc76
fix -q (once) option logging level
2017-03-26 17:39:10 +02:00
Cooper Lees
0772ab3e24
- Change the pip outdated check to use PackageFinder to find current
...
PyPI versions
-- Replaces the always phone back to pypi.python.org JSON call
-- This allows us specify a local mirror to be use to query for updated
version and respects other set options
-- Update tests
-- Fix setup.py to include freezegun for tests
2017-03-23 10:50:02 -07:00
Donald Stufft
6b54145783
Deprecate support for Python 3.3
2017-03-22 19:22:56 -04:00
Donald Stufft
ffac1c2180
Removed the deprecated --default-vcs option
2017-03-20 10:49:57 -04:00
Donald Stufft
e341417e62
We no longer need to warn about 2.6
2017-03-18 14:52:13 -04:00
Donald Stufft
6bd1f432d6
Remove the logging.config.dictConfig backport
2017-03-18 14:52:13 -04:00
Nikhil Benesch
20326d8b24
Failing exit status when no requirements specified ( #4210 )
...
* add failing tests for #2720
* fix #2720 : exit status when no requirements specified
* Don't fail when blank requirements files specified
2017-01-06 23:21:46 +01:00
Patrick Lawson
bbe99ce62d
Add --implementation and --abi parameters to `pip download
`.
...
Add thorough tests, usage documentation, and handle some merge issues.
2016-07-21 13:01:52 -05:00
Mathew Jennings
9a4be9b281
Add --platform and --python-version to pip download
.
...
With the --platform option, a user can download wheels with
a different platform than that of the local machine running the command.
With the --python-version option, a user can
download wheels that are explicitly compatible with a specific
Python interpreter version.
This functionality is meant for utilities that gather dependencies
and prepare distributions for other platforms.
2016-07-21 13:01:52 -05:00
Xavier Fernandez
1e8b6c2fe7
Improve tests
...
Demote "Ignoring indexes" log to DEBUG to enable stdout JSON parsing
2016-05-19 15:31:46 +02:00
Ian Wienand
ec08a590d8
Root logger should use debug level for "--log" ( #3586 )
...
We want the root logger to output debug level logs when we have
specified "--log". The log-file handler then sends this to our file,
and the other handlers (console) filter out at their appropriate
level.
This restores the intended behaviour of "--log" argument, which is
supposed to output verbose logs to a file always.
A test-case is added
Closes : #3351
2016-05-10 19:05:42 -04:00
Alex Gaynor
e799283156
fixed a few flake8 errors
2016-01-01 15:47:31 -05:00
Alex Gaynor
37abf47dce
move where the deprecation is so its in pretty colors
2016-01-01 14:33:36 -05:00
Erik Rose
f38fc903f2
Obey --require-hashes option in requirements files.
...
Removed the mention of "package index options" in the docs, because they don't all fit that category anymore. Not even --no-binary and --only-binary do; they're "install options".
2015-10-21 16:02:47 -04:00
Mathew Jennings
417f79d8b8
Add pip download
command and deprecate pip install --download
.
...
`pip download` has the same functionality as `pip install --download`,
and the behavior of `pip install --download` is preserved with a deprecation
warning. `pip install --download` will be removed in pip version 10.
2015-09-13 17:41:00 -04:00
Donald Stufft
6afc718307
Remove items slated for removal in pip 8.0
2015-09-03 10:55:11 -04:00
Xavier Fernandez
b0cc9da953
basecommand: use logging exc_info parameter
2015-07-16 21:21:41 +02:00
Xavier Fernandez
7cd1586d27
Check for new pip version after run call
...
If a pip install --update was performed, the version check should not
find anything. Closes #2829
2015-07-03 17:09:12 +02:00
Robert Collins
bb0b429a49
Issue #2731 : Constraints files.
...
This adds constraints files. Like requirements files constraints files
control what version of a package is installed, but unlike
requirements files this doesn't itself choose to install the package.
This allows things that aren't explicitly desired to be constrained if
and only if they are installed.
2015-06-03 06:38:33 +12:00
Donald Stufft
3569a9b060
Remove the implicit debug log
2015-05-21 18:01:40 -04:00
Marcus Smith
7725cdbe2c
- remove overlapping variables from populate_requirement_set
...
- warn about not specifying requirements, when they're not specified,
not when the RequirementSet happens to turn up empty
2015-04-28 16:00:38 -07:00
Donald Stufft
33764609eb
Merge pull request #2715 from citruspi/Error-Log-Level-Flag
...
Differentiate Between Quiet Flag Counts
2015-04-22 20:46:55 -04:00
Mihir Singh
04ac5270c3
Mapped three or more quiet flags to the critical log level
2015-04-22 18:38:45 -05:00
Mihir Singh
4b6bdf0210
Set the log level to ERROR when two or more quiet flags are passed
...
Fixes pypa/pip#2670
2015-04-22 17:56:34 -05:00
Robert Collins
ec46a3bac4
Replace wheel cache cache_dir with an object.
...
Wheel cache lookups become more complex when we wish to allow binary
blacklisting. Rather than passing more parameters around, replace
cache_root with wheel_cache, and create a wheel cache in all the
relevant command entry points.
2015-04-23 10:03:50 +12:00
Robert Collins
4926409340
Issue #2563 : Read cached wheels from ~/.cache/pip
...
This won't put wheels into that directory, but will read them if they
are there. --no-cache-dir will disable reading such wheels.
2015-04-13 18:33:07 +12:00
Donald Stufft
f41fee6a21
Reduce duplicate code in wheel and install commands.
...
(cherry picked from commit 9ed1dd75fc1d2c7a747066a90cd897db441319e0)
2015-04-07 08:36:14 -04:00
Donald Stufft
a88bc0de73
Send log messages >= logging.WARNING to stderr
2015-04-06 23:11:16 -04:00
Donald Stufft
61123b770e
Be explicit that -H is for sudo
2015-02-24 07:59:48 -05:00
Donald Stufft
0bc8aa5622
Style fixes for the latest flake8
2015-02-24 07:46:10 -05:00
Donald Stufft
adb7a3c83f
Remove some other places we called os.geteuid()
2015-01-03 03:35:38 -05:00
Donald Stufft
4f40530493
Warn if the cache/log directory is not owned by the current user
2014-12-30 19:49:08 -05:00
Donald Stufft
4a6b32e558
Imply --disable-pip-version-check when --no-index is used
2014-12-23 19:16:08 -05:00
Donald Stufft
751cc45601
Use a smaller timeout by default on the pip version check
2014-12-23 19:10:53 -05:00
Donald Stufft
0adf6fabef
Don't retry when attempting to check the pip version
2014-12-23 19:08:09 -05:00
Donald Stufft
a285747d3a
Revert "Add option --no-check-certificate to skip ssl cert verification"
...
This reverts commit 9a9d7acefe
.
Conflicts:
pip/cmdoptions.py
2014-12-20 17:29:19 -05:00
Donald Stufft
d851bcf7d6
Use the --trusted-host argument to disable TLS verification as well
2014-12-20 17:27:11 -05:00
Donald Stufft
90b1179b76
Enable --isolated flag which will turn on an isolated mode for pip
2014-11-23 21:26:40 -05:00
Donald Stufft
c3df28c774
Fix for Python 3.x, Refactor, and small changes
2014-09-18 07:44:02 -04:00
Richard Jones
500a987ee4
Implement a pip self-check with to determine when it's out of date.
...
Initial work cribbed from PR 1214.
2014-09-18 17:31:57 +10:00
Donald Stufft
0e96b1af4b
Switch versioning from X.Y.Z to X.Y dropping the leading 1
2014-09-17 22:05:31 -04:00
Donald Stufft
9b174aee79
Switch to using six.StringIO instead of pip.compat.StringIO
2014-09-11 15:25:23 -04:00
Donald Stufft
8e0ec8d293
Move appdirs from pip.appdirs to pip.utils.appdirs
2014-09-10 10:40:22 -04:00
Donald Stufft
767d11e49c
Switch to using the stdlib logger instead of pip.log
2014-09-10 09:36:09 -04:00
Donald Stufft
800af158cd
Merge pull request #2012 from remram44/unicode-log_v3
...
Fix attempt for unicode bug #1137 (v3)
2014-09-10 07:31:59 -04:00
Remi Rampin
9626970115
Fix for unicode in the log
2014-09-01 21:47:05 -04:00
Donald Stufft
9a23d4ed11
Fix --no-cache-dir
2014-08-31 16:01:01 -04:00