Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggest to loosen the dependency on snownlp #3

Open
Agnes-U opened this issue Dec 5, 2022 · 0 comments
Open

Suggest to loosen the dependency on snownlp #3

Agnes-U opened this issue Dec 5, 2022 · 0 comments

Comments

@Agnes-U
Copy link

Agnes-U commented Dec 5, 2022

Dear developers,

Your project MoviesAnalyse requires "snownlp==0.12.3" in its dependency. After analyzing the source code, we found that the following versions of snownlp can also be suitable without affecting your project, i.e., snownlp 0.9.8, 0.9.8.2, 0.9.9, 0.9.10, 0.10.1, 0.11.1, 0.12.0, 0.12.1, 0.12.2. Therefore, we suggest to loosen the dependency on snownlp from "snownlp==0.12.3" to "snownlp>=0.9.8,<=0.12.3" 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 snownlp?

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: 31d37ae) directly uses 1 APIs from package snownlp.

snownlp.__init__.SnowNLP.__init__

Beginning fromwhich, 3 functions are then indirectly called, including 2 snownlp's internal APIs and 1 outsider APIs as follows:

[/kangvcar/MoviesAnalyse]
+--snownlp.__init__.SnowNLP.__init__

Since all these functions have not been changed between any version for package "snownlp" from [0.9.8, 0.9.8.2, 0.9.9, 0.9.10, 0.10.1, 0.11.1, 0.12.0, 0.12.1, 0.12.2] and 0.12.3. Therefore, we believe it is safe to loosen the corresponding dependency.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant