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

1166 commits

Author SHA1 Message Date
Chris Hunt 0b0d53e8fa Use wheel helper function instead of pre-created wheel file 2020-07-04 14:22:15 -04:00
Chris Hunt 00191b2db1 Explicitly test that header file was created as-expected
Since this is the special part of this test. This gives us more
confidence that we're doing the right thing when removing the standalone
wheel file next.
2020-07-04 14:22:15 -04:00
Xavier Fernandez 09f9b0030d
Merge pull request #8096 from deveshks/list-config-files
Add option to list config files with pip config
2020-07-02 15:01:35 +02:00
Pradyun Gedam e774eccf46
Merge pull request #8343 from uranusjr/entrypoint-unicode 2020-06-30 14:33:24 +00:00
Pradyun Gedam 93b0683d65
Merge pull request #8470 from deveshks/remove-always-unzip 2020-06-30 13:33:30 +00:00
Devesh Kumar Singh 056f119ca9 Add test to verify global config file path 2020-06-28 16:22:01 +05:30
Devesh Kumar Singh 6e62481568 Add unit tests for pip config debug 2020-06-28 16:22:01 +05:30
Xavier Fernandez 9a3c082070
Merge pull request #8182 from deveshks/no-input-tests
Enable --no-input option by adding docs and tests
2020-06-26 21:29:19 +02:00
Devesh Kumar Singh 4ecd7ecbc7 Assert result string in test_prompt_for_authentication 2020-06-26 07:22:21 +05:30
Devesh Kumar Singh 6119a837ea Add unit tests for --no-input flag 2020-06-26 07:21:45 +05:30
Paul Moore 3dad80a314 Lint fix 2020-06-25 13:00:11 +01:00
Paul Moore cdc4e40dad Test is checking the old resolver's broken behaviour 2020-06-25 13:00:11 +01:00
Devesh Kumar Singh bd70025c98 Remove --always-unzip based tests 2020-06-25 16:52:15 +05:30
Pradyun Gedam 8c3447e85e
Merge pull request #8440 from uranusjr/yaml-tests 2020-06-24 18:38:59 +05:30
Pradyun Gedam fb68794188
Merge pull request #8026 from sbidoul/requested-sbi 2020-06-24 18:24:30 +05:30
Paul Moore b966e1383b
Merge pull request #8482 from uranusjr/new-resolver-union-with-versions
Mark new resolver test failure on extra union
2020-06-24 13:20:13 +01:00
Tzu-ping Chung 95477931b2 Mark new resolver test failure on extra union 2020-06-23 20:45:41 +08:00
Tzu-ping Chung da23209fbe Expect deprecation warning for build_dir in tests 2020-06-23 20:18:42 +08:00
Stéphane Bidoul acab2ee54e Deprecate --build-dir 2020-06-21 19:05:55 +02:00
Paul Moore 3a3d1d5afe
Merge pull request #8468 from pfmoore/nr_test_messages
Test message check fixes
2020-06-19 11:01:17 +01:00
Paul Moore a7e3f8d088 Test message check fixes 2020-06-18 18:05:51 +01:00
Paul Moore 9626dacec5 Some tests need to monkeypatch the new resolver internals 2020-06-18 15:49:18 +01:00
Paul Moore d287033599
Merge pull request #8394 from pfmoore/nr_conflict_message
Improve the message for "Resolution Conflict" errors
2020-06-18 13:45:51 +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
Tzu-ping Chung 5ee2eeda21 Make the failing tests fail 2020-06-15 16:38:10 +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 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 f11c6d6cbd on Windows, the errors behave differently 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 2f884c9379 disable debug output files 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
Pradyun Gedam 445711c533
Merge pull request #8349 from uranusjr/new-resolver-reject-unsupported-wheel 2020-06-11 20:03:44 +05:30
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 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
Tzu-ping Chung f81fd19a7b Ensure entry points are read as UTF-8
Like the wheel metadata, this is, strictly speaking, unspecified. But
UTF-8 is the de-facto standard, and we should support that.
2020-06-10 20:58:20 +08:00
Tzu-ping Chung e7635b7233 Is this a bug or design decision? 2020-06-10 20:57:27 +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 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
Stéphane Bidoul 7abc3038f2
Merge pull request #8379 from gutsytechster/add_helper_test_to_uninstall_user_and_force_reinstall
Add helper methods for path lookups to test_install_force_reinstall.py and test_uninstall_user.py
2020-06-09 22:21:20 +02:00
Stéphane Bidoul 2946038f25
Merge pull request #8366 from gutsytechster/add_helper_method_to_uninstall_and_wheel
Add helper methods for path lookups to test_{uninstall, wheel}.py
2020-06-09 22:20:26 +02:00
Stéphane Bidoul 63cc26792d
Merge pull request #8357 from ssurbhi560/add_helper_methods
Add methods for path lookups in test_install.py and test_install_compat.py
2020-06-09 22:14:30 +02:00
Stéphane Bidoul 774432e52a
Merge pull request #8345 from gutsytechster/add_helper_methods_to_vcs_git_and_wheel
Add methods for path lookups in test_install_{vcs_git, wheel}.py
2020-06-09 22:09:49 +02:00
Stéphane Bidoul 5e69b8c270
Merge pull request #8326 from ssurbhi560/use_methods_in_tests
Add methods for path lookups in test_install_{extras, index}.py
2020-06-09 22:06:13 +02:00