Commit Graph

3372 Commits

Author SHA1 Message Date
Pradyun Gedam 7be91574d9
Update message displayed on conflicts post-resolution 2020-11-12 06:53:29 +05:30
Stéphane Bidoul 3defc24e31
Removed unused comes_from argument of parse_requirements 2020-11-08 19:07:28 +01:00
Tzu-ping Chung d08b4d99e2 Use packaging.version to check version equality 2020-11-03 16:04:35 +08:00
Xavier Fernandez 4dc48da9db utils: make Hashes object hashable 2020-10-31 15:54:54 +01:00
Xavier Fernandez 9725229888 Add --exclude option to pip freeze and pip list commands 2020-10-30 21:50:59 +01:00
Pradyun Gedam cdc5422ed5
Merge pull request #9019 from pradyunsg/flip-the-switch-on-new-resolver 2020-10-31 00:36:32 +05:30
Pradyun Gedam 64ff484c76
Skip tests that fail on Python 2 2020-10-30 23:09:00 +05:30
Pradyun Gedam 8a5656f7b1
Fix a flaky test 2020-10-30 23:08:59 +05:30
Pradyun Gedam a56fefc764
Add debugging information to CI 2020-10-30 23:08:59 +05:30
Pradyun Gedam 16c3205184
Add a better error message for no-more-responses 2020-10-30 23:08:59 +05:30
Pradyun Gedam 53db14b188
Mark test about install order as an xfail 2020-10-30 23:08:51 +05:30
Pradyun Gedam ec9bb10922
Update YAML tests for resolver changes 2020-10-30 23:08:47 +05:30
Pradyun Gedam 6f26fb9fee
Update tests for resolver changes 2020-10-30 23:08:31 +05:30
Xavier Fernandez c33cf49381 freeze: deprecate option --find-links 2020-10-30 13:41:27 +01:00
Pradyun Gedam 6859de08d9
Get the resolver name directly from test CLI 2020-10-30 07:16:25 +05:30
Pradyun Gedam 07ec3013f0
Drop custom logic for new_resolver tests 2020-10-30 07:16:19 +05:30
Pradyun Gedam 5cba61e118
Switch to resolver variants in the test suite 2020-10-30 07:16:19 +05:30
Pradyun Gedam 6028e6a0fb
Change how we skip a failing test 2020-10-30 07:16:19 +05:30
Pradyun Gedam 00e531a16e
Merge pull request #9017 from pradyunsg/backtracking-messaging 2020-10-28 18:25:29 +05:30
Daniel Katz 7237bd3397 Respond to feedback, and add functional tests. 2020-10-27 19:00:22 -04:00
Daniel Katz cea9f32dae Support multiple `abi` and `platform` values for `pip download`. 2020-10-27 19:00:22 -04:00
Pradyun Gedam 9a5441c331
Merge pull request #9049 from pfmoore/remove_build_dir 2020-10-27 22:41:47 +05:30
Pradyun Gedam f2852cd775
Merge pull request #8991 from asottile/dead_code
delete some dead test code (VERBOSE_FALSE)
2020-10-27 21:45:20 +05:30
Paul Moore 52e1c9a39c Not clear why this didn't fail before... 2020-10-27 15:49:38 +00:00
Paul Moore 0c2a2bc803 Mark a couple of tests that still use --build as xfail 2020-10-27 15:24:36 +00:00
Paul Moore 7c4c5b8330 Remove test_pip_wheel_fail_cause_of_previous_build_dir as it's no longer valid 2020-10-27 15:24:36 +00:00
Pradyun Gedam b39aeeb6df
Merge pull request #9050 from sbidoul/fix-freeze-direct_url-editable-sbi 2020-10-27 19:34:10 +05:30
Pradyun Gedam f3307a5103
Present a message upon first backtrack 2020-10-27 19:32:36 +05:30
Pradyun Gedam 95171c881f
Display messages when backtracking on a package 2020-10-27 19:32:35 +05:30
Pradyun Gedam 45d3a3e859
Update tests for new signature 2020-10-27 01:05:29 +05:30
Pradyun Gedam abb3d0fae3
Move build_env tests to functional
These tests use the script fixture which as a 30s setup time on my
machine. This KILLS productivity when trying to run unit tests as part
of a feedback loop during development.
2020-10-25 23:32:26 +05:30
Pradyun Gedam 66bb8a88c4
Add a small delay between re-runs 2020-10-25 23:03:10 +05:30
Pradyun Gedam 9faf431fbb
Breakup conditional for readability 2020-10-25 23:02:59 +05:30
Stéphane Bidoul d5a2007e8f
Avoid AssertionError in pip freeze with editable direct URLs 2020-10-25 15:18:02 +01:00
Tzu-ping Chung 761433cee8 Eliminate len() usage in tests 2020-10-13 16:12:11 +08:00
Tzu-ping Chung d22775819b Test for candidate ordering 2020-10-13 16:12:11 +08:00
Tzu-ping Chung 8326148149 Implement "lazy sequence" to avoid Internet
find_matches() is modified to return a special type that implements
the sequence protocol (instead of a plain list). This special sequence
type tries to use the installed candidate as the first element if
possible, and only access indexes when the installed candidate is
considered unsatisfactory.
2020-10-13 16:06:00 +08:00
Anthony Sottile 336e979894 delete some dead test code (VERBOSE_FALSE)
was just browsing through some files and noticed this
2020-10-12 16:05:05 -07:00
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 8aab76c63f
Merge pull request #8910 from hugovk/pip-cache-http
Include http subdirectory in 'pip cache info' and 'pip cache purge'
2020-10-02 13:26:00 +05:30
Hugo van Kemenade 0652a2f016 Rename to 'Package index page cache location' 2020-10-02 09:59:38 +03:00
Hugo van Kemenade d45ba65c37 Include http directory in 'pip cache info' and 'pip cache purge' 2020-09-24 01:33:56 +03:00
Pradyun Gedam 58c594c06b
Prepare isort for black 2020-09-23 21:47:47 +05:30
Pradyun Gedam faee60baea
Merge pull request #8902 from pradyunsg/linter-updates 2020-09-23 21:44:55 +05:30
Pradyun Gedam 25ab172b55
Update linter: isort 2020-09-23 19:52:28 +05:30
Pradyun Gedam 4c534e65d2
Tweak message when -r is not passed on a requirements.txt 2020-09-23 19:46:36 +05:30
Pradyun Gedam e61bb616ef
Merge pull request #8839 from uranusjr/new-resolver-hash-intersect 2020-09-17 10:58:44 +05:30
Tzu-ping Chung 179ccbe6f5 Add tests for empty hash intersection 2020-09-11 15:01:50 +08:00
Devesh Kumar Singh 9450f8837a Use format options for abspath 2020-09-11 09:23:51 +05:30
Devesh Kumar Singh d22becc073 Add unit tests for --abspath flag 2020-09-11 09:23:51 +05:30