albumentations-demo icon indicating copy to clipboard operation
albumentations-demo copied to clipboard

Suggest to loosen the dependency on albumentations

Open Agnes-U opened this issue 1 year ago • 0 comments

Hi, your project albumentations-demo(commit id: 3cb6528a513fe3b35dbb2c2a63cdcfbb9bb2a932) requires "albumentations==0.4.3" in its dependency. After analyzing the source code, we found that the following versions of albumentations can also be suitable, i.e., albumentations 0.4.0, 0.4.1, 0.4.2, 0.4.4, 0.4.5, since all functions that you directly (1 APIs: albumentations.core.composition.ReplayCompose.init) or indirectly (propagate to 12 albumentations's internal APIs and 0 outsider APIs) used from the package have not been changed in these versions, thus not affecting your usage.

Therefore, we believe that it is quite safe to loose your dependency on albumentations from "albumentations==0.4.3" to "albumentations>=0.4.0,<=0.4.5". This will improve the applicability of albumentations-demo and reduce the possibility of any further dependency conflict with other projects.

May I pull a request to further loosen the dependency on albumentations?

By the way, could you please tell us whether such an automatic tool for dependency analysis may be potentially helpful for maintaining dependencies easier during your development?

Agnes-U avatar Nov 10 '22 14:11 Agnes-U