<p dir="auto">Description<br>
We are using requests package for our application development and the framework picks up latest version of requests whenever it builds.Today we noticed that our app broken due to new version of Requests 2.16.0.The "Packages" module is completely missing and it leads to our delivery blocking,Could you please check and let us know if we can expect any quick fix for this issue?</p>
<p dir="auto">Working version:<br>
2.14.2 and 2.15.1</p>
<p dir="auto">Hey so the 2.16.0 release broke all of the vendored things I am assuming. I have <a href="https://github.com/tomchristie/apistar/pull/189" data-hovercard-type="pull_request" data-hovercard-url="/encode/apistar/pull/189/hovercard">issued</a> two <a href="https://github.com/encode/django-rest-framework/pull/5185" data-hovercard-type="pull_request" data-hovercard-url="/encode/django-rest-framework/pull/5185/hovercard">PRs</a> to two frameworks I use that rely on the vendored packages in requests.</p>
<p dir="auto">The <code class="notranslate">changelog</code> was a bit obscure about this</p>
<blockquote>
<p dir="auto">2.16.0<br>
Unvendor ALL the things!</p>
</blockquote>
<p dir="auto">Something like <code class="notranslate">BREAKING CHANGE: Vendor packages have been removed, if you relied on these you will need to modify your code</code> would be nice in a 2.16.1 changelog update maybe?</p>
<p dir="auto">I realize that it can be said these vendored packages are internal and should not be relied on but at least these packages had a use case for using requests and some of the underlying libs and used the vendor packages to ensure everything worked as expected with requests.</p>
<p dir="auto">Anyone who was relying on these will have their code break upon upgrade, so perhaps a bigger version bump would have been welcome, but at least this can be a warning to people coming here wondering why stuff broke. My solution was a <code class="notranslate">compat.py</code> that conditionally imported <code class="notranslate">urllib3</code> (works the same for other vendored packages), see my PRs for that fix.</p>