serverless-python-requirements
serverless-python-requirements copied to clipboard
Enhance poetry related logging and add new flag
- 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.