← Back to issue list

chore: fix deprecation warnings

View original Github issue

Metadata

Project
snapcraft
Number
#5094
Type
pull request
State
merged
Author
mr-cal
Labels
Created
Updated
Closed

Current evaluation

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.

Suggested action:

No scores available.

Issue body

- [x] Have you followed the [guidelines for contributing](https://github.com/canonical/snapcraft/blob/main/CONTRIBUTING.md)? - [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? - [x] Have you successfully run `tox run -m lint`? - [x] Have you successfully run `tox run -e test-py310`? (supported versions: `py39`, `py310`, `py311`, `py312`) ----- Fixes a handful of deprecation warnings from libraries.

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b 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.
qwen3.6-35b-a3b-mtp-q6 Merged a maintainer's pull request that resolves multiple library deprecation warnings. All linting and Python 3.9 through 3.12 tests passed prior to integration.
qwen3.6-35b-a3b-mtp-q6 Merged by maintainer mr-cal. Resolves multiple deprecation warnings from external libraries, ensuring cleaner execution and improved long-term compatibility.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#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.
82%
#5524 chore: add deprecation warnings for hidden commands snapcraft merged Merged after approval by two reviewers. The update adds uniform deprecation warnings for hidden commands and redirects their reference pages, resolving issue #5428 across 17 files.
81%
#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.
81%
#1355 chore(deps): update internal dependencies charmcraft merged Merged pull request updating internal dependencies. Approved by four reviewers with passing CI checks. The change modified two files, adding and removing four lines each.
80%
#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.
80%
#2861 chore: remove prime key deprecation warning charmcraft merged 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.
79%
#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.
78%
#1289 chore(deps): update dependencies charmcraft merged Approved by two reviewers and merged, the dependency update modified three files with 45 additions and 34 deletions to refresh project packages.
78%
#364 chore(deps): update dependencies rockcraft merged Merged dependency update across seven files. Approved by two reviewers, the maintainer's changes to update project dependencies were integrated into the main branch.
78%
#1353 chore(deps): update all dependencies charmcraft merged Merged dependency update across three files, changing 23 additions and 24 deletions. Approved by two reviewers with zero unresolved comments. Changes integrated successfully.
77%