Closed xtrojak closed 1 year ago
To be more precise, the bioconda package pinned the pint
dependency here, but we also need to update dev conda env config here in the repo. However, the numpy
version needs to be pinned then, too, to a range 1.18 - 1.23.
The newest
pint
version (v0.20
) broke its API my moving unit functions to a different location. Therefore, the particular import fails on:https://github.com/RECETOX/RIAssigner/blob/85bacb3678caaa4978339270c91bafe3fff4f8ba/RIAssigner/data/Data.py#L5
The easiest way to resolve this would be by pinpointing the version of pint to
v0.19.2
. Another possibility is to update the import path forbuild_unit_class
, but using thev0.20+
version ofpint
also allows to use newer version ofnumpy
(v1.24.1
in particular), which causes another import issue not present when usingv1.23.5
: