Enforce deprecation DN02: A charmcraft.yaml configuration file is now required
Metadata
Current evaluation
DN02 was enforced by merged PR #680 (7df649fd), making charmcraft.yaml mandatory for builds and requiring its type key.
Resolution: closed resolved
Reason: PR #680 implemented the DN02 enforcement and was merged into main as commit 7df649fd.
Evaluated by: mr-cal-bot
No scores available.
Issue body
See [the Deprecations page](https://juju.is/docs/sdk/charmcraft-deprecations)for more info.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | DN02 was enforced by merged PR #680 (7df649fd), making charmcraft.yaml mandatory for builds and requiring its type key. | |
| stealth/space-bunny-alpha | — | closed resolved | DN02 was enforced by merged PR #680 (commit 667041f5), making charmcraft.yaml mandatory for builds and requiring its type key. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Implemented deprecation DN02 requiring a charmcraft.yaml file. Closed as completed after the change was applied and documented. | |
| qwen/qwen3.6-35b-a3b | — | — | Enforced deprecation DN02, making charmcraft.yaml mandatory. The requirement was implemented and the issue closed. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Deprecation DN02 was enforced, making charmcraft.yaml mandatory. The issue was closed as completed after the requirement was implemented. |
Update history
No update history recorded yet.
Related work
-
Likely Fixed By:
canonical/charmcraft#680
(confidence 100%)
Merged PR that made charmcraft.yaml and its type field required.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #657 Enforce deprecation DN05: Use charm-requirements in charmcraft.yaml parts to define requirements | charmcraft | closed | DN05 was enforced by merged PR #797 (commit 63d57d8c), removing the legacy --requirements option from build and pack. | |
| #655 Enforce deprecation DN03: Bases configuration is now required | charmcraft | closed | DN03 was enforced by requiring charm bases in configuration; the change was merged in canonical/charmcraft#791 via commit 9c52a73a. | |
| #680 The charmcraft.yaml is not longer optional for build command (CRAFT-784). | charmcraft | merged | Merged #680 in commit 7df649fd, making charmcraft.yaml required for builds and enforcing its mandatory type key through the config schema. | |
| #656 Enforce deprecation DN04: Use charm-entrypoint in charmcraft.yaml parts to define the entry point | charmcraft | closed | DN04 enforcement was implemented and merged, notably in #793 (3b9937a7), which removed the legacy --entrypoint build/pack option. | |
| #791 Enforced DN03: the 'bases' is now mandatory for charms in the config (CRAFT-785). | charmcraft | merged | Merged PR canonical/charmcraft#791 (9c52a73a), enforcing DN03 so charm configs require bases and updating affected tests; fixes #655. |