diff --git a/news/4195.bugfix b/news/4195.bugfix new file mode 100644 index 00000000000..b312734c4f3 --- /dev/null +++ b/news/4195.bugfix @@ -0,0 +1 @@ +Fix handling of requests exceptions when dependencies are debundled. diff --git a/src/pip/_vendor/__init__.py b/src/pip/_vendor/__init__.py index c6f49c5cb9b..c1d9508dd4c 100644 --- a/src/pip/_vendor/__init__.py +++ b/src/pip/_vendor/__init__.py @@ -77,6 +77,7 @@ def vendored(modulename): vendored("pytoml") vendored("retrying") vendored("requests") + vendored("requests.exceptions") vendored("requests.packages") vendored("requests.packages.urllib3") vendored("requests.packages.urllib3._collections")