Skip to content

Switch from requirements.txt to poetry for package management #310

@lanterno

Description

@lanterno

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    dependenciesPull requests that update a dependency fileenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions