Dependency management

We use Poetry including the dependency definition inside the pyproject.toml and python-venv for environment management. Additionally we use Dephell and make for easier workflow.

dependency-management files
<SERVICENAME>
├── ...
├── poetry.lock
├── pyproject.toml
├── .python-version
└── ...
  • pyproject.toml: stores what dependencies are required in which versions. Required by Dephell and Poetry.

  • poetry.lock: locked definition of installed packages and their versions of currently used devs-environment. Created by Poetry using make init, make update, make tests or make finalize.

  • .python-version: the version of the python-interpreter used for this project. Created by python-venv using make init, required by Poetry and Dephell.