python: Replace requests.packages.urllib3 alias with urllib3.

requests stopped vendoring urllib3 in 2.16.0 (2017-05-26).

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2022-01-13 13:02:54 -08:00
committed by Tim Abbott
parent 18aa4f4df4
commit ee71650908
7 changed files with 7 additions and 6 deletions

View File

@@ -1,7 +1,7 @@
from typing import Any, Dict, Optional, Union
import requests
from requests.packages.urllib3.util.retry import Retry
from urllib3.util import Retry
class OutgoingSession(requests.Session):