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
6d94944efd
Change PackageFinder.create() to accept a LinkCollector.
2019-09-18 00:59:04 -07:00
Chris Jerdonek
6a55f0788b
Move make_search_scope() to outdated.py.
2019-09-18 00:48:48 -07:00
A_Rog
70027b2f50
Address #6876 : Make command output go through a single function ( #6881 )
2019-08-22 17:29:22 -07:00
Chris Jerdonek
1ab37d31f1
Merge pull request #6903 from cjerdonek/move-trusted-hosts
...
Move PackageFinder's --trusted-host logic to PipSession
2019-08-22 03:56:13 -07:00
Chris Jerdonek
a6cdb490b0
Move trusted_hosts logic to PipSession.
2019-08-21 03:03:17 -07:00
Chris Jerdonek
e8eda16ed8
Rename some PackageFinder "best candidate" classes and methods:
...
* Rename FoundCandidates to BestCandidateResult.
* Rename CandidateEvaluator's make_found_candidates() to
compute_best_candidate().
* Rename CandidateEvaluator's get_best_candidate() to
sort_best_candidate().
* Rename PackageFinder's find_candidates() to find_best_candidate().
2019-08-20 22:49:30 -07:00
Chris Jerdonek
e74fd24c71
Eliminate base_command.py's import dependency on PipSession.
2019-08-07 14:12:42 -07:00
Chris Jerdonek
1f09e67f34
Only import a Command class when it is actually needed.
...
This resulted in an approximate 24% speed-up of a vanilla `pip`
invocation on one system (0.477 secs before, 0.363 secs after).
2019-07-26 23:30:26 -04:00
Pradyun Gedam
537b0fca12
Change isort multi_line_output to 3
2019-07-22 10:15:27 +05:30
Pradyun Gedam
f669719c96
Rename InstallationCandidate.{location -> link}
2019-07-20 12:41:22 +05:30
Chris Jerdonek
0d96a49cf7
Add project_name to CandidateEvaluator.
2019-07-14 10:56:00 -07:00
Chris Jerdonek
b2389bf8c7
Add CandidatePreferences and PackageFinder.make_candidate_evaluator().
2019-07-07 14:35:50 -07:00
Chris Jerdonek
ae79b5bf5c
Add a SelectionPreferences class.
2019-06-28 11:14:55 -07:00
Chris Jerdonek
8af3f21a57
Filter out yanked links earlier when allow_yanked=False.
2019-06-27 19:50:25 -07:00
Chris Jerdonek
a447be4785
Update PackageFinder to support "yanked" files (PEP 592).
2019-06-26 02:32:40 -07:00
Chris Jerdonek
cab7316e2b
Change PackageFinder.create() to accept a SearchScope object.
2019-06-21 14:41:49 -07:00
Laszlo Kiss-Kollar
246130c48f
Consolidate `--path` parsing into `cmdoptions.py`
...
This option is used both in the `freeze` and `list` commands. The code
to parse the option and validate that it's not used with incompatible
arguments should be done in one place.
2019-06-13 09:37:16 +01:00
Laszlo Kiss-Kollar
a240a98701
Add `--path` option to `pip list`
...
This makes `pip list` consistent with `pip freeze` which also supports
listing packages in arbitrary file paths.
2019-06-12 16:10:06 +02:00
Chris Jerdonek
cad71a7117
Add PackageFinder.create(), and simplify PackageFinder().
2019-05-17 11:55:21 -07:00
Chris Jerdonek
dddd28b8de
Add CandidateEvaluator class to encapsulate sorting. ( #6424 )
2019-04-22 03:40:35 -07:00
Xavier Fernandez
477147091e
Merge pull request #6116 from peterlisak/bug-fix-outdated-not-required
...
pip list --not-required --outdated should list only outdated packages…
2019-01-09 22:15:53 +01:00
Peter Lisák
1a87e577d0
Add comments
2019-01-07 17:10:08 +01:00
Peter Lisák
4f35981085
pip list --not-required --outdated should list only outdated packages that are not dependencies of installed packages
2019-01-06 10:05:44 +01:00
Pradyun Gedam
7222cb8fdb
Remove --process-dependency-links and related support code
2019-01-02 17:27:06 +05:30
Pradyun Gedam
21d9825efd
Rename basecommand -> base_command
2018-07-30 09:32:47 +05:30
Pradyun Gedam
8b4713f63c
Move cmdoptions to pip._internal.cli
2018-07-29 18:26:33 +05:30
Pradyun Gedam
772435d620
Import cmdoptions instead of it's internal functions
2018-07-29 18:26:32 +05:30
Pradyun Gedam
8d45e0e647
Move basecommand to pip._internal.cli
2018-07-29 18:26:28 +05:30
Pradyun Gedam
52782f0547
Remove the "legacy" format for 'pip list'
2018-06-21 21:19:17 +05:30
Anthony Sottile
9762eb02e3
Upgrade syntax in src/pip/_internal
...
Changes were automated via https://github.com/asottile/pyupgrade
See #4921
2017-12-14 21:59:22 -08:00
Pradyun Gedam
353a13ddff
isort: Include trailing commas
2017-11-21 13:23:59 +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