Currently we use requirements.txt and requirements-test.txt files to manage dependencies. However, the python community has moved for sometime into a more javascript-like dependency managers.
Different solutions have come out in the last couple of years, but today poetry is surely one of the most dependable ones.
Advantages
- Better integration with IDEs and tools (currently, my IDE can't detect requirements-test.txt)
- State of the art in terms of security, and tooling
- Makes it easier to manage dependency groups (production and dev groups)
- Requires the addition of pyproject.yml which has its own set of advantages in maintaining a clean project with good conventions.
- A good exercise for me on deploying the showcase.
Currently we use
requirements.txtandrequirements-test.txtfiles to manage dependencies. However, the python community has moved for sometime into a more javascript-like dependency managers.Different solutions have come out in the last couple of years, but today
poetryis surely one of the most dependable ones.Advantages