Commit Graph

10420 Commits

Author SHA1 Message Date
Nguyễn Gia Phong 6bb0d289f8 Move link log from prepare_linked_requirement 2020-06-17 23:03:08 +07:00
Paul Moore a42ed23adc Fix format_for_error for remote URL candidates 2020-06-17 16:47:07 +01:00
Paul Moore 2795742b31 Add handling of inconsistent root requirements 2020-06-17 16:47:04 +01:00
Paul Moore 09d311594e Move error handling to factory.get_installation_error() 2020-06-17 16:44:53 +01:00
Paul Moore c827f2964c Revised ResolutionImpossible message 2020-06-17 16:44:53 +01:00
Paul Moore 27521ac1f2 Remove duplicates from the list of conflicts in ResolutionImpossible reporting 2020-06-17 16:44:53 +01:00
Jussi Kukkonen dd42e7ec25 test server: Don't mask invalid signals on py38
This removes warnings from test output in python 3.8:

  /usr/lib/python3.8/signal.py:60: RuntimeWarning:
  invalid signal number 32, please use valid_signals()
2020-06-16 17:58:44 +03:00
Paul Moore b321967ab9
Merge pull request #8376 from deveshks/fix-config-example
Fixed example for defining multiple values for supported options
2020-06-16 10:59:21 +01:00
Tzu-ping Chung 78db0ba40b Set the requirement context on hash error
This improves the message shown by the hash error to include the
requirement that caused it.
2020-06-16 14:54:04 +08:00
Tzu-ping Chung 439da2f902 Implement yanked link warning in the new resolver 2020-06-15 16:38:10 +08:00
Tzu-ping Chung 5ee2eeda21 Make the failing tests fail 2020-06-15 16:38:10 +08:00
Tzu-ping Chung 9a2527ad09 Rename CFFI for PyPy 2020-06-15 15:47:38 +08:00
Ilan Schnell 0462774be1 add comment about skiping error checking test on Windows 2020-06-15 15:34:37 +08:00
Ilan Schnell 4b6ce4fbe4 add restore re.I flag 2020-06-15 15:34:37 +08:00
Ilan Schnell 2198e2b2ab Update tests/yaml/conflicting_triangle.yml
Co-authored-by: Pradyun Gedam <pradyunsg@gmail.com>
2020-06-15 15:34:37 +08:00
Ilan Schnell 599a494945 Update tests/yaml/conflicting_diamond.yml
Co-authored-by: Pradyun Gedam <pradyunsg@gmail.com>
2020-06-15 15:34:37 +08:00
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