Commit Graph

10420 Commits

Author SHA1 Message Date
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 e2a2a2b9ec Use GitHub snapshot to avoid Git dependency
Co-authored-by: Xavier Fernandez <xav.fernandez@gmail.com>
2020-06-10 20:59:33 +08:00
Tzu-ping Chung 64432abc37 Update issue template to nudge users 2020-06-10 20:59:18 +08:00
Tzu-ping Chung b0c1308d64 Always Unicode 2020-06-10 20:58:21 +08:00
Tzu-ping Chung dc82ac2e0c Fix typo in NEWS.rst 2020-06-10 20:58:21 +08:00
Tzu-ping Chung 216328ce10 News 2020-06-10 20:58:20 +08: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 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
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
Stéphane Bidoul e349e4269a
Merge pull request #8324 from gutsytechster/update_helper_test
Add methods for path lookups in test_install_{reqs, upgrade}.py
2020-06-09 22:03:24 +02:00
Devesh Kumar Singh 8f1d808deb Add noqa B010 for setattr 2020-06-10 00:39:50 +05:30
Devesh Kumar Singh 76257e4b65 Use module.__file__ 2020-06-10 00:36:03 +05:30
Devesh Kumar Singh 021eddcb70 Remove try/catch and use next 2020-06-10 00:36:03 +05:30
Devesh Kumar Singh d3f012cb3b Fix argument type for ca_bundle_info 2020-06-10 00:36:03 +05:30
Devesh Kumar Singh 9315582774 Add news entry 2020-06-10 00:36:03 +05:30
Devesh Kumar Singh 76a130105c Fix src/pip with flake8-bugbear 2020-06-10 00:36:03 +05:30
Devesh Kumar Singh 0dbd3938af Add B014 ignore 2020-06-10 00:36:03 +05:30
Paul Moore 7bf78f05df
Merge pull request #8283 from uranusjr/pre-existing-build-directory-fix
Pre-existing build directory fix
2020-06-09 16:47:53 +01:00
Pradyun Gedam 19e739c346
Merge pull request #7908 from NoahGorny/extract-supported-req-file-option-docs
Extract supported req file option docs
2020-06-06 15:30:29 +05:30
Stéphane Bidoul 3599d7b971
Merge pull request #8403 from deveshks/remove-cached-property
Remove unused "pip._internal.utils.misc.cached_property"
2020-06-06 10:10:22 +02:00
Stéphane Bidoul 3c6a25c638
Merge pull request #8398 from deveshks/add-flake8-bugbear
Add flake8-bugbear plugin to pre-commit and fix "tests" accordingly
2020-06-05 20:18:23 +02:00
Devesh Kumar Singh 06654ef329 Remove explicit select and ignore src/pip for flake8-bugbear for now 2020-06-05 23:10:01 +05:30
Devesh Kumar Singh cc2dc7ad6f Add news entry 2020-06-05 22:18:17 +05:30
Devesh Kumar Singh ae2f9c645a Remove unused cached_property 2020-06-05 22:11:15 +05:30
Paul Moore 6b10b1d2a2
Merge pull request #8402 from deveshks/parametrize-tests
Parametrize test_install_package_to_usersite_with_target_must_fail
2020-06-05 16:39:23 +01:00
Paul Moore 71061f3bca
Merge pull request #8321 from uranusjr/new-resolver-passing-tests
Remove new resolver marker from tests that should pass
2020-06-05 11:26:49 +01:00
Devesh Kumar Singh d2730ba2db Add news entry 2020-06-05 15:08:40 +05:30
Devesh Kumar Singh 208282af98 Parametrize test_install_package_to_usersite_with_target_must_fail 2020-06-05 15:07:47 +05:30
Tzu-ping Chung e647b12540 Yield installed candidate at the correct position 2020-06-05 08:17:28 +08:00
Tzu-ping Chung 53ce9b66ac Add failing test for bug found 2020-06-05 08:14:46 +08:00
Devesh Kumar Singh b0f67fd8a4 Add news entry 2020-06-05 02:41:45 +05:30
Devesh Kumar Singh db11f83e2a Fix tests module with flake8-bugbear 2020-06-05 02:41:08 +05:30