hostedapi icon indicating copy to clipboard operation
hostedapi copied to clipboard

Suggest to loosen the dependency on databases

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

Hi, your project hostedapi(commit id: af5944b1d598842314a6480a37a3491c5f8d3d7a) requires "databases==0.2.6" in its dependency. After analyzing the source code, we found that the following versions of databases can also be suitable, i.e., databases 0.2.3, 0.2.4, 0.2.5, 0.3.0, since all functions that you directly (1 APIs: databases.core.Database.init) or indirectly (propagate to 6 databases's internal APIs and 4 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 databases from "databases==0.2.6" to "databases>=0.2.3,<=0.3.0". This will improve the applicability of hostedapi and reduce the possibility of any further dependency conflict with other projects.

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

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 Dec 09 '22 07:12 Agnes-U