Commit Graph

10634 Commits

Author SHA1 Message Date
Nguyễn Gia Phong 530463879e Use --durations instead of --duration for pytest
Newer pytest no longer accepts --duration as an alias for --durations.
2020-08-16 14:20:37 +07:00
Paul Moore 5ef3dd1a54
Merge pull request #8759 from McSinyx/fix-test-py2-warn
Allow py2 deprecation warning from setuptools
2020-08-14 18:03:47 +01:00
Nguyễn Gia Phong 46b938349a Allow py2 deprecation warning from setuptools 2020-08-14 17:56:15 +07:00
Pradyun Gedam 4312b940b4
Merge pull request #8737 from McSinyx/dl-many 2020-08-14 10:46:17 +05:30
Nguyễn Gia Phong b46576d933 Give batch downloader a separate class 2020-08-12 16:07:27 +07:00
Nguyễn Gia Phong a1aeb4ce01 Check download folder for files to be downloaded in batch 2020-08-12 16:02:28 +07:00
Nguyễn Gia Phong 18c803a413 Check hashes of memoized downloads 2020-08-11 22:40:42 +07:00
Nguyễn Gia Phong 39d296eeb8 Clean up code style and internal interface
Co-Authored-By: Pradyun Gedam <pradyunsg@gmail.com>
Co-Authored-By: Chris Hunt <chrahunt@gmail.com>
2020-08-11 22:40:39 +07:00
Nguyễn Gia Phong 078e0effb7 Add memoization mechanism for file download
This is intentionally dependent from caching, which relies on cache dir.
2020-08-11 22:39:42 +07:00
Nguyễn Gia Phong e62f16e969 Make Downloader perform the download 2020-08-11 22:36:08 +07:00
Pradyun Gedam ea10d0e253
Merge pull request #8746 from pradyunsg/release/20.2.2 2020-08-11 18:11:50 +05:30
Pradyun Gedam cef8abd268
Bump for development 2020-08-11 16:56:42 +05:30
Pradyun Gedam e16ebf1b7f
Bump for release 2020-08-11 16:56:41 +05:30
Chris Hunt b9e403b173
Merge pull request #8716 from McSinyx/fix-range-request-cache
Disable caching for range requests
2020-08-11 16:55:07 +05:30
Pradyun Gedam 0ebe453140
Merge pull request #8727 from uranusjr/new-resolver-constraint-markers 2020-08-11 16:55:03 +05:30
Pradyun Gedam 516c7431bc
Merge pull request #8718 from uranusjr/pyvenv-cfg-encoding
Always use UTF-8 to read pyvenv.cfg
2020-08-11 16:54:59 +05:30
Pradyun Gedam e04cd89f6f
Merge pull request #8702 from uranusjr/get-distribution-looks-for-all 2020-08-11 16:54:56 +05:30
Pradyun Gedam 626d631682
Merge pull request #8744 from hroncok/keyring_global_nope
When one keyring attempt fails, don't bother with more
2020-08-11 16:54:52 +05:30
Pradyun Gedam c7b477777a
Merge pull request #8730 from McSinyx/news-8701-8716
Add news for disabling range response caching
2020-08-11 16:54:47 +05:30
Pradyun Gedam ac01180cba
Merge pull request #8730 from McSinyx/news-8701-8716
Add news for disabling range response caching
2020-08-11 15:41:35 +05:30
Pradyun Gedam 8eea660e03
Merge pull request #8744 from hroncok/keyring_global_nope
When one keyring attempt fails, don't bother with more
2020-08-11 15:41:02 +05:30
Pradyun Gedam 4c7bbdb4e4
Merge pull request #8702 from uranusjr/get-distribution-looks-for-all 2020-08-10 20:30:55 +05:30
Chris Hunt 2e4d748897
Merge pull request #8636 from EpicWink/doc/keyring
Document keyring support for index basic-auth
2020-08-08 09:05:32 -04:00
Nguyễn Gia Phong 8dc0d9c8d9 Add news for disabling range response caching 2020-08-08 00:16:37 +07:00
Pradyun Gedam e8f52198a9
Merge pull request #8718 from uranusjr/pyvenv-cfg-encoding
Always use UTF-8 to read pyvenv.cfg
2020-08-07 15:11:32 +05:30
Pradyun Gedam d6d84e7c91
Merge pull request #8727 from uranusjr/new-resolver-constraint-markers 2020-08-07 14:41:46 +05:30
Tzu-ping Chung 4683ad02e3 Allow filtering constraints with markers 2020-08-07 13:55:38 +08:00
Tzu-ping Chung 312d1d0473 Add failing test for constraints with markers 2020-08-07 13:43:49 +08:00
Pradyun Gedam 595aa7b294
Merge pull request #8651 from pradyunsg/update-coc-reference 2020-08-07 09:58:52 +05:30
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
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