Commit Graph

10843 Commits

Author SHA1 Message Date
Pradyun Gedam d0051aafb0
Merge branch 'master' into release/20.2.4 2020-10-16 18:22:56 +05:30
Pradyun Gedam c73f06f447
Bump for development 2020-10-16 18:12:10 +05:30
Pradyun Gedam 57dd580f58
Bump for release 2020-10-16 18:12:10 +05:30
Pradyun Gedam 6a8956d7a8
Merge pull request #8932 from uranusjr/new-resolver-lazy-sequence 2020-10-16 18:12:03 +05:30
Pradyun Gedam 4aec7e81c9
Merge pull request #8758 from uranusjr/new-resolver-requires-python-when-no-deps 2020-10-16 18:11:08 +05:30
Pradyun Gedam 0a637fa89a
Merge pull request #8942 from brainwane/docs-8661
docs: Add how to default to new resolver
2020-10-16 18:09:10 +05:30
Pradyun Gedam c8533f0f60
Merge pull request #8933 from brainwane/put-key-links-on-front-page 2020-10-16 18:09:10 +05:30
Pradyun Gedam 74f48cf8fc
Merge pull request #8927 from hugovk/document-python-support-policy
Document Python support policy
2020-10-16 18:09:10 +05:30
Pradyun Gedam ff5a9b5f6f
Merge pull request #8926 from uranusjr/dont-crash-on-check
Don't crash on 'check' when METADATA is missing
2020-10-16 18:09:09 +05:30
Pradyun Gedam ae4d27179f
Merge pull request #8924 from uranusjr/new-resolver-try-user-requested-combinations-first 2020-10-16 18:09:09 +05:30
Pradyun Gedam 314de5a3b4
Merge pull request #8912 from uranusjr/cache-found-candidates 2020-10-16 18:09:02 +05:30
Pradyun Gedam e7e62d8f75
Merge pull request #8873 from hugovk/docs-3-months-deprecation 2020-10-16 18:08:32 +05:30
Pradyun Gedam e832878f3f
Merge pull request #8839 from uranusjr/new-resolver-hash-intersect 2020-10-16 18:08:32 +05:30
Pradyun Gedam 7170313602
Merge pull request #8807 from pypa/add-ux-docs
Add ux docs to pip documentation
2020-10-16 18:08:32 +05:30
Xavier Fernandez f9a1761e94
Merge pull request #8795 from McSinyx/user-guide-fmt
Reformat a few spots in user guide
2020-10-16 18:08:32 +05:30
Pradyun Gedam df554a9337
Merge pull request #8780 from eamanu/fix-8009 2020-10-16 18:08:32 +05:30
Pradyun Gedam 6407f7ed85
Merge pull request #7859 from pradyunsg/docs/deep-dive-cli
Architecture Documentation: CLI deep dive
2020-10-16 18:08:31 +05:30
Pradyun Gedam 3fe826c699
Merge pull request #8932 from uranusjr/new-resolver-lazy-sequence 2020-10-13 19:23:53 +05:30
Tzu-ping Chung b921db84bd Improve sorting logic 2020-10-13 16:12:11 +08:00
Tzu-ping Chung 761433cee8 Eliminate len() usage in tests 2020-10-13 16:12:11 +08:00
Tzu-ping Chung 17d0086ea2 Do this all over again 2020-10-13 16:12:11 +08:00
Tzu-ping Chung d22775819b Test for candidate ordering 2020-10-13 16:12:11 +08:00
Tzu-ping Chung 6e3d56897b Always return the installed version 2020-10-13 16:12:11 +08:00
Tzu-ping Chung 270e183718 News 2020-10-13 16:12:11 +08:00
Tzu-ping Chung 01c9b6cf25 Cache results and remove unused implementation 2020-10-13 16:06:00 +08:00
Tzu-ping Chung a270ca5616 Mypy is wrong 2020-10-13 16:06:00 +08:00
Tzu-ping Chung 8326148149 Implement "lazy sequence" to avoid Internet
find_matches() is modified to return a special type that implements
the sequence protocol (instead of a plain list). This special sequence
type tries to use the installed candidate as the first element if
possible, and only access indexes when the installed candidate is
considered unsatisfactory.
2020-10-13 16:06:00 +08:00
Pradyun Gedam 063f2ae74e
Merge pull request #8974 from NoahGorny/fix-new-resolver-upgrades-when-not-needed-to 2020-10-10 20:41:48 +05:30
Pradyun Gedam 95dbf34d6e
Merge pull request #8919 from FFY00/fix-devendored-pip
Revert "Merge pull request #8391 from VikramJayanthi17/error-swallow-…
2020-10-10 18:41:32 +05:30
Noah Gorny 7e02958a1e Add news fragment for 8963 2020-10-10 02:23:08 +03:00
Noah Gorny 960dca9949 resolvelib: factory: Get installed distributions correctly 2020-10-10 02:23:08 +03:00
Pradyun Gedam 739f342a51
Merge pull request #8843 from McSinyx/no-save-resolve-artifacts 2020-10-07 15:26:46 +05:30
Nguyễn Gia Phong b28e2c4928 New resolver: Avoid polluting dest dir
Previously, during dependency resolution for `pip download -d <dir>`
or `pip wheel -w <dir>`, distributions downloaded are always saved
to <dir>, even for those are only used in backtracking and are not
part of the returned requirement set.
2020-10-07 13:42:21 +07:00
Nguyễn Gia Phong 6887b0795b Merge usage of download_dir and wheel_download_dir
In every cases, at least one of them is None.  By doing this,
it is also possible to simplify wrapper codes around download_dir.
2020-10-07 13:42:21 +07:00
Nguyễn Gia Phong 78b294e746 Remove download_dir exist check
Both pip download and wheel call endure_dir on the directory.
2020-10-07 13:42:21 +07:00
Pradyun Gedam dcc12f3786
Merge pull request #8962 from McSinyx/news-rst
Enforce news/*.rst
2020-10-07 03:51:04 +05:30
Nguyễn Gia Phong 234bcf6c11 Enforce news/*.rst 2020-10-06 21:36:19 +07:00
Pradyun Gedam a0f2f2cd5f
Merge pull request #8942 from brainwane/docs-8661
docs: Add how to default to new resolver
2020-10-06 18:56:56 +05:30
Pradyun Gedam 812a3a9f7e
Merge pull request #8958 from pradyunsg/enforce-rst-extension-in-news-directory
Change the symlink to be a proper file instead
2020-10-06 17:14:22 +05:30
Pradyun Gedam 717f54a931
Change the symlink to be a proper file instead. 2020-10-04 23:15:30 +05:30
Pradyun Gedam 8ce5d5abbc
Merge pull request #8147 from pradyunsg/enforce-rst-extension-in-news-directory 2020-10-03 17:02:29 +05:30
Pradyun Gedam 8e8b6a6c7d
Rename the NEWS fragments 2020-10-03 16:48:56 +05:30
Pradyun Gedam 603b2fa4ca
Rework the NEWS entries section 2020-10-03 16:48:56 +05:30
Pradyun Gedam c5744d5643
Enforce news/*.{correct-kind}.rst naming 2020-10-03 16:48:51 +05:30
Pradyun Gedam 8aab76c63f
Merge pull request #8910 from hugovk/pip-cache-http
Include http subdirectory in 'pip cache info' and 'pip cache purge'
2020-10-02 13:26:00 +05:30
Hugo van Kemenade 0652a2f016 Rename to 'Package index page cache location' 2020-10-02 09:59:38 +03:00
Pradyun Gedam d0f80a44c9
Merge pull request #8804 from McSinyx/fast-deps-check-dl-dir 2020-10-02 03:41:43 +05:30
Nguyễn Gia Phong 2ef8040495 Comment and rework conditionals in download dir check
Co-authored-by: Pradyun Gedam <3275593+pradyunsg@users.noreply.github.com>
2020-10-01 22:00:47 +07:00
Sumana Harihareswara 3b44d70b5e docs: Add how to default to new resolver
Fixes #8661.
2020-09-30 07:12:10 -04:00
Pradyun Gedam fe2075b686
Merge pull request #8848 from webknjaz/features/8783--sphinx-ext-admonitions 2020-09-30 11:00:43 +05:30