VoiceSens
VoiceSens copied to clipboard
Suggest to loosen the dependency on fuzzywuzzy
Dear developers,
Your project VoiceSens requires "fuzzywuzzy==0.17.0" in its dependency. After analyzing the source code, we found that the following versions of fuzzywuzzy can also be suitable without affecting your project, i.e., fuzzywuzzy 0.8.0, 0.8.1, 0.8.2, 0.9.0, 0.10.0, 0.11.0, 0.11.1, 0.12.0, 0.13.0, 0.14.0, 0.15.0, 0.15.1, 0.16.0, 0.18.0. Therefore, we suggest to loosen the dependency on fuzzywuzzy from "fuzzywuzzy==0.17.0" to "fuzzywuzzy>=0.8.0,<=0.18.0" to avoid any possible conflict for importing more packages or for downstream projects that may use ddos_script.
May I pull a request to further loosen the dependency on fuzzywuzzy?
By the way, could you please tell us whether such dependency analysis may be potentially helpful for maintaining dependencies easier during your development?
Details:
Your project (commit id: 92c6def8869659f6dfd6fd8cc5cbc25c2ac39994) directly uses 2 APIs from package fuzzywuzzy.
fuzzywuzzy.fuzz.partial_ratio, fuzzywuzzy.fuzz.ratio
Beginning fromwhich, 11 functions are then indirectly called, including 7 fuzzywuzzy's internal APIs and 4 outsider APIs as follows:
[/bedangSen/VoiceSens]
+--fuzzywuzzy.fuzz.partial_ratio
| +--fuzzywuzzy.utils.make_type_consistent
| +--difflib.SequenceMatcher
| +--fuzzywuzzy.StringMatcher.StringMatcher.__init__
| | +--warnings.warn
| | +--fuzzywuzzy.StringMatcher.StringMatcher._reset_cache
| +--difflib.SequenceMatcher.get_matching_blocks
| +--fuzzywuzzy.StringMatcher.StringMatcher.get_matching_blocks
| | +--fuzzywuzzy.StringMatcher.StringMatcher.get_opcodes
| +--difflib.SequenceMatcher.ratio
| +--fuzzywuzzy.StringMatcher.StringMatcher.ratio
| +--fuzzywuzzy.utils.intr
+--fuzzywuzzy.fuzz.ratio
| +--fuzzywuzzy.utils.make_type_consistent
| +--difflib.SequenceMatcher
| +--fuzzywuzzy.StringMatcher.StringMatcher.__init__
| +--fuzzywuzzy.utils.intr
| +--difflib.SequenceMatcher.ratio
| +--fuzzywuzzy.StringMatcher.StringMatcher.ratio
Since all these functions have not been changed between any version for package "fuzzywuzzy" from [0.8.0, 0.8.1, 0.8.2, 0.9.0, 0.10.0, 0.11.0, 0.11.1, 0.12.0, 0.13.0, 0.14.0, 0.15.0, 0.15.1, 0.16.0, 0.18.0] and 0.17.0. Therefore, we believe it is safe to loosen the corresponding dependency.