You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running awslimitchecker with the latest versions of all dependencies, we get the following DeprecationWarning:
lib/python2.7/site-packages/botocore/vendored/requests/api.py:67: DeprecationWarning: You are using the get() function from 'botocore.vendored.requests'. This is not a public API in botocore and will be removed in the future. Additionally, this version of requests is out of date. We recommend you install the requests package, 'import requests' directly, and use the requests.get() function instead.
The first one appears that, since the release of boto/botocore#1495 ("Unvendor requests and use urllib3 directly") a year ago, we should be able to catch either botocore.exceptions.ConnectTimeoutError or its other parent class, botocore.exceptions.ConnectionError.
For the second one, checking the latest awslimitchecker version, botocore itself now depends on the normal upstream urllib3 package. We should too, and should just use that.
The text was updated successfully, but these errors were encountered:
@rohanjoseff It does not. This fix is currently staged in the develop branch, waiting on a few more feature requests before I cut a release. This should be done in a week or so.
Please keep in mind that the vendored-in requests library will still be present in the installation until boto/botocore#1608 is done upstream; awslimitchecker will just not be using it anymore.
Running awslimitchecker with the latest versions of all dependencies, we get the following DeprecationWarning:
This was recently changed to display by default in boto/botocore#1748 and was previously added in boto/botocore#1625 and overall relates to boto/botocore#1608 which calls for the removal of botocore's vendored-in
requests
andurllib3
, as they're no longer used. This was announced in the 1.11.0 botocore CHANGELOG entry, which was released back on August 24, 2018.It appears that we're currently using the vendored requests in three places:
from botocore.vendored.requests.exceptions import ConnectTimeout
, which was added in fixes #339 - 4.0.1 release #340 to fix Runs dieing with errors checking EFS unsupported regions #335utils.py
uses theget()
method of the vendored requests package for its _get_latest_version() methodThe first one appears that, since the release of boto/botocore#1495 ("Unvendor requests and use urllib3 directly") a year ago, we should be able to catch either
botocore.exceptions.ConnectTimeoutError
or its other parent class,botocore.exceptions.ConnectionError
.For the second one, checking the latest awslimitchecker version, botocore itself now depends on the normal upstream urllib3 package. We should too, and should just use that.
The text was updated successfully, but these errors were encountered: