init template: replace run_tests, requirements-dev etc. with tox.ini and pyproject.toml
Metadata
Current evaluation
The proposed tox.ini/pyproject.toml structure landed with multiple init profiles in #854 (21b83fb0), expanded by #859 (451c399a) and #868 (a6c21119).
Resolution: closed resolved
Reason: The maintainer closed the issue after confirming it was already implemented by the multiple-profile init work. PR #854 merged as 21b83fb0, with related Kubernetes and machine profile changes following in #859 and #868.
Evaluated by: mr-cal-bot
No scores available.
Issue body
Recently all o11y charms moved to tox and we find it quite handy.
For examples: https://github.com/canonical/karma-operator
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | The proposed tox.ini/pyproject.toml structure landed with multiple init profiles in #854 (21b83fb0), expanded by #859 (451c399a) and #868 (a6c21119). | |
| stealth/space-bunny-alpha | — | closed resolved | Implemented through the multiple init-profile work: merged #854 (21b83fb0), followed by Kubernetes and machine profiles in #859 (451c399a) and #868 (a6c21119). | |
| stealth/space-bunny-alpha | — | closed resolved | The init template adopted tox.ini and pyproject.toml through the charmcraft init multiple-profiles work; the request was closed as already implemented. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Replaced run_tests and requirements-dev with tox.ini and pyproject.toml in the charmcraft init template. Implemented as part of the multiple profiles in init command work, standardizing testing and linting configuration while keeping the base template lightweight. | |
| qwen/qwen3.6-35b-a3b | — | — | The proposal to modernize the init template with tox and pyproject.toml was superseded and resolved when the functionality landed as part of the multiple profiles in init command work. | |
| qwen/qwen3.6-35b-a3b | — | — | The requested template update replacing run_tests and requirements-dev with tox.ini and pyproject.toml was implemented and merged as part of the multiple profiles in init command feature. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Superseded by the multiple profiles init command feature. The template now uses tox.ini and pyproject.toml, adding requested testing and linting support while preserving a simple default structure for new charms. |
Update history
No update history recorded yet.
Related work
-
Likely Fixed By:
canonical/charmcraft#854
(confidence 98%)
Merged as 21b83fb0 and identified as the primary implementation of the requested multi-profile init template.
-
Likely Fixed By:
canonical/charmcraft#859
(confidence 96%)
Added Kubernetes and machine init profiles using the new template structure.
-
Likely Fixed By:
canonical/charmcraft#868
(confidence 96%)
Completed follow-up profile work referenced by the issue resolution.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #285 Discuss/investigate moving to tox + pyproject.toml | rockcraft | open | Build configuration was consolidated differently: pyproject.toml and uv/Make tooling are active, while setup.py, setup.cfg, and tox.ini were removed; the open proposal is superseded. |