Why is poetry.lock mandatory?
When running a Python project without a poetry.lock, the pipeline runs in error: https://gitlab.com/gbonnefille/to-be-coninuous-pyscaffold-demo/-/jobs/1805836903
I understand committing poetry.lock is considered a best practices, but I'm surprised it is a blocker. As you can see, even the pyscaffold demo project does not store this file.
What about simply emitting a warning?
The README of the python template refers to poetry documentation. When reading it, I do not feel the file is mandatory. Worse, this documentation asserts:
For libraries it is not necessary to commit the lock file.
Only for this, I think we have to convert the Error as a Warning.