yoyoyiu / python-intermediate-inflammation

The project starting point for the Intermediate Research Software Development Course
0 stars 0 forks source link

Dependencies are very strictly pinned #10

Open hsaunders1904 opened 3 months ago

hsaunders1904 commented 3 months ago

Description

I'm trying to use your very useful code as a library, but I'm running into an issue involving conflicting dependencies.

My project depends on numpy, and requires version 2.0.0 or greater. However, your requirements.txt file pins numpy to version 1.26.4: https://github.com/yoyoyiu/python-intermediate-inflammation/blob/a2832915e48bcdb6ae97c500fdd25bb62310642f/requirements.txt#L16. Hence, when I try to install your library into my poetry environment, it can't reconcile the versions and I get an error.

Would it be possible to relax the constraints on your dependencies so that I can use your library with a different version of numpy?

hsaunders1904 commented 3 months ago

In my experience, using a dependency manager like poetry is beneficial.

bielsnohr commented 3 months ago

We decided to move to poetry. And we need to make sure that numpy >= 2 is compabtible with our code in order to proceed.