Commit Graph

9962 Commits

Author SHA1 Message Date
Pradyun Gedam d480e40838
Make Travis CI correctly ignore failures 2020-05-28 20:46:20 +05:30
Pradyun Gedam d49e957905
Skip the correct test 2020-05-28 20:45:56 +05:30
Paul Moore 03b11eed8f
Merge pull request #8267 from uranusjr/new-resolver-candidate-order
Upgrade ResolveLib to 0.4.0 and implement the new Provider.find_matches() interface
2020-05-28 10:46:02 +01:00
Paul Moore 7c10d3ed3b
Merge pull request #8301 from uranusjr/disallow-failure-in-new-resolver
Disallow failures for tests we expect to pass
2020-05-27 19:05:48 +01:00
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
Paul Moore be48ec0d15
Merge pull request #8066 from uranusjr/new-resolver-wheel-cache
Wheel cache link look up in the new resolver
2020-05-27 15:58:10 +01:00
Paul Moore d7fbc9fb16
Merge pull request #8282 from uranusjr/pre-existing-build-directory-reprod
Add reprod for pre-existing build dir failure
2020-05-27 14:01:57 +01: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
Pradyun Gedam 1ebeab5146
Merge pull request #8319 from uranusjr/fix-prefer-binary-reqfile-new-resolver 2020-05-25 23:35:49 +05:30
Tzu-ping Chung 0e4dd69759 Also fixed this test 2020-05-25 20:39:45 +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
Tzu-ping Chung 9238fc3f84 Disallow failures for tests we expect to pass 2020-05-25 13:01:20 +08:00
Pradyun Gedam 7d875faff9
Merge pull request #8303 from pradyunsg/nicer-test-helpers 2020-05-24 01:58:43 +05:30
Pradyun Gedam f84f91af27
Merge pull request #7969 from deveshks/fix-svn-version-check 2020-05-23 21:47:38 +05:30
Pradyun Gedam c36826acf2
Merge pull request #8313 from deveshks/pip-cache-docstring-fix 2020-05-23 21:44:55 +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 5c615aa775 Update news entry 2020-05-23 19:13:13 +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 2876bf7554
Merge pull request #8141 from deveshks/remove-unused-install-cleanup-tests 2020-05-23 17:12:25 +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
Pradyun Gedam 7e71ddb229
Merge pull request #8112 from deveshks/remove-appveyor-refs-from-doc 2020-05-23 17:05:26 +05:30
Pradyun Gedam f3a0bf8172
Merge pull request #8281 from gutsytechster/create_add_option 2020-05-23 17:05:12 +05:30
Pradyun Gedam bc9b1d9a23
Merge pull request #8309 from pradyunsg/ci/cleanup-2020-05 2020-05-23 16:59:24 +05:30
Pradyun Gedam 12ee8fd36f
Merge pull request #8310 from pradyunsg/ci/reduce-load-on-Azure 2020-05-23 16:56:47 +05:30
gutsytechster b82516c9ca fix(_internal/commands): Define a default add_option to child commands 2020-05-23 14:55:37 +05:30
gutsytechster 58fb2ec0fc docs(news): Add news file entry 2020-05-23 14:50:57 +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
Pradyun Gedam 3ac13ee754
Add back Python 3.5 2020-05-23 10:38:07 +05:30
Pradyun Gedam f0e2f7f39e
Merge pull request #8299 from uranusjr/remove-test-install-include-work-dir-pkg 2020-05-23 06:25:00 +05:30
Pradyun Gedam 3ffd0305d9
Update CI documentation to reflect current realities 2020-05-23 06:01:22 +05:30
Pradyun Gedam 9113ef0a0a
Use Python 3.8 for "primary" run on Azure Ubuntu/MacOS 2020-05-23 06:01:22 +05:30
Pradyun Gedam d1c68bae7c
Skip integration tests for Py3.{5,6,7} on Windows CI 2020-05-23 05:53:11 +05:30
Pradyun Gedam 15045f8196
Remove duplicate jobs from Travis CI 2020-05-23 05:39:23 +05:30