django-ytdownloader icon indicating copy to clipboard operation
django-ytdownloader copied to clipboard

Suggest to loosen the dependency on pytube

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

Hi, your project django-ytdownloader(commit id: e59e728aeac459b73fd4fb9ca663560855af19fd) requires "pytube==11.0.2" in its dependency. After analyzing the source code, we found that the following versions of pytube can also be suitable, i.e., pytube 11.0.0, 11.0.1, 12.0.0, since all functions that you directly (1 APIs: pytube.main.YouTube.init) or indirectly (propagate to 5 pytube'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 pytube from "pytube==11.0.2" to "pytube>=11.0.0,<=12.0.0". This will improve the applicability of django-ytdownloader and reduce the possibility of any further dependency conflict with other projects.

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

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 12 '22 06:12 Agnes-U