1
1
Fork 0
mirror of https://github.com/pypa/pip synced 2023-12-13 21:30:23 +01:00
Commit graph

10140 commits

Author SHA1 Message Date
Ilan Schnell f6691c0aca Update tests/yaml/conflict_2.yml
Co-authored-by: Pradyun Gedam <pradyunsg@gmail.com>
2020-06-15 15:34:37 +08:00
Ilan Schnell 6e07c0fd82 Update tests/functional/test_yaml.py
Co-authored-by: Pradyun Gedam <pradyunsg@gmail.com>
2020-06-15 15:34:37 +08:00
Ilan Schnell bf3b1859fc add ability to match error messages against regular expressions 2020-06-15 15:34:37 +08:00
Ilan Schnell e1f007b314 check for stderr regex in linter 2020-06-15 15:34:37 +08:00
Ilan Schnell f11c6d6cbd on Windows, the errors behave differently 2020-06-15 15:34:36 +08:00
Ilan Schnell 13ce5209b4 add error checks - run circular tests with new resolver 2020-06-15 15:34:36 +08:00
Ilan Schnell fec4a0dabd update yaml linter 2020-06-15 15:34:36 +08:00
Ilan Schnell 54f350d524 add error checking to yaml test files 2020-06-15 15:34:36 +08:00
Ilan Schnell 982fddf9c0 add checking exit code and stderr message 2020-06-15 15:34:36 +08:00
Ilan Schnell a45f657f97 add test for double install 2020-06-15 15:34:36 +08:00
Ilan Schnell 2e086eca40 add test case 2020-06-15 15:34:36 +08:00
Ilan Schnell 7dc345386a add huge yaml test (579 packages) going to add more test cases 2020-06-15 15:34:35 +08:00
Ilan Schnell 4d17ec6442 add errors draft 2020-06-15 15:34:35 +08:00
Ilan Schnell 708b675ba7 add test for unavailable version 2020-06-15 15:34:35 +08:00
Ilan Schnell b2895a5876 add test cases to large.yml 2020-06-15 15:34:35 +08:00
Ilan Schnell 2f884c9379 disable debug output files 2020-06-15 15:34:35 +08:00
Ilan Schnell ec288fec0e add comment to large.yml 2020-06-15 15:34:35 +08:00
Ilan Schnell e8bc39274d add test case to install cachecontrol 2020-06-15 15:34:35 +08:00
Ilan Schnell 7b4bfcb03b work around bug in wheel generation for names which have "-" i them 2020-06-15 15:34:35 +08:00
Ilan Schnell 5e707eec4b add large yaml test 2020-06-15 15:34:35 +08:00
Ilan Schnell ecfaf9fd85 add linter check to ensure version is string 2020-06-15 15:34:34 +08:00
Ilan Schnell ed3a6bcd62 add triangle conflict test 2020-06-15 15:34:34 +08:00
Ilan Schnell 057cb03990 add fall back test 2020-06-15 15:34:34 +08:00
Ilan Schnell 279bbc7d95 update comments 2020-06-15 15:34:34 +08:00
Ilan Schnell 2f961cdfa7 add explaination of yaml format 2020-06-15 15:34:34 +08:00
Ilan Schnell a941724aa8 add test case 2020-06-15 15:34:34 +08:00
Ilan Schnell 6c4b06295d add yaml test 2020-06-15 15:34:34 +08:00
Ilan Schnell ab5cb8ebe1 add comment 2020-06-15 15:34:34 +08:00
Ilan Schnell 083c241879 add comment 2020-06-15 15:34:34 +08:00
Ilan Schnell 483b5ded21 add comments 2020-06-15 15:34:34 +08:00
Ilan Schnell f9ecbf0b9d add conflicting yaml test 2020-06-15 15:34:34 +08:00
Pradyun Gedam 445711c533
Merge pull request #8349 from uranusjr/new-resolver-reject-unsupported-wheel 2020-06-11 20:03:44 +05:30
Paul Moore b1d4fe9151
Merge pull request #8428 from pfmoore/nr_constraint_tests
Modify tests to check unsupported forms of constraint
2020-06-11 13:14:54 +01:00
Paul Moore bf2b63dd68 Modify tests to check unsupported forms of constraint in the new resolver 2020-06-11 11:41:07 +01:00
Paul Moore b62b29f762
Merge pull request #8427 from deveshks/clarify-req-option-docs
Clarify global and per-requirement options in pip install docs
2020-06-11 11:34:27 +01:00
Devesh Kumar Singh 6446de93bf Update example text to include --pre 2020-06-11 15:11:00 +05:30
Devesh Kumar Singh 606b49a881 Add news entry 2020-06-11 15:00:31 +05:30
Devesh Kumar Singh 91270545d0 Clarify global and per-requirement options in pip install docs 2020-06-11 14:59:46 +05:30
Paul Moore 4c055378e5
Merge pull request #8382 from uranusjr/constraint-tests-rewrite
Convert test_install_with_extras_from_install to not use URL constraint
2020-06-11 08:44:47 +01:00
Pradyun Gedam bc6a3ef978
Merge pull request #8421 from pfmoore/nr_more_tests_work
Mark a few more tests as working under the new resolver
2020-06-10 19:17:38 +05:30
Tzu-ping Chung e7635b7233 Is this a bug or design decision? 2020-06-10 20:57:27 +08:00
Tzu-ping Chung ebb90c6411 Reject incompatibile direct wheel link
This mirrors the behavior in the legacy resolver. In the future we may
want to backtrack in this situation instead, but I haven't found a clean
way to do this. We may need to introduce an "empty" requirement class.

The `PackageFinder.target_python` interface is also not the most clean.
Maybe we should expose the target Python object instead. Not sure yet.
2020-06-10 20:57:23 +08:00
Tzu-ping Chung 03c59c50db Make failing tests fail 2020-06-10 20:57:23 +08:00
Paul Moore e97b365529 Mark a few more tests as working under the new resolver 2020-06-10 13:08:37 +01:00
Tzu-ping Chung b372132cac Convert test_install_with_extras_from_install 2020-06-10 12:34:09 +01:00
Paul Moore 57b39a85bc
Merge pull request #8397 from uranusjr/new-resolver-fix-candidate-ordering
New resolver fix candidate ordering
2020-06-10 12:24:37 +01:00
Stéphane Bidoul a4933e4cc6
Merge pull request #8405 from deveshks/flake8-bugbear-src
Fix "src/pip" to respect flake8-bugbear
2020-06-10 08:32:13 +02:00
Stéphane Bidoul cc48c07b64
Merge pull request #8364 from rkm/mailing-list-updates
replace links to pypa-dev mailing list
2020-06-09 23:00:27 +02:00
Stéphane Bidoul 0b0a4a5cb5
Merge pull request #8389 from ssurbhi560/add_helper_methods_to_install_user_and_new_resolver_user
Add methods for path lookups in test_install_user.py and test_new_resolver_user.py
2020-06-09 22:24:39 +02:00
Stéphane Bidoul ca439016e5
Merge pull request #8370 from ssurbhi560/add_method_to_new_resolver_and_download
Add methods for path lookups in test_download.py and test_new_resolver.py
2020-06-09 22:23:02 +02:00