Skip to content

urllib3 specific version requirement causing dependencies conflict #1445

Closed

Description

@jackexu

Describe the bug

I was trying to upgrade the version from 0.25 to fix the filename issue per #1312

However, I am not able to upgrade because the requirement of urllib3==2.2.2 is causing dependencies conflict issue with other packages in my environment. Check the history and it seems starting 0.27 version the requirement became very specific.

Do we really need this specific version? Can we make it to urllib3>=2 or exclude versions we don't want to use?

'urllib3==2.2.2', # dependabot

Versions
Details of your environment, including:

  • Tableau Server version: 3.19
  • Python version: 3.9.13
  • TSC library version: 0.25 to 0.32

Activity

  1. jacalata commented on Aug 22, 2024

    @jacalata
    Contributor

    Hm. We pinned the specific versions of libraries because we had some breaks from minor version updates. I would like to at least pin the minor version - would 2.2.x be loose enough for you? I expect that there will be some noticeable changes through the life of 2.x

  2. added
    infraInfrastructure issues (GitHub, etc)
    on Aug 22, 2024
  3. thesuperzapper commented on Sep 10, 2024

    @thesuperzapper

    @jacalata its extremely bad practice to pin a specific version of a one of the most common python libraries in the world.

    The only reason why this doesn't make tableauserverclient completely un-installable is because no other package is crazy enough to specify a specific version.

    Please use normal constraints like >X.Y.Z,<3 where X.Y.Z is whatever the minimum required version is.

  4. jackexu commented on Sep 11, 2024

    @jackexu
    Author

    Agreed with @thesuperzapper
    If there are versions that have known issue then just exclude them - e.g. >2, <3, !=X.Y.Z

  5. added a commit that references this issue on Sep 18, 2024
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

    0.33fixedinfraInfrastructure issues (GitHub, etc)

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions