Skip to content

Dependency conflict with new xarray packages #113

@rushin682

Description

@rushin682

Hi Paul,

I noticed, the new xarray package versions (i.e >=2025.0) tends to have conflicts with several dependencies when 'pip' installer when installing HEST. The conflicts are easily resolved with the UV package manager but issues are when using pip. I tried several different changes on 3 clusters. Restricting xarray is the only solution I came up with. Maybe this could be helpful.

pyproject.toml.txt

To reproduce:
Install HEST as is in a conda env now. You get several dependency conflicts

error: resolution-too-deep

× Dependency resolution exceeded maximum depth
╰─> Pip cannot resolve the current dependencies as the dependency graph is too complex for pip to solve efficiently.

hint: Try adding lower bounds to constrain your dependencies, for example: 'package>=2.0.0' instead of just 'package'. 

Solution: Update toml file with "xarray<=2024.11"

Lmk if this works for you and should be updated.

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