Skip to content

Support the latest version of urllib3 #40

Closed

Description

@tammyalexandra

(I had posted this issue in pinterest-python-sdk, but it was overlooked. )

Currently this library is locked to an extremely old version of urllib3 in requirements.txt (urllib3 == 1.26.20). urllib3 is now up to 2.5.0 -- it has been on 2.* for more than two years.

In my pyproject.toml I only have pinterest-generated-client = "0.2.5" -- this package comes as a dependency. When I run poetry lock I cannot resolve the dependencies:

Because pinterest-api-sdk (0.2.5) @ git+https://github.com/pinterest/pinterest-python-sdk.git@HEAD depends on Pinterest-Generated-Client (0.1.10)
and pinterest-generated-client (0.1.10) depends on urllib3 (1.26.20), pinterest-api-sdk (0.2.5) @ git+https://github.com/pinterest/pinterest-python-sdk.git@HEAD requires urllib3 (1.26.20).
So, because [app] depends on both pinterest-api-sdk (0.2.5) @ git+https://github.com/pinterest/pinterest-python-sdk.git and urllib3 (2.*), version solving failed.

Activity

  1. dfana01 commented on Sep 15, 2025

    @dfana01
    Contributor

    Hi there,

    Thank you for bringing this to our attention and for cross-posting from the pinterest-python-sdk repository.

    This issue has been resolved. We just merged PR #39 and released a new version with the fix: https://pypi.org/project/Pinterest-Generated-Client/0.1.11/.

    Since this was just merged and deployed minutes ago, it may take a little time for the updated package to be published to PyPI. Keep an eye on the package releases, and you should be able to update soon.

    I will also update the pinterest-sdk in the following days to fix the issue there as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions