Tzu-ping Chung
9ee19a1190
Always use frozenset
2020-05-27 23:10:56 +08:00
Tzu-ping Chung
b8404fde99
Always read extras from InstallRequirement.extras
2020-05-27 23:10:56 +08:00
Tzu-ping Chung
6c6b6a7765
Implement new Provider.find_matches()
2020-05-27 23:10:56 +08:00
Tzu-ping Chung
46f433615e
Update vendored ResolveLib to 0.4.0
2020-05-27 23:08:28 +08:00
Tzu-ping Chung
80f3b3e6e0
This is correct!
2020-05-27 20:19:38 +08:00
Tzu-ping Chung
48c3d0c8ec
Typo in docstring
...
Co-authored-by: Paul Moore <p.f.moore@gmail.com>
2020-05-27 20:19:38 +08:00
Tzu-ping Chung
bc9b288b1e
Implement wheel cache lookup in the new resolver
2020-05-27 20:19:37 +08:00
Tzu-ping Chung
dab7b94ade
Derive Requirement name from ireq is possible
...
This is useful when resolving the wheel cache.
2020-05-27 20:19:37 +08:00
Tzu-ping Chung
5f2bc2b47c
DO NOT sort the returned matches by version
...
A higher version is not always preferred over the lower; the user may
be explicitly preferring lower versions by specifying --prefer-binary
or similar flags.
PackageFinder already takes these into account for these and orders
the matches. Don't break it.
2020-05-25 14:12:36 +08:00
Pradyun Gedam
f84f91af27
Merge pull request #7969 from deveshks/fix-svn-version-check
2020-05-23 21:47:38 +05:30
Pradyun Gedam
f9b1a54009
Apply suggestion from review comments
2020-05-23 19:32:27 +05:30
Devesh Kumar Singh
99660b8d86
Fix pip cache docstring to render correctly in docs
2020-05-23 19:27:32 +05:30
Devesh Kumar Singh
e9f738a3da
Bubble up SubProcessError to basecommand._main
2020-05-23 19:13:13 +05:30
Devesh Kumar Singh
ab3ee7191c
Remove on_returncode parameter from call_subprocess
2020-05-23 19:13:13 +05:30
Devesh Kumar Singh
94882fd1ed
Remove show_stdout from run_command args
2020-05-23 19:13:13 +05:30
Devesh Kumar Singh
8adbc216a6
Create call_subprocess just for vcs commands
2020-05-23 19:13:13 +05:30
Devesh Kumar Singh
1471897b84
Improve check for svn version string
2020-05-23 19:13:13 +05:30
Pradyun Gedam
642fb07337
Merge pull request #8062 from cjc7373/issue_7625
2020-05-23 18:25:53 +05:30
Pradyun Gedam
c3203aa282
Merge pull request #8292 from deveshks/add-mypy-req-constructors
2020-05-23 17:13:17 +05:30
Pradyun Gedam
94cb8f582c
Merge pull request #8277 from deveshks/types-auth-encoding-unpacking
2020-05-23 17:13:03 +05:30
Pradyun Gedam
d5265e24b7
Merge pull request #8083 from deveshks/warn-on-unexpected-content-type
2020-05-23 17:12:08 +05:30
Pradyun Gedam
75b2800dec
Merge pull request #8073 from deveshks/pip-config-docstring-fix
2020-05-23 17:11:46 +05:30
Pradyun Gedam
403310e9b5
Merge pull request #7996 from deveshks/add-prefer-binary-to-req-file
2020-05-23 17:11:36 +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
Stéphane Bidoul
db75ac5587
Merge pull request #8265 from deveshks/add-mypy-download-freeze-search
...
Complete type annotations in "pip._internal.commands.{freeze,download,search}"
2020-05-23 10:43:07 +02:00
Paul Moore
48334aeb80
New resolver not raising DistributionNotFound
2020-05-22 15:36:10 +01:00
Devesh Kumar Singh
e8b842389c
Always return SUCCESS from download.run
2020-05-22 19:44:29 +05:30
Devesh Kumar Singh
e8aa5e73c5
Fix return type annotation for handle_401
2020-05-22 19:30:08 +05:30
Pradyun Gedam
5d6234172f
Merge pull request #8053 from gutsytechster/update_filesystem_comment
2020-05-22 17:07:43 +05:30
cjc7373
a9c8dc5468
fix normalize path for Windows
2020-05-22 17:29:51 +08:00
Devesh Kumar Singh
ac39efa537
Update parse_editable to return Set[str]
2020-05-22 04:21:14 +05:30
Devesh Kumar Singh
2c5cab492c
Pass empty set if parts.extras is None
2020-05-22 04:20:32 +05:30
Devesh Kumar Singh
4812f77503
Add mypy annotations to pip._internal.req.req_tracker
2020-05-22 02:01:33 +05:30
Devesh Kumar Singh
311eb48ca5
Add mypy annotations to pip._internal.req.req_set
2020-05-22 02:01:15 +05:30
Devesh Kumar Singh
ea3aa04987
Add mypy annotations to pip._internal.req.constructors
2020-05-22 01:56:59 +05:30
Devesh Kumar Singh
5e33373a07
Remove req.name check
2020-05-22 00:42:37 +05:30
Devesh Kumar Singh
716a067335
Return int status code from download.run
2020-05-22 00:32:37 +05:30
Devesh Kumar Singh
197bbceed1
Add news file and convert TransformedHit type to TypedDict
2020-05-21 23:54:18 +05:30
Devesh Kumar Singh
50cbd6a032
Assert not None instead of if check
2020-05-21 22:46:56 +05:30
Pradyun Gedam
24e4cf7118
Update comments and documentation
2020-05-21 21:47:42 +05:30
Pradyun Gedam
901898c84f
Make mypy happy
2020-05-21 21:47:42 +05:30
Pradyun Gedam
9506a28114
ExtrasCandidate depends on exact base, before optional dependencies
2020-05-21 21:47:42 +05:30
Pradyun Gedam
95347df102
Directly require BaseCandidate in ExtrasCandidate
2020-05-21 21:47:42 +05:30
Pradyun Gedam
775f9ff6ca
Add a helper for making ExplicitRequirement objects
2020-05-21 21:47:38 +05:30
Pradyun Gedam
76b865155e
Merge pull request #8145 from sbidoul/simplfy-should_cache-sbi
2020-05-21 21:30:40 +05:30
Paul Moore
278ac2d67f
Merge pull request #8286 from uranusjr/read-root-extras-correctly
...
Always read InstallRequirement.extras
2020-05-21 16:05:35 +01:00
Paul Moore
90168f0b24
Merge pull request #8230 from uranusjr/markers-in-deps
...
Only include dependencies if the markers match
2020-05-21 15:26:38 +01:00
Devesh Kumar Singh
0d48186d1b
Allow --prefer-binary option in requirements file
2020-05-21 19:37:45 +05:30
Devesh Kumar Singh
64c78b19b9
Reword warning for invalid content-type
2020-05-21 19:37:03 +05:30