Nguyễn Gia Phong
6887b0795b
Merge usage of download_dir and wheel_download_dir
...
In every cases, at least one of them is None. By doing this,
it is also possible to simplify wrapper codes around download_dir.
2020-10-07 13:42:21 +07:00
Pradyun Gedam
58c594c06b
Prepare isort for black
2020-09-23 21:47:47 +05:30
Pradyun Gedam
25ab172b55
Update linter: isort
2020-09-23 19:52:28 +05:30
Vipul Kumar
2b07c5d288
End no-color's description with period punctuation
...
It would be nice, if like description of other options, "--no-color"'s
description also ends with a period.
2020-09-23 04:43:51 +00:00
Xavier Fernandez
83f1640827
Merge pull request #8578 from McSinyx/parse-count
...
Allow verbose/quiet level to be specified via config file and env var
2020-09-03 18:34:53 +02:00
Hugo
e93257c080
Warn Python 3.5 support is deprecated and will be removed in pip 21.0, Jan 2021
2020-08-18 15:22:16 +03:00
Nguyễn Gia Phong
b46576d933
Give batch downloader a separate class
2020-08-12 16:07:27 +07:00
Nguyễn Gia Phong
487d00295c
Define RequirementPreparer._session
2020-08-06 18:42:59 +07:00
Chris Hunt
f0d4df10eb
Propagate lazy_wheel option through RequirementPreparer
...
Reduces dependence on Candidate (and Resolver (and Factory)).
2020-08-02 18:40:11 -04:00
Chris Hunt
e49dcfdc35
Move lazy_wheel warning out of Resolver
...
This warning just needs to be traced in one place for all commands,
there's no need for the resolver to know about it. Moving the warning
out of the Resolver will make it easier to change how we provide the
option.
2020-08-02 18:40:11 -04:00
Nguyễn Gia Phong
2439d80a83
Allow specifying verbose/quiet level via config file and env var
2020-07-28 10:11:18 +07:00
Nguyễn Gia Phong
5d15291274
Use lazy wheel to obtain dep info for new resolver
2020-07-21 16:00:34 +07:00
Nguyễn Gia Phong
f8b06a3906
Enable flake8-logging-format
2020-07-17 14:33:19 +07:00
Nguyễn Gia Phong
cb8d81d135
Nitpick logging calls
2020-07-17 14:33:19 +07:00
gutsytechster
8c267e6e39
feat(pip/_internal/*): Use custom raise_for_status method
2020-07-08 18:08:55 +05:30
Christopher Hunt
4ba51d2e9c
Merge pull request #8501 from uranusjr/refactor-create-link-collector
...
Tidy up link collector constructor imports
2020-07-05 21:44:31 -04:00
Pradyun Gedam
a8eaf11d7f
Use the correct flag name
...
Co-authored-by: Stéphane Bidoul <stephane.bidoul@acsone.eu>
2020-07-03 19:20:58 +05:30
Pradyun Gedam
26e29aa70e
Disallow --unstable-feature, pointing to --use-feature instead
2020-07-03 18:49:57 +05:30
Pradyun Gedam
79de2c8911
Switch to --use-feature for determining which resolver to use
...
Also changes all invocations in the tests, to the new flag.
2020-07-03 18:49:56 +05:30
Pradyun Gedam
cd95531951
Add --use-feature and --deprecated-feature flags
2020-07-03 18:49:51 +05:30
Pradyun Gedam
93b0683d65
Merge pull request #8470 from deveshks/remove-always-unzip
2020-06-30 13:33:30 +00:00
Tzu-ping Chung
ec7324fba0
Tidy up link collector constructor imports
...
make_link_collector() was in self_outdated_check, a module responsible
for checking whether the currently-running pip is outdated, but is
imported by things that has nothing to do with this outdated check. Move
the function to be a class method in LinkCollector so the module
hierarchy makes more sense.
2020-06-26 17:31:28 +08:00
Devesh Kumar Singh
a833914387
Add help text to --no-input option
2020-06-26 07:21:56 +05:30
Devesh Kumar Singh
17b1c76ff5
Remove --always-unzip usage in source code
2020-06-25 16:52:15 +05:30
Pradyun Gedam
fb68794188
Merge pull request #8026 from sbidoul/requested-sbi
2020-06-24 18:24:30 +05:30
Stéphane Bidoul
acab2ee54e
Deprecate --build-dir
2020-06-21 19:05:55 +02:00
Devesh Kumar Singh
8f1d808deb
Add noqa B010 for setattr
2020-06-10 00:39:50 +05:30
Devesh Kumar Singh
76a130105c
Fix src/pip with flake8-bugbear
2020-06-10 00:36:03 +05:30
Pradyun Gedam
19e739c346
Merge pull request #7908 from NoahGorny/extract-supported-req-file-option-docs
...
Extract supported req file option docs
2020-06-06 15:30:29 +05:30
Greg Ward
dd3672fe34
Fix grammar in Python 2 warning message
2020-06-03 22:00:32 +02:00
Noah Gorny
afb4e6f5ba
cli: cmdoptions: Mark always_unzip as depreceated
2020-06-01 21:56:59 +03:00
Stéphane Bidoul
aa0c167498
Make sure user_supplied is propagated where needed
2020-05-31 18:33:51 +02:00
Stéphane Bidoul
b9a19f6be0
Rename is_direct to user_supplied
2020-05-31 18:33:51 +02:00
Stéphane Bidoul
a226f65cf5
A constraint is not a top level requirement
2020-05-31 18:33:51 +02:00
Devesh Kumar Singh
b01eb958d0
Fix run type annotation in base_command and configuration
2020-05-30 10:57:40 +05:30
Devesh Kumar Singh
cb25f93a20
Assert that status is int
2020-05-28 22:31:00 +05:30
Devesh Kumar Singh
4b5f723480
Don't return SUCCESS at end of run method
2020-05-28 22:31:00 +05:30
Devesh Kumar Singh
2bcbc52b2c
Remove isinstance check for status
2020-05-28 22:31:00 +05:30
Devesh Kumar Singh
e9f738a3da
Bubble up SubProcessError to basecommand._main
2020-05-23 19:13:13 +05:30
gutsytechster
b82516c9ca
fix(_internal/commands): Define a default add_option to child commands
2020-05-23 14:55:37 +05:30
gutsytechster
72a42197a4
refactor(commands): Add method add_options and remove __init__
...
This removes the __init__ method of child classes and defines
explicit method for adding command options.
2020-05-23 14:50:57 +05:30
Devesh Kumar Singh
89f248c7bf
Removing type ignore comments from cli.progress_bars
2020-05-13 15:21:15 +05:30
Tzu-ping Chung
8facc4cee1
Avoid RequirementSet before reaching the resolver
...
The RequirementSet implementation conflates requirements incorrectly in
a lot of places. This means the (new) resolver would get incomplete
requirements.
The removes all RequirementSet.add_requirement() calls outside of the
legacy resolver, so the new resolver can get the unmodified list of
requirements specified by the user, allowing for more sophisticated
requirement merging.
2020-05-04 01:24:19 +08:00
Pradyun Gedam
daff81124a
Merge pull request #8087 from pradyunsg/document-python-2-drop-date
2020-04-23 00:43:26 +05:30
Pradyun Gedam
c46e16794d
Include month and year for pip 21.0
...
Co-Authored-By: Hugo van Kemenade <hugovk@users.noreply.github.com>
2020-04-21 08:22:47 +05:30
Pradyun Gedam
7e61569b1a
Drop --skip-requirements-regex
2020-04-20 22:37:25 +05:30
Pradyun Gedam
a75f2fa31d
Document pip 21.0 as end of Python 2 support
2020-04-19 23:42:39 +05:30
Ricky Ng-Adam
45d5b377ab
elaborate on type of links supported
2020-04-04 10:22:02 -04:00
Pradyun Gedam
0f7fac3a3d
Merge pull request #7801 from uranusjr/yanked-link-refactor
...
Move wheel cache out of InstallRequirement
2020-03-31 15:14:37 +05:30
cjc7373
c388315bc0
Clarify the usage of --no-binary and --only-binary command
2020-03-30 16:57:24 +02:00