Replies: 1 comment 7 replies
-
Doesn't |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
As part of some of our workflows we need to verify that exact versions of approved packages are being bundled into binary objects, for licensing and security reasons.
Poetry lock files go a long way to making this easy, and certainly do a much better job than old-style requirements.txt files, however the nature of python's installation process means we will still need to run the equivalent of
poetry install --dry-run
in order to determine the exact packages that are used (with platform and python version specifics).At the moment I'm using some of the innards of poetry to achieve this, using the solver directly and then handling the operations myself.
Is there utility in adding either a command line option to output the
--dry-run
results in a machine-readable format (maybe json?), or potentially to provide a library method to achieve the same thing?Beta Was this translation helpful? Give feedback.
All reactions