← Back to issue list

chore: remove prime key deprecation warning

View original Github issue

Metadata

Project
charmcraft
Number
#2861
Type
pull request
State
merged
Author
cmatsuoka
Labels
Created
Updated
Closed

Current evaluation

Merged following two reviewer approvals. Removes the prime key deprecation warning, resolving issue #1786. The change deletes 24 lines in a single file and passed CI checks.

Suggested action:

No scores available.

Issue body

From the issue description: "By 2026 this should have been sufficient time that the warning is no longer necessary." Fixes #1786 --- - [ ] I've followed the [contribution guidelines](https://github.com/canonical/charmcraft/blob/main/CONTRIBUTING.md). - [ ] I've signed the [CLA](http://www.ubuntu.com/legal/contributors/). - [ ] I've successfully run `make lint && make test`. - [ ] I've added or updated any relevant documentation. - [ ] In documents I changed, I [added a meta description](https://canonical-starflow.readthedocs-hosted.com/how-to/add-a-page-meta-description/) if one was missing. - [ ] I've updated the relevant release notes.

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Merged following two reviewer approvals. Removes the prime key deprecation warning, resolving issue #1786. The change deletes 24 lines in a single file and passed CI checks.
qwen3.6-35b-a3b-mtp-q6
Impact: 15
Quick Win: 14.25
Staleness: 15
Complexity: 5
Confidence: 80
needs review Removes the PRIME_BEHAVIOUR_CHANGE_MESSAGE deprecation warning and its check logic from charmcraft/application/main.py. Approved by 2 reviewers with 0 unresolved comments.

Update history

Date Change
updated
updated
updated
created

Related issues

Issue Project State Summary Similarity
#5094 chore: fix deprecation warnings snapcraft merged Merged after approval by two reviewers. The change resolves deprecation warnings from external libraries by updating code across five files, ensuring compatibility and preventing future runtime issues.
79%
#5281 chore: clean up some warnings snapcraft merged Merged a cleanup commit series resolving deprecation warnings across 21 files, cutting test output from over 3000 to 700. Risky changes and upstream warnings were excluded. Approved by two reviewers and passed CI.
76%
#5540 chore: resolve deprecation warnings snapcraft merged Merged to resolve deprecation warnings before they become errors. Updates test mocking context manager setup. Approved by two reviewers and merged despite one failing integration test. Closes #5539.
76%
#122 chore: eliminate pydantic warnings craft-archives merged Merged after two approvals and passing CI. Refactored three files to eliminate pydantic deprecation warnings, adding 24 lines and removing 15.
76%
#794 chore: remove pydantic warnings craft-parts merged Successfully merged after approval by two reviewers and passing CI checks. The changes remove pydantic warnings across 9 files, adding 30 lines and deleting 16 to clean up framework deprecation notices.
75%
#6035 chore!: remove deprecated commands snapcraft merged Merged after maintainer approval and a clean rebase. The changes remove deprecated commands and options, resolving issue #5674.
74%
#1642 fix: warning deprecated prime use charmcraft merged Resolved deprecated prime warning issue #1609. Merged after two reviewer approvals, the change modifies two files with 86 additions to eliminate the deprecation.
73%
#1786 Remove warning about `prime` key charmcraft closed The prime key deprecation warning was removed and the issue was fixed. The warning was successfully eliminated from the codebase after the required timeframe passed, fulfilling the maintenance request.
73%
#392 chore: remove codeowners starbase merged Merged after approval from two reviewers and passing all CI checks. The change removes the CODEOWNERS file, deleting 9 lines from a single file as discussed in standup.
72%
#907 chore(merge): 2.1.3 into main craft-parts merged Merged version 2.1.3 into main following approval from two reviewers and passing CI checks. The change updated seven files, adding 36 lines and removing 10.
72%