Skip to content

Unable to install due to pinned dependencies #266

@mdtanker

Description

@mdtanker

Describe the bug
Hi, I'm currently unable to install UQPy, or have it be included as a dependency of one of my pacakges, since the dependencies defined in setup.py are unfortunately pinned, or at least very restrictive. I understand pinning the dependencies in requirements.txt so your docs and GH actions can use specified versions, but did you also intend to have the install_requires dependencies so tightly pinned?

Is it possible to change everything in install_requires to specify minimum versions, instead of specifying the specific version, such as changing "matplotlib==3.8.4" to "matplotlib>=3.8.4".

Thank you!

To Reproduce

mamba install uqpy

Error message

ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
uqpy 4.2.0 requires torchinfo~=1.8.0, which is not installed.
uqpy 4.2.0 requires beartype==0.18.5, but you have beartype 0.9.1 which is incompatible.
uqpy 4.2.0 requires fire==0.6.0, but you have fire 0.7.0 which is incompatible.
uqpy 4.2.0 requires matplotlib==3.8.4, but you have matplotlib 3.10.1 which is incompatible.
uqpy 4.2.0 requires numpy==1.26.4, but you have numpy 2.1.3 which is incompatible.
uqpy 4.2.0 requires scikit-learn==1.4.2, but you have scikit-learn 1.6.1 which is incompatible.
uqpy 4.2.0 requires torch~=2.2.2, but you have torch 2.6.0 which is incompatible.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions