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

10816 commits

Author SHA1 Message Date
Pradyun Gedam 595aa7b294
Merge pull request #8651 from pradyunsg/update-coc-reference 2020-08-07 09:58:52 +05:30
Noah Gorny 3e70cbe571 news: Add --extra-index-url req file bugfix news 2020-08-06 19:25:50 +03:00
Noah Gorny aae63795b2 reqfile: Update extra-index-url/index-url in session from requirements file
Also update the relevant tests
2020-08-06 19:25:31 +03:00
Pradyun Gedam f17c1d6d3b
Merge pull request #8710 from McSinyx/unnest-lazy-fetch 2020-08-06 20:12:32 +05:30
Nguyễn Gia Phong 11f7994a66 Revise method fetching metadata using lazy wheels
* Rename it to fit the fact that it no longer handle
  fetching _not_ using lazy wheels
* Use self as the first parameter
* Unnest the checks with additional logs showing reason
  when lazy wheel is not used
2020-08-06 18:43:02 +07:00
Nguyễn Gia Phong 487d00295c Define RequirementPreparer._session 2020-08-06 18:42:59 +07:00
Nguyễn Gia Phong 709ad37b2f
Make assertion failure give better message (#8692) 2020-08-06 15:40:13 +05:30
Nguyễn Gia Phong 4f210f3608 [2020-resolver] List downloaded distributions before exiting
This unifies the behavior of pip download for both legacy and new
resolvers.  InstallRequirement.successfully_download is no longer needed
for this task and is thus retired.
2020-08-06 16:52:31 +07:00
Tzu-ping Chung 810385b971 Always use UTF-8 to read pyvenv.cfg 2020-08-06 11:46:46 +08:00
Tzu-ping Chung 4fce2ea88c Add test to ensure get_distribution() behavior 2020-08-06 10:59:07 +08:00
Chris Hunt f51bd8fed8
Merge pull request #8716 from McSinyx/fix-range-request-cache
Disable caching for range requests
2020-08-05 19:58:22 -04:00
Nguyễn Gia Phong ffd6a38646 Disable caching for range requests 2020-08-05 22:19:49 +07:00
Pradyun Gedam 3d3c7b62f4
Merge pull request #8693 from pradyunsg/remove-news 2020-08-05 10:11:35 +05:30
Tzu-ping Chung c04182893a Work around lax semantics in commands.search 2020-08-05 04:56:00 +08:00
Tzu-ping Chung 8491ce7723 Refactor and clarify get_distribution() behavior
The call to get_installed_distributions() now passes all flags
excplicitly so they are more obvious and less likely to be misunderstood
in the future. The behavior also documented in the function docstring.

The search_distribution() helper function is renamed with a leading
underscore to make it clear that it is intended as a helper function to
get_distribution().
2020-08-05 03:07:07 +08:00
Tzu-ping Chung e459763d81 Also look for non-local when searching for dists
This matches the behavior of pkg_resources.get_distribution(), which
this function intends to replace.
2020-08-05 03:07:07 +08:00
Tzu-ping Chung ff494f524e News 2020-08-05 03:07:07 +08:00
Pradyun Gedam ee4371c386
Merge pull request #8685 from chrahunt/use-preparer-for-lazy-wheels 2020-08-04 18:46:56 +05:30
Pradyun Gedam ae10b82f8c
Remove news/ files for 20.2.1 2020-08-04 16:45:12 +05:30
Pradyun Gedam 370322eacf
Merge pull request #8691 from pradyunsg/release/20.2.1 2020-08-04 14:00:51 +05:30
Pradyun Gedam fa2714fcd6
Bump for release 2020-08-04 10:46:12 +05:30
Pradyun Gedam bc86c7c33b
Bump for development 2020-08-04 10:46:12 +05:30
Pradyun Gedam 02ad77d944
Merge pull request #8603 from tekumara/pip-list-ignore-require-venv 2020-08-04 10:38:03 +05:30
Pradyun Gedam 6eea0d0a18
Merge pull request #8660 from brainwane/update-flag-in-docs
Update documentation to reflect updated resolver feature flag
2020-08-04 10:38:03 +05:30
Stéphane Bidoul 22d67dc261
Merge pull request #8665 from uranusjr/svn-version-more-robust
Improve SVN version parser
2020-08-04 10:38:03 +05:30
Pradyun Gedam 864e2eee09
Merge pull request #8659 from uranusjr/fix-get-distribution-dot-in-name
Canonicalize name in check_if_exists
2020-08-04 10:38:02 +05:30
Pradyun Gedam ed205bdfa6
Merge pull request #8656 from chrahunt/gracefully-handle-bad-data-paths
Trace a better error message on installation failure due to invalid .data files in wheels
2020-08-04 10:38:02 +05:30
Pradyun Gedam 552b8376c0
Merge pull request #8678 from uranusjr/new-resolver-no-deps-extras-install-self 2020-08-04 10:38:02 +05:30
Pradyun Gedam 4a39344e94
Merge pull request #8688 from brainwane/deprecation-opt-in-resolver
Docs: Add details on old resolver deprecation and removal
2020-08-04 10:38:02 +05:30
Pradyun Gedam b29dd4edc5
Merge pull request #8679 from pradyunsg/tweak-resolutionimpossible-message 2020-08-04 10:38:02 +05:30
Pradyun Gedam 527b3e27fb
Merge pull request #8684 from uranusjr/zipfile-unicode-path-python2 2020-08-04 10:38:01 +05:30
Pradyun Gedam ce1e7d80ad
Merge pull request #8681 from McSinyx/faster-deps
[fast-deps] Make range requests closer to chunk size
2020-08-04 10:38:01 +05:30
Pradyun Gedam a40a4efdbe
Merge pull request #8672 from edmorley/fix-userguide-typos 2020-08-04 10:38:01 +05:30
Pradyun Gedam 64e4852bc6
Merge pull request #8690 from pradyunsg/more-news-about-resolver 2020-08-04 10:37:48 +05:30
Pradyun Gedam 686c11a7a2
Merge pull request #8690 from pradyunsg/more-news-about-resolver 2020-08-04 10:28:35 +05:30
Pradyun Gedam 18aa718a58
Drop punctuation
Co-authored-by: Sumana Harihareswara <sh@changeset.nyc>
2020-08-04 09:50:40 +05:30
Pradyun Gedam 68cdfa93d9
Mention ResolutionImpossible in changelog for 8459 2020-08-04 08:55:59 +05:30
Pradyun Gedam 175371c7e3
Mention ResolutionImpossible in 20.2 changelog 2020-08-04 08:55:12 +05:30
Pradyun Gedam d8ba146e65
Merge pull request #8672 from edmorley/fix-userguide-typos 2020-08-04 08:39:32 +05:30
Pradyun Gedam e7357c71cd
Merge pull request #8681 from McSinyx/faster-deps
[fast-deps] Make range requests closer to chunk size
2020-08-04 07:38:48 +05:30
Pradyun Gedam 57ee51c2b1
Un-rewrap lines 2020-08-04 06:55:17 +05:30
Pradyun Gedam 70768de0a8
Merge pull request #8684 from uranusjr/zipfile-unicode-path-python2 2020-08-04 06:50:38 +05:30
Pradyun Gedam 0c48ec0696
Merge pull request #8679 from pradyunsg/tweak-resolutionimpossible-message 2020-08-04 06:49:10 +05:30
Pradyun Gedam e35135b923
Merge pull request #8688 from brainwane/deprecation-opt-in-resolver
Docs: Add details on old resolver deprecation and removal
2020-08-04 06:48:49 +05:30
Pradyun Gedam 4fa31d509f
Merge pull request #8678 from uranusjr/new-resolver-no-deps-extras-install-self 2020-08-04 06:48:11 +05:30
Nguyễn Gia Phong d98ff19c27 [fast-deps] Make range requests closer to chunk size 2020-08-03 21:49:58 +07:00
Sumana Harihareswara 20663fc993 Docs: Add details on old resolver deprecation and removal
Relevant to #8371, #6536, #8076.

Signed-off-by: Sumana Harihareswara <sh@changeset.nyc>
2020-08-03 10:45:25 -04:00
Miro Hrončok ba062c3ed0 When one keyring attempt fails, don't bother with more
This makes https://github.com/pypa/pip/issues/8090 much less painful.
2020-08-03 12:34:26 +02:00
Tzu-ping Chung a12e2f1479 PEP 427 mandates UTF-8, we don't need the fallback 2020-08-03 15:00:58 +08:00
Tzu-ping Chung d4995cb89e Implement heuristics to get non-ASCII ZIP entries 2020-08-03 09:29:19 +08:00