Commit Graph

10787 Commits

Author SHA1 Message Date
Pradyun Gedam 184cca345e
Merge pull request #8674 from McSinyx/test-install-check-log 2020-08-02 07:19:11 +05:30
Nguyễn Gia Phong e48a0cb7cb Remove no-longer-used messages 2020-08-01 20:26:44 +07:00
Nguyễn Gia Phong 0ef877339a Make assertions independent of log prefixes 2020-08-01 20:26:44 +07:00
Stéphane Bidoul 9add5aa923
Merge pull request #8665 from uranusjr/svn-version-more-robust
Improve SVN version parser
2020-08-01 14:13:54 +02:00
Tzu-ping Chung ea47920767 Add test case for SlikSVN version parsing 2020-08-01 02:03:45 +08:00
Ed Morley f31898e18c Fix typos in the docs about conflicting dependencies
Previously:
- the example wildcard version string was being rendered with a stray
  space (`== 3.1. *` instead of `== 3.1.*`) due to the markup being
  split over two lines
- the "Dependency Hell" Wikipedia URL 404ed due to the trailing `>`
2020-07-31 13:17:36 +01:00
Tzu-ping Chung c8596e1410 News 2020-07-31 06:45:40 +08:00
Tzu-ping Chung c3e1a153fd Improve SVN version parser
SVN has multiple distributions on Windows, e.g. SlikSVN, CollabNet. Some
of them suffix the version with a "-{distro}" part, which causes the
previous implementation to fail.

This patch removes that final part and make the version logic work.
2020-07-31 06:38:43 +08:00
Pradyun Gedam 930aa5c708
Merge pull request #8660 from brainwane/update-flag-in-docs
Update documentation to reflect updated resolver feature flag
2020-07-31 01:17:00 +05:30
Sumana Harihareswara 27b4980c6c Update documentation to reflect updated resolver feature flag
Followup to #8371, #8530, #8513.
2020-07-30 14:02:14 -04:00
Tzu-ping Chung 1fd5098b24 Canonicalize name in check_if_exists
The previous implementation uses pkg_resources.get_distribution(), which
does not canonicalize the package name correctly, and fails when
combined with pip's own get_distribution(), which does canonicalize
names. This makes InstallRequirement.check_if_exists() only use pip's
own canonicalization logic so different package name forms are matched
as expected.
2020-07-30 22:04:51 +08:00
Chris Hunt 127c5b026c Add news 2020-07-29 22:24:09 -04:00
Chris Hunt 3f9b326c11 Provide a reasonable error on invalid scheme keys
Originally we would throw an `AttributeError` if a bad scheme key was
used. After refactoring we would throw a `KeyError`, which isn't much
better. Now we call out the wheel being processed, scheme key we didn't
recognize, and provide a list of the valid scheme keys. This would
likely be useful for people developing/testing the wheel.
2020-07-29 22:24:09 -04:00
Chris Hunt 864f0e0efa Explicitly handle incorrect .data paths during wheel install
Previously our wheel installation process allowed wheels which contained
non-conforming contents in a contained .data directory.

After the refactoring to enable direct-from-wheel installation, pip
throws an exception when encountering these wheels, but does not include
any helpful information to pinpoint the cause.

Now if we encounter such a wheel, we trace an error that includes the
name of the requirement we're trying to install, the path to the wheel
file, the path we didn't understand, and a hint about what we expect.
2020-07-29 18:12:16 -04:00
Pradyun Gedam 5dac5dc098
Drop CoC reference from new issue templates 2020-07-29 23:22:45 +05:30
Pradyun Gedam c7af6a420c
Update Code of Conduct references 2020-07-29 23:16:12 +05:30
Pradyun Gedam 31299ee370
Merge pull request #8603 from tekumara/pip-list-ignore-require-venv 2020-07-29 09:28:58 +05:30
Pradyun Gedam a2ea371dcb
Merge pull request #8642 from pradyunsg/release/20.2
Release 20.2
2020-07-29 08:53:57 +05:30
Pradyun Gedam a28081c28e
Bump for development 2020-07-29 07:53:18 +05:30
Pradyun Gedam 127acd8c9e
Bump for release 2020-07-29 07:53:17 +05:30
Pradyun Gedam 20dc509013
Update AUTHORS.txt 2020-07-29 07:53:17 +05:30
Pradyun Gedam 5160a254ca
Merge pull request #8491 from brainwane/testing-guide-beta 2020-07-29 06:41:24 +05:30
Sumana Harihareswara 66d39f942c Clarify on conflicts and multiplicity 2020-07-28 11:25:05 -04:00
Sumana Harihareswara 263f85b0ad formatting fix 2020-07-28 10:21:52 -04:00
Sumana Harihareswara ec736200f4 formatting 2020-07-28 10:16:58 -04:00
Sumana Harihareswara d374b0d877 Add changelog entry 2020-07-28 10:09:24 -04:00
Sumana Harihareswara 1e5e544b5c Ref links and followup tips 2020-07-28 10:01:03 -04:00
Sumana Harihareswara 223e379456 WIP formatting 2020-07-28 09:50:46 -04:00
Sumana Harihareswara 6bfbce0adc WIP adding links to issues
Addresses #8210 , #8253
2020-07-28 09:47:07 -04:00
Sumana Harihareswara a910ef6d37 WIP linking to issues
Addresses #6536 and #6628.
2020-07-28 09:43:07 -04:00
Sumana Harihareswara e898267d94 WIP fixing tabs spaces problem 2020-07-28 09:35:14 -04:00
Sumana Harihareswara 483dec270a WIP formatting 2020-07-28 09:33:31 -04:00
Sumana Harihareswara af0633e633 WIP formatting and links 2020-07-28 09:29:23 -04:00
Sumana Harihareswara 0ec91a541f WIP: moving test suggestions from other issue
Related to #8099.
2020-07-28 09:23:59 -04:00
Sumana Harihareswara 2142d04c72 WIP: improvements to list of things to test 2020-07-28 09:23:59 -04:00
Sumana Harihareswara 5bf4c56376 WIP: update info about release plan 2020-07-28 09:23:59 -04:00
Sumana Harihareswara 0783460a7e Improve coverage of conflicts from installed packages 2020-07-28 09:23:59 -04:00
Sumana Harihareswara d8d6da6985 Docs: add item about constraints files 2020-07-28 09:23:59 -04:00
Sumana Harihareswara d51fd4799c docs: include force-reinstall item 2020-07-28 09:23:59 -04:00
Sumana Harihareswara f74c764c85 Work in progress: docs: 20.2 beta testing guide 2020-07-28 09:23:59 -04:00
Pradyun Gedam a8edffda1c
Merge pull request #8594 from pradyunsg/improve-install-conflict-warning 2020-07-28 18:22:53 +05:30
Pradyun Gedam 9033824cbc
Python 2 *sigh* 2020-07-28 11:24:44 +05:30
Nguyễn Gia Phong a85be3f555 Test verbose/quiet level specified via env var and config file 2020-07-28 10:13:24 +07:00
Nguyễn Gia Phong 7a0061d886 Update docs for setting verbose/quiet in config file or env var
Co-authored-by: Paul Moore <p.f.moore@gmail.com>
Co-authored-by: Prashant Sharma <prashantsharma161198@gmail.com>
Co-authored-by: Xavier Fernandez <xav.fernandez@gmail.com>
2020-07-28 10:13:14 +07:00
Nguyễn Gia Phong 2439d80a83 Allow specifying verbose/quiet level via config file and env var 2020-07-28 10:11:18 +07:00
Laurie O bac3c8eb9a
Explicitly note that pip does not vendor keyring 2020-07-28 10:42:01 +10:00
Emmanuel Arias b6c99afade
Add note explaining the Docs PR deploy (#8622)
Add a note to explain that documentation is
deployed readthedocs for each PR.
2020-07-27 18:26:41 +02:00
Pradyun Gedam 3f88476e4f
This counts as a fix right? 2020-07-27 20:06:55 +05:30
Pradyun Gedam 3962f9d2b8
Moar tests getting updated 2020-07-27 19:51:47 +05:30
Pradyun Gedam b9ff93f7ba
Update test messages to reflect new reality 2020-07-27 19:51:47 +05:30