Skip to content

Support the latest version of urllib3 #40

@tammyalexandra

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.

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