damnever / pigar

:coffee: A tool to generate requirements.txt for Python project, and more than that. (IT IS NOT A PACKAGE MANAGEMENT TOOL)
https://damnever.github.io/pigar/
BSD 3-Clause "New" or "Revised" License
1.66k stars 90 forks source link

pigar may include packages which are not required #123

Closed daknuett closed 1 year ago

daknuett commented 1 year ago

I recently found that the package pyqcs has been marked as "used by" by several projects on github. These projects have requirements.txt which are automatically generated using pigar. In the code the package is not used.

Perhaps this is a user error by the maintainers or a bug in pigar.

Related repositories are:

damnever commented 1 year ago

pyqcs is a dirty record of yaml, this will be fixed in next release.

damnever commented 1 year ago

pigar v2 pip install pigar==2.0.0 should fix this issue