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.61k stars 90 forks source link

Add pin flag. #183

Closed baterflyrity closed 8 months ago

baterflyrity commented 8 months ago

Hi! Thanks for really handsome tool.

I do not want to pin dependencies in generated requirements.txt.

How can I do this? Since found no corresponding cli option would like to suggest such one like --unpin Do not pin versions..

damnever commented 8 months ago

Does the option --comparison-specifier >= suit your needs? Run pigar generate --help for more details.

Feel free to reopen this issue.

baterflyrity commented 8 months ago

Hi! Thanks for clarification. Unfortunately it is not suitable to pin versions at all in some cases. Thus I'd like to implement this feature. Hence, I will check repo and make merge request if your are fine.