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

9826 commits

Author SHA1 Message Date
Tzu-ping Chung 9eb47650b0 Please don't use shell=True :( 2020-05-05 20:29:21 +08:00
Pradyun Gedam 6d1b1cf6c1
Merge pull request #8061 from uranusjr/no-requirementset-before-resolve 2020-05-05 16:42:57 +05:30
Pradyun Gedam 09a5af52e4
Merge pull request #8125 from uranusjr/yanked-link-warning-relocate 2020-05-05 16:15:52 +05:30
Tzu-ping Chung 1f32d8dfc6 Refine output check to accomodate specifier change 2020-05-05 18:42:53 +08:00
Paul Moore 8664218164 Merge branch 'master' into nr_constraints2 2020-05-05 11:41:09 +01:00
Pradyun Gedam c74128c424
Merge pull request #8180 from sbidoul/wheel-absent-warning-sbi 2020-05-05 16:08:54 +05:30
Pradyun Gedam cbfbc29b63
Merge pull request #8118 from ilanschnell/yaml_updates 2020-05-04 19:30:50 +05:30
Tzu-ping Chung 6b34b39b7e Build ireq line from parent for installed dist 2020-05-04 02:19:12 +08:00
Tzu-ping Chung 647dc6e128 Include prereleases in specifier check 2020-05-04 02:08:27 +08:00
Tzu-ping Chung 8facc4cee1 Avoid RequirementSet before reaching the resolver
The RequirementSet implementation conflates requirements incorrectly in
a lot of places. This means the (new) resolver would get incomplete
requirements.

The removes all RequirementSet.add_requirement() calls outside of the
legacy resolver, so the new resolver can get the unmodified list of
requirements specified by the user, allowing for more sophisticated
requirement merging.
2020-05-04 01:24:19 +08:00
gutsytechster b30dd1e04e fix(tests/unit): Update tests to be endian safe
This updates `test_path_to_display` and `test_str_to_display__encoding`
to use the endian safe expected result instead of the hardcoded one.

This fixes https://github.com/pypa/pip/issues/7921
2020-05-03 22:51:00 +05:30
Paul Moore 67e42423d0
Merge pull request #8126 from pfmoore/nr_upgrade_strategy
Implement upgrade strategies for the new resolver
2020-05-03 12:39:45 +01:00
Paul Moore 1599cc2a36 Merge branch 'master' into nr_upgrade_strategy 2020-05-03 11:01:27 +01:00
Paul Moore 218e7d830d
Merge pull request #8146 from uranusjr/new-resolver-extra-in-explicit-requirement
New resolver: Carry extras info in ExplicitRequirement
2020-05-03 10:57:48 +01:00
Paul Moore d3847e3071
Merge pull request #8059 from pelson/extra_requirements
Add xfail tests for case where specifications added as an extra are not honoured
2020-05-03 10:07:40 +01:00
Paul Moore 79a0afb79a
Merge pull request #8005 from uranusjr/candidate-from-link-retains-specifier
New resolver: Use requirement line to populate LinkCandidate._ireq
2020-05-03 09:59:50 +01:00
Paul Moore 2483fb6cdd
Merge pull request #8127 from pradyunsg/resolver/installation-order
Rework `get_installation_order` to allow for dependency cycles
2020-05-03 09:58:59 +01:00
Stéphane Bidoul 55d6022989
Update news/8178.bugfix
Co-authored-by: Xavier Fernandez <xav.fernandez@gmail.com>
2020-05-01 21:36:02 +02:00
Stéphane Bidoul 430ca847f3
Add news 2020-05-01 09:57:16 +02:00
Stéphane Bidoul d8c14d4006
Clarify message when wheel is not installed 2020-05-01 09:57:16 +02:00
Stéphane Bidoul c20f778899
Do not unncessarily warn about wheel being absent
Do not warn about the wheel package being absent
if wheel building would have been skipped for another reason.
2020-05-01 09:57:15 +02:00
Pradyun Gedam 612970b1cf
Merge pull request #8166 from deveshks/fix-generated-file-mode 2020-04-30 06:48:03 +05:30
Pradyun Gedam 369565dfef
Merge pull request #8173 from hugovk/document-pip-cache-dir 2020-04-30 06:47:39 +05:30
Hugo 64b9eddfa4 Reference 'pip cache' in the 'pip install' caching section 2020-04-29 18:22:35 +03:00
Paul Moore 0058bb5212 Improve test 2020-04-29 14:55:15 +01:00
Paul Moore c92f55f9fc Implement constraints 2020-04-29 13:03:25 +01:00
Paul Moore 5186f05bd7 Add tests for constraints 2020-04-29 12:16:09 +01:00
Devesh Kumar Singh 8dccece9c0 Combine setting new umask and getting old one into one 2020-04-29 11:57:11 +05:30
Devesh Kumar Singh 8fc6f35620 Fix NEWS wording 2020-04-29 11:48:17 +05:30
Devesh Kumar Singh 9319703ad9 Add unit test for checking permissions with custom umask 2020-04-29 11:46:43 +05:30
Ilan Schnell e8920daeab add trivial example to demonstrate installing and uninstalling multiple packages 2020-04-29 00:12:02 -05:00
Ilan Schnell 1f6ff0cc6e make flake8 happy 2020-04-28 23:43:00 -05:00
Devesh Kumar Singh 2423d58ea5 Fix generated file mode to use bitwise AND 2020-04-29 10:05:29 +05:30
Ilan Schnell 8b4a4c469a add ability to install list of requirements - with example in simple.yml 2020-04-28 23:32:55 -05:00
Ilan Schnell c14c92d9cd simplify handle_request() - improve error checking 2020-04-28 23:15:57 -05:00
Ilan Schnell 28b0fd353b add allow_error parameter to .run() method 2020-04-28 22:49:18 -05:00
Pradyun Gedam 43426eea34
Merge pull request #8158 from pradyunsg/release/20.1
Release 20.1
2020-04-28 22:20:12 +05:30
Pradyun Gedam 5ce941ca5b
Bump for release 2020-04-28 21:02:03 +05:30
Pradyun Gedam 4b4b2d4b1f
Bump for development 2020-04-28 21:02:03 +05:30
Pradyun Gedam 7090f803a2
Update AUTHORS.txt 2020-04-28 21:02:02 +05:30
Pradyun Gedam 371d6f5c67
Merge pull request #8157 from pradyunsg/cache/ignore-require-venv 2020-04-28 20:52:46 +05:30
Pradyun Gedam a12fc7cc2c
Ignore require-virtualenv in pip cache 2020-04-28 17:05:19 +05:30
Paul Moore 1eb7011da4 Add an assertion that upgrade_strategy is valid 2020-04-28 10:39:53 +01:00
Pradyun Gedam 22bd8add95
Merge pull request #8095 from hugovk/pip-cache-dir2 2020-04-28 00:57:10 +05:30
Pradyun Gedam c4c2870eb4
Merge pull request #8144 from uranusjr/wheel-install-permissions 2020-04-27 22:07:14 +05:30
Tzu-ping Chung 2245fceb3a Make the permission logic more generic 2020-04-27 16:51:01 +08:00
Hugo 6b640d1254 Add test for 'pip cache dir 123' with too many arguments 2020-04-27 11:02:18 +03:00
Pradyun Gedam 45f762eb7b
Merge pull request #7780 from AndydeCleyre/bugfix/7728 2020-04-27 12:51:54 +05:30
Tzu-ping Chung a24fbd915e
Wording on news fragment
Co-Authored-By: Pradyun Gedam <pradyunsg@gmail.com>
2020-04-27 15:00:11 +08:00
Tzu-ping Chung 06d9ea0952 Mark local install as xfail 2020-04-27 14:36:59 +08:00