Commit Graph

10855 Commits

Author SHA1 Message Date
Pradyun Gedam e1d489fce6
Merge pull request #8743 from McSinyx/fast-deps-hash
Test hash checking for fast-deps
2020-08-18 19:25:07 +05:30
Hugo e93257c080 Warn Python 3.5 support is deprecated and will be removed in pip 21.0, Jan 2021 2020-08-18 15:22:16 +03:00
Nguyễn Gia Phong 14397418d1 Test hash checking for fast-deps 2020-08-17 20:46:39 +07:00
Pradyun Gedam ae7ed9a650
Merge pull request #8766 from McSinyx/test-req-new-resolver 2020-08-17 18:20:17 +05:30
Pradyun Gedam a3fd4246af
Merge pull request #8709 from McSinyx/successfully-downloaded
[2020-resolver] List downloaded distributions before exiting
2020-08-17 17:22:17 +05:30
Nguyễn Gia Phong 15e5680d8a Use the new resolver for test requirements 2020-08-16 14:25:32 +07:00
Nguyễn Gia Phong 0c0223765a Unpin pytest and its plugins
This works around the incompatibility of pytest-xdist 2.0.0
with older pytest: https://github.com/pytest-dev/pytest-xdist/issues/580
2020-08-16 14:24:41 +07:00
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
Noah 24d5fe86c0
Update news/8103.bugfix
Co-authored-by: Pradyun Gedam <3275593+pradyunsg@users.noreply.github.com>
2020-08-13 15:34:00 +03:00
Stéphane Bidoul 4c348cf3a0
Consider success flag instead of absence of exception 2020-08-13 09:38:56 +02:00
Stéphane Bidoul 03d49da397
Add news 2020-08-13 09:31:20 +02:00
Stéphane Bidoul 9c4a88b0a0
Improve deprecation message for issue 8368 2020-08-12 11:07:36 +02:00
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
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