Skip to content
This repository was archived by the owner on Jun 21, 2022. It is now read-only.
This repository was archived by the owner on Jun 21, 2022. It is now read-only.

Version conflict for uproot-methods dependence #528

@AndreasAlbert

Description

@AndreasAlbert

Hi,

since some time last week, I have been encountering a new version conflict when trying to use uproot. I am pip-installing uproot as a dependency to another package (coffea==0.6.37). The installation goes fine, but then when you try to use uproot, the following error occurs:

pkg_resources.ContextualVersionConflict: (uproot-methods 0.9.1 (/opt/hostedtoolcache/Python/3.6.12/x64/lib/python3.6/site-packages), Requirement.parse('uproot-methods<0.9.0,>=0.7.0'), {'uproot'})

"uproot 3.13.1 requires uproot-methods<0.9.0,>=0.7.0, but you'll have uproot-methods 0.9.1 which is incompatible."

So somehow pip installs uproot-methods 0.9.1, although uproot seems to require <0.9.0. I am having trouble understanding why pip would not notice this discrepancy at install time. I cannot quite reproduce this issue in a clean environment, which makes me think that this somehow subtly depends on the installation method + environment (hence the lack of a working example).

Are others encountering something similar? Any advice on how to better understand this problem would be appreciated.

Thanks

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