When moving from types-requests 2.26.3 to 2.27.5, the following code
requests.packages.urllib3.disable_warnings(requests.packages.urllib3.exceptions.InsecureRequestWarning)
now gets a type error in mypy, error: Module has no attribute "packages"
I was able to fix the issuing by forcing mypy to use types-requests 2.26.3.