Donald Stufft
bb41490225
Removed the deprecated --allow-* commands from PEP 438
2017-03-19 20:51:54 -04:00
Atsushi Odagiri
ee345ef37b
add exclude-editable option to list command ( #4016 )
...
* added exclude-editable option to list command
* added include-editable option
* added functional test
* added changes
2017-01-31 13:06:47 +01:00
Donald Stufft
7f1c180e70
Correct the setting name in pip list format deprecation ( #4069 )
2016-11-03 18:36:56 -04:00
Donald Stufft
81a5bcf7cd
Misc updates ( #4056 )
...
* Update AUTHORS.txt
* Remove --columns which has been superseded by --format=columns
2016-11-02 14:08:37 -04:00
nvdv
88d2bd8165
Rename --no-deps-only to --not-required.
2016-10-05 15:03:03 +03:00
nvdv
bb896cb44c
Add functional test for 'list --no-deps-only' option.
2016-09-30 15:07:10 +03:00
nvdv
60429a6e79
Add --no-deps-only option to CHANGES.txt and fix lint warnings.
2016-09-28 11:18:37 +03:00
nvdv
e0b23e9ce3
Update 'pip list' docs and simplify get_no_deps_only method.
2016-09-24 10:45:13 +03:00
nvdv
087bdf0b92
Change option name.
2016-09-23 12:09:56 +03:00
nvdv
b56248cc08
Rename "list --leaves" to "list --nodeps" and change its implementation.
2016-09-22 16:43:38 +03:00
nvdv
e6f92da4a8
Add --leaves option to list command.
2016-09-22 12:02:05 +03: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
Xavier Fernandez
6a7f82bae3
Re-add a deprecation warning + some refactors
2016-05-19 15:31:46 +02:00
Xavier Fernandez
5bbc73d145
Add --format option to pip list
...
with legacy, columns, freeze and json formats
2016-05-19 15:31:46 +02:00
Douglas Thor
6dcd9dac2e
Added --columns, --no-columns option to pip list
. Fixes #3651 ( #3654 )
2016-05-12 13:13:48 -04:00
Xavier Fernandez
171a107c34
pip list: reenable prereleases filter
...
according to --pre option
broken in 7fcf75bb61
closes #3385
2016-01-20 15:12:00 +01:00
Xavier Fernandez
097e36ac27
simplify list --outdated command
2016-01-03 15:07:12 +01:00
Xavier Fernandez
3f21828f75
Unify output of pip list & fix test
2015-11-29 17:37:45 +01:00
Xavier Fernandez
795798f3f0
Allow combination of pip list options
...
--editable with --outdated/--updtodate
closes #933
2015-11-29 17:37:45 +01:00
Xavier Fernandez
c73b1f9fd5
rename to canonicalize_name
2015-09-08 00:18:54 +02:00
Xavier Fernandez
2ff59d1cc0
Add canonical utils function
2015-09-06 19:20:14 +02:00
Donald Stufft
0f5d4286a5
Deprecate and Noop the PEP 438 functionality due to PEP 470
2015-09-02 23:47:05 -04:00
Robert Collins
6aec23cafe
Issue #2675 : Granular control over wheels/sdists
...
With wheel autobuilding in place a release blocker is some granular
way to opt-out of wheels for known-bad packages. This patch introduces
two new options: --no-binary and --only-binary to control what
archives we are willing to use on both a global and per-package basis.
This also closes #2084
2015-04-24 08:52:48 +12: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
86b375c742
Create a Search object.
...
We currently recalculate safe_name on every archive we assess, and
with the upcoming per-package check for binary and source use we
either need to recalculate that too, or - as this patch does - hoist
this essentially static data out of the helper function innards into a
static data structure.
2015-04-22 07:42:41 +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
b7309c6bcc
Remove the items deprecated for removal in 7.0
2015-04-07 04:20:51 -04:00
Xavier Fernandez
3fcf5972bc
add is_wheel method to Link class
2015-03-05 11:04:41 +01:00
Paul Moore
e3cc4656f6
pip list --outdated shows package type for latest version
2015-03-04 14:02:06 +00:00
Donald Stufft
6f64d3e6e2
Implement PEP 440
2014-12-13 13:50:21 -05:00
Donald Stufft
5b817f960b
--isolated should isolate from ~/.pydistutils.cfg as well
2014-12-11 11:51:06 -05:00
Donald Stufft
ddb2f1b459
Deprecate accessing non secure origins by default
...
* Deprecates accessing non secure origins by default, the list of
which is taken from Chrome.
* Adds a --trusted-host flag to enable users to mark a specific
host as a secure origin regardless of what we think.
* Refactors the original warning to better indicate the intent
and the new flag.
2014-12-10 16:35:54 -05:00
Paul Moore
56496f6526
Add --user options to pip list and pip freeze
2014-10-14 16:00:52 +01: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
8f1dec56ee
We're passing upgrade to PackageFinder.find_requirement so this won't happen
2014-09-11 10:34:31 -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
90688e82b1
Revert "Merge pull request #1519 from dstufft/remove-dependency-links"
...
This reverts commit da02f073da
, reversing
changes made to 2ad8888901
.
Conflicts:
CHANGES.txt
pip/commands/freeze.py
pip/commands/list.py
pip/commands/wheel.py
pip/index.py
pip/req/req_set.py
pip/vcs/subversion.py
2014-08-01 16:50:08 -04:00
Donald Stufft
2298e4ce53
Fix #1657 - Explicitly close the requests session
2014-07-03 12:50:59 -04:00
Matthew Iversen
d0e6c2fc54
Update docs to ref sorting order of list/freeze
2014-03-09 05:03:28 +11:00
Marcus Smith
bff390eb1e
pkg exclusions for pip list/freeze
2014-02-28 20:09:26 -08:00
Donald Stufft
95ac4c16f5
Remove dependency links support from pip
2014-02-25 18:39:40 -05:00
Donald Stufft
2743768b7b
Fix the style of the code base to better match pep8
2014-01-27 14:11:29 -05:00
Marc Abramowitz
81eb156c44
Ignore wsgiref in pip list
also
2013-12-05 22:52:06 -08:00
Donald Stufft
12ee7cc6d9
Do not respect dependency links by default
2013-10-27 18:34:46 -04:00
Donald Stufft
616ce39061
Rename --allow-insecure to --allow-unverified
2013-10-26 23:47:57 -04:00
Donald Stufft
ff2854a855
Use requests instead of urllib2
2013-09-24 23:32:03 -04:00
Donald Stufft
0773d49b3c
Use the new Log.deprecated to log the messages about mirrors
2013-08-04 23:48:45 -04:00
Donald Stufft
dc559473e2
Restore some functionality to --mirrors and issue a warning
2013-07-30 06:26:13 -04:00
Donald Stufft
3ef4ee4693
Remove direct support for PEP381 Mirrors
...
* PEP381 Mirroring support was never fully implemented leaving
users of it trivially exploitable to a MITM or malicious mirror
operator.
* 2 out of 6 of the mirrors have been removed from the pool and
will never resolve.
* The remaining mirrors often fall behind
* The mirrors will likely never be available under HTTPS
* People who wish to use a mirror of PyPI can still do so by
manually specifying a mirror url for --index-url or
--extra-index-url which is more flexible, allowing for
mirrors to be hosted under any domain.
2013-07-29 12:42:33 -04:00
Donald Stufft
1aff8f53df
Default to disallowing external and insecurely hosted files
2013-07-14 12:52:32 -04:00