requirements.txt file¶
Charmcraft only creates this file for 12-factor app profiles targeting Ubuntu 24.04 LTS or lower. Other profiles use a pyproject.toml file instead.
This file is a standard Python requirements file that declares and pins the Python packages that the charm needs.
This file is pre-populated with Ops. Any dependencies specified here are bundled with the charm when it’s built with charmcraft pack.