← Back to issue list

Enforce deprecation DN05: Use charm-requirements in charmcraft.yaml parts to define requirements

View original Github issue

Metadata

Project
charmcraft
Number
#657
Type
issue
State
closed
Author
facundobatista
Labels
—
Created
Updated
Closed

Current evaluation

DN05 was enforced by merged PR #797 (commit 63d57d8c), removing the legacy --requirements option from build and pack.

Resolution: closed resolved

Reason: Merged PR canonical/charmcraft#797 in commit 63d57d8c removed the legacy --requirements option from the build and pack commands, enforcing DN05.

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 DN05 was enforced by merged PR #797 (commit 63d57d8c), removing the legacy --requirements option from build and pack.
stealth/space-bunny-alpha — closed resolved DN05 was enforced by removing the legacy --requirements option from build and pack commands, merged in canonical/charmcraft#797 (commit 63d57d8c).
qwen3.6-35b-a3b-mtp-q6 — — Closed as informational. Deprecation DN05 was enforced per the charmcraft policy without further implementation or discussion.
qwen/qwen3.6-35b-a3b — — Closed as abandoned. The issue referenced deprecation DN05 but lacked implementation details or discussion. No code changes were merged.
qwen3.6-35b-a3b-mtp-q6 — — Closed without discussion following the DN05 deprecation timeline. Charmcraft now enforces using charm-requirements in charmcraft.yaml parts, completing the deprecation process.

Update history

No update history recorded yet.

Related work

  • Likely Fixed By: canonical/charmcraft#797 (confidence 100%)

    Merged PR removing legacy requirements options and resolving issue #657.

Related issues

Issue Project State Summary Similarity
#654 Enforce deprecation DN02: A charmcraft.yaml configuration file is now required charmcraft closed DN02 was enforced by merged PR #680 (7df649fd), making charmcraft.yaml mandatory for builds and requiring its type key.
85%
#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.
78%
#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.
75%
#1389 'charm-strict-dependencies' requires at least one requirements file. in field 'parts.charm.charm-strict-dependencies' charmcraft closed Merged #1808 (0d3b2713) to remove early requirements-file existence checks, although the reporter said explicitly listed files still failed in Charmcraft 2.7.3.
70%