-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Include "via" information, like "pip-compile" #91
Comments
Previously rejected at python-poetry/poetry#5580 The information that you'd need has been thrown away by the time it reaches this plugin, so you'd have to make relatively invasive changes over in the poetry code. I mean it's possible: but realistically it's going to take someone who's motivated by wanting this to go and do the work... |
To clarify, I interpreted the previous rejection to be
That makes sense, thanks 👍 |
I hadn't even realised you were the same person, no worries. Anyway poetry doesn't seem to be a project that is bothered about having lots of open tickets... |
When
pip-compile
creates arequirements.txt
, it will include a "via" line for each requirement: this line defines the rationale for why the requirement was included, such as "via -r requirements.in" or "via requests"poetry
has access to this information, it would be cool if it could be propagated to the exportedrequirements.txt
file.Example from
pip-compile
:This would provide two benefits:
pip-compile
, since generatedrequirements.txt
files between it andpoetry-plugin-export
would be more similarpip-compile-cross-platform
project :)poetry.lock
file doesn't have to be located and perused, as the information is all available in the onerequirements.txt
file.The text was updated successfully, but these errors were encountered: