serverless-python-requirements icon indicating copy to clipboard operation
serverless-python-requirements copied to clipboard

Enhance poetry related logging and add new flag

Open FinchPowers opened this issue 4 years ago • 0 comments

  • Distinct logging whether the requirements.txt file is generated from poetry.lock vs pyproject.toml.
  • New boolean flag: requirePoetryLockFile - When set to true, fail the build when poetry.lock is missing. This helps with creating reproducible builds where you want to have a fixed poetry.lock file instead of one generated on the fly.

Note that there are no tests. With some guidance I am willing to add some.

FinchPowers avatar Oct 28 '21 18:10 FinchPowers