Python·100 questions

How to work with dependencies: requirements.txt vs poetry.lock?

Answer
requirements.txt — simple list of dependencies (pip).
Lock file fixes exact versions.
Poetry creates lock automatically.
Reproducibility is important for production.
Don't update dependencies without tests.
Was this answer helpful?

More questions in this topic

Related questions from other topics