Skip to content

Dependency conflict while trying to instal metaDMG-cpp and metaDMG-core #23

Description

@kjurdzinski

When I try to install metaDMG-cpp and metaDMG-core at the same time with conda or pixi, I always get a dependency error. Below, I paste the error from pixi.

Because metadmg==0.38.0 depends on pandas>=1.5.0,<2.0.0 and pandas==2.3.3, we
      can conclude that metadmg==0.38.0 cannot be used.
      And because we know from (129) that metadmg[all]<0.38.0 cannot be used, we can
      conclude that all versions of metadmg[all] cannot be used.
      And because you require metadmg[all], we can conclude that your requirements
      are unsatisfiable.
  help: The following PyPI packages have been pinned by the conda solve, and this
        version may be causing a conflict:
        typer==0.21.1
        pandas==2.3.3

And this is the one I get when I try to install (conda install metaDMG) metaDMG-cpp in the conda environment build based on environment.yaml from this (MetaDMG-core) repo:

Could not solve for environment specs
The following packages are incompatible
└─ metadmg is not installable because there are no viable options
   ├─ metadmg 0.3 would require
   │  └─ htslib >=1.17,<1.24.0a0  but there are no viable options
   │     ├─ htslib [1.21|1.22|1.22.1] would require
   │     │  └─ libdeflate >=1.22,<1.26.0a0 , which conflicts with any installable versions previously reported;
   │     ├─ htslib [1.20|1.21] would require
   │     │  └─ libdeflate >=1.20,<1.26.0a0 , which conflicts with any installable versions previously reported;
   │     ├─ htslib 1.23 would require
   │     │  └─ libdeflate >=1.22,<1.23.0a0 , which conflicts with any installable versions previously reported;
   │     ├─ htslib [1.17|1.18|1.19|1.19.1|1.20] would require
   │     │  └─ libdeflate >=1.18,<1.26.0a0 , which conflicts with any installable versions previously reported;
   │     └─ htslib 1.17 would require
   │        └─ libdeflate >=1.13,<1.26.0a0 , which conflicts with any installable versions previously reported;
   ├─ metadmg [0.4|0.4.1|0.4.2] would require
   │  └─ htslib [>=1.22,<1.24.0a0 |>=1.22.1,<1.24.0a0 ], which cannot be installed (as previously explained);
   ├─ metadmg 0.4 would require
   │  └─ htslib >=1.21,<1.24.0a0 , which cannot be installed (as previously explained);
   └─ metadmg 0.4 would require
      └─ htslib >=1.18,<1.24.0a0 , which cannot be installed (as previously explained).

I install it on linux-based HPC (KTH PDC's Dardel).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions