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
My requirements.txt contains packages installed as dependencies of other modules (ex. Pandas requires pytz, pdfplumber requires Pillow and loguru requires colorama) that are not used as imports in code. They are flagged as unused.
Can this be changed? The requirements are often available in METADATA file in dist-info folders.
The text was updated successfully, but these errors were encountered:
Hi @joszko would you please try it again with the latest main branch. If you still experience issues, please provide the full log output when running creosote with the --verbose flag. This will help me be able to reproduce this.
It kind of sounds like you are specifying sub-dependencies to your top-level dependencies. Like pip freeze > requirements.txt. What's the reason for doing this?
Have you considered not doing that and instead use pip-tools or Poetry/PDM/Pipenv to compile a lockfile for you, based only on your top-level dependencies?
Then you could point Creosote to the file holding only the top-level dependency definitions but keep on having a deterministic build (thanks to the lockfile).
Hi,
My requirements.txt contains packages installed as dependencies of other modules (ex. Pandas requires pytz, pdfplumber requires Pillow and loguru requires colorama) that are not used as imports in code. They are flagged as unused.
Can this be changed? The requirements are often available in METADATA file in dist-info folders.
The text was updated successfully, but these errors were encountered: