As of urllib3 2.6.0, the deprecated HTTPResponse.getheaders() and HTTPResponse.getheader() methods have been removed and replaced by the headers attribute. ( https://github.com/urllib3/urllib3/blob/main/CHANGES.rst#260-2025-12-05 )
Both of the removed methods are used in the auto generated api client, for example: https://github.com/HubSpot/hubspot-api-python/blob/master/hubspot/crm/companies/api_client.py
The code needs to be updated to be compatible with the latest version of urllib3 in order to benefit from the bug and security fixes. Any chance this could be patched?