Commit Graph

13 Commits

Author SHA1 Message Date
Vikram - Google 8ef2191a09 Fixed Error Swallowing outlined in issue 5354 2020-06-02 16:45:48 -07:00
Stefano Rivera 7fb9a9dbc5 Mark certifi as bundled, it's used in the debug command 2020-04-21 09:07:50 -07:00
Pradyun Gedam 8b359582de
Fix `vendored` calls 2020-04-14 15:16:04 +05:30
Tzu-ping Chung 36065cf2e0 Vendor ResolveLib from Git
We are vendoring from the Git source for now, so the bug fix turnover
can be quicker if there's anything wrong in the resolution logic.

HEAD up-to-date as of 2020-03-12.
2020-03-12 22:37:30 +08:00
Christoph Reiter 9be7454fd6 fix un-vendored support; add missing entry for appdirs
pip has started to use the vendored appdirs directly since #7501
but didn't add an alias for the unbundled case.

This adds the missing alias.
2020-02-04 10:49:40 +01:00
Chris Hunt 51d7a97385 Remove Lockfile. 2019-09-15 17:09:44 -04:00
Chris Hunt 01fa93f715 Add contextlib2 for ExitStack in Python 2. 2019-09-07 09:41:18 -04:00
Chih-Hsuan Yen e4936da2e1
Fix handling of requests exceptions when dependencies are debundled 2019-04-01 14:56:08 +08:00
Chih-Hsuan Yen 8ef3283fcf Ensure all pip._vendor.* modules are mapped to debundled correspondences (#6113)
With the original `vendored()` implementation and such an initialization sequence:

```
vendored("packaging")
vendored("packaging.version")
```

In `sys.modules`, `pip._vendor.packaging` is correctly connected to the debundled `packaging`, while `pip._vendor.packaging.version` is not, as the latter is `__import__`ed from the existing `pip._vendor.packaging` module. That results in the same issue as https://github.com/pypa/pip/issues/5429 - `pip._vendor.packaging.version.Version` and `packaging.version.Version` cannot be compared.

This patch attempts to fix this issue by skipping `__import__` from the vendored name. This is safe because `vendored()` is called only when `DEBUNDLED = True`, and vendored libraries are already deleted as per [debundling instructions](https://github.com/pypa/pip/blob/master/src/pip/_vendor/README.rst#debundling).
2019-03-15 10:26:35 +05:30
Eli Schwartz 7371a75595
fix un-vendored support; add missing entry for pep517 2018-11-30 14:08:54 -05:00
Eli Schwartz 8078d99480
fix un-vendored support; add missing entry for urllib3 2018-06-19 23:34:40 -04:00
Benoit Pierre d8e6654f8d fix un-vendored support; add missing entries (#4661) 2017-10-07 09:58:33 +05:30
Donald Stufft 95bcf8c5f6 Move all internal APIs to pip._internal 2017-08-31 14:53:00 -04:00
Renamed from pip/_vendor/__init__.py (Browse further)