Skip to content

Use poetry for dependency Management #1343

@maringuu

Description

@maringuu

Currently, we have several requirements.txt files:

At least for the four non-plugin files dependencies, we could unify them in the pyproject.toml using poetry.
To represent the individual files we could use poetry groups.

Advantages:

  • Unified dependency
  • Automatic creation of a lockfile
  • Automatic creation of a project specific venv
  • Packaging support (If we decide to implement Create Python Package #882)

Disadvantages:

  • Dependency on poetry

I consider this issue resolved if the following is fulfilled:

  • All non-plugin-specific dependencies are defined using poetry
  • A pre-commit hook is added to check validity of the poetry.lock and pyproject.toml
  • The CI runs the above hook
  • The CI uses the poetry.lock file

See also #1335

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions