You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
) not sure how it is used but I think that models is a quite common module names in these AI days so not sure there should be a default sketchy library imported for models.
The text was updated successfully, but these errors were encountered:
Hello,
we found a bug in pipreqs: if we import a module called
models
, then it will create arequirements.txt
file containingasposestorage==1.0.2
.To reproduce:
my_module.py
containing this code:pipreqs .
in the folder containing this module (you don't need to have amodels.py
file in the folder!).Result: a
requirements.txt
file is created with this content:Versions:
pipreqs --version
--> 0.4.13Python 3.11.7
Possible explanation:
this file contains a mapping: models --> asposestorage (
pipreqs/pipreqs/mapping
Line 793 in cd3f437
models
is a quite common module names in these AI days so not sure there should be a default sketchy library imported for models.The text was updated successfully, but these errors were encountered: