requirements.txt file¶
Charmcraft creates this file for 12-factor app charms targeting Ubuntu 24.04 LTS or lower. Other profiles and bases 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 packed.