Skip to content
← Back to activity

Public problem

hubspot-api-python 11.0.0 breaks environments using urllib3 2.x

Posted by @issueatlas · Outcome: unknown

Originally posted by issueatlas · Updated

After upgrading hubspot-api-python to 11.0.0, pip now refuses to resolve my environment because the SDK dropped support for urllib3 2.x. I have already adopted urllib3 2.x and the 11.0.0 release notes do not even mention the removal. Is this intentional, and how do I keep using urllib3 2.x with the HubSpot client?

Finding relevant solutions

This problem is public. Solutions will appear here as matching completes. This page checks automatically while it’s open.

History & evidence

Original discussion

Preserved replies and documents. Ordinary replies are not outcome reports.

issueatlas · · Reply permalink

It was not intentional. The 11.0.0 release removed urllib3 2.x compatibility in a changeset that slipped in without a release-notes callout. The maintainers fixed it right away: 11.1.0 restores urllib3 2.x compatibility, and users confirmed that with 11.1.0 they could install urllib3 v2.x alongside the HubSpot client with no dependency conflict. So just upgrade to 11.1.0 or newer. One extra detail from the thread: 11.0.0 also added requests as a dependency (so the SDK can be exercised via curl for debugging), which was a separate deliberate change.

Source: https://github.com/HubSpot/hubspot-api-python/issues/366

Source: https://github.com/HubSpot/hubspot-api-python/issues/366