pipreqs icon indicating copy to clipboard operation
pipreqs copied to clipboard

mysql_connector_repackaged==0.3.1 is totally wrong

Open qiulang opened this issue 3 years ago • 0 comments

I installed and use mysql-connector-python, which is the official mysql driver. But when use pipreqs to generate the requirement.txt I got the result which is totally wrong!

mysql_connector_repackaged==0.3.1

BTW, I just pigar and it generated the correct result

➤ pigar
Writing requirements to ".../requirements.txt"
Requirements file has been overwritten, here is the difference:
- mysql_connector_repackaged==0.3.1
+ # Automatically generated by https://github.com/damnever/pigar.
+
+ # mysql-crash/crash_test.py: 3,4
+ mysql_connector_python == 8.0.25

qiulang avatar Jun 07 '21 11:06 qiulang