snaql icon indicating copy to clipboard operation
snaql copied to clipboard

Suggest to loosen the dependency on schema

Open Agnes-U opened this issue 2 years ago • 0 comments

Hi, your project snaql(commit id: 9e3987e19e677725f8d4882cb15882be6366db09) requires "schema==0.6.5" in its dependency. After analyzing the source code, we found that the following versions of schema can also be suitable, i.e., schema 0.5.0, 0.6.0, 0.6.1, 0.6.2, 0.6.3, 0.6.4, since all functions that you directly (3 APIs: schema.And.init, schema.Use.init, schema.Schema.init) or indirectly (propagate to -1 schema'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 schema from "schema==0.6.5" to "schema>=0.5.0,<=0.6.5". This will improve the applicability of snaql and reduce the possibility of any further dependency conflict with other projects.

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

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 22 '22 15:11 Agnes-U