build providers: get rid of attribute warnings from pylxd
Metadata
Current evaluation
Merged PR #2535 (commit e5fc29a9c) suppresses pylxd Operation "unknown attribute" UserWarnings in the LXD build provider, keeping build-provider output clean for end users.
Resolution: closed resolved
Reason: The PR was approved and merged into master as commit e5fc29a9c, adding a warnings filter in the LXD build provider to ignore the irrelevant pylxd.models.operation attribute warning.
Evaluated by: mr-cal-bot
No scores available.
Issue body
Filter out this specific warning, and potentially others coming from
pylxd.models.operation which are irrelevant to the end user:
/snap/snapcraft/2839/lib/python3.5/site-packages/pylxd/models/operation.py:59: UserWarning: Attempted to set unknown attribute "location" on instance of "Operation"
.format(key, self.__class__.__name__))
Signed-off-by: Sergio Schvezov <sergio.schvezov@canonical.com>
- [x] Have you followed the [guidelines for contributing](https://github.com/snapcore/snapcraft/blob/master/CONTRIBUTING.md)?
- [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
- [x] Have you successfully run `./runtests.sh static`?
- [x] Have you successfully run `./runtests.sh tests/unit`?
-----
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #2535 (commit e5fc29a9c) suppresses pylxd Operation "unknown attribute" UserWarnings in the LXD build provider, keeping build-provider output clean for end users. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #2535 as commit e5fc29a9c, suppressing irrelevant pylxd Operation attribute warnings during LXD build-provider use. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #2535 (commit e5fc29a9c) filters irrelevant pylxd Operation attribute warnings, keeping build-provider output clean for end users. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #2535 (e5fc29a9c), filtering irrelevant pylxd Operation attribute warnings from build-provider output. | |
| qwen/qwen3.6-35b-a3b | — | — | Merged to master. Filters out irrelevant pylxd Operation model warnings to prevent cluttering user output. Approved, passed CI, and adds four lines to suppress the warnings. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged into master. Suppresses irrelevant pylxd attribute warnings in build providers to prevent end-user noise. Diff coverage is 100% despite a 0.01% overall coverage decrease. |
Update history
No update history recorded yet.
Related issues
No related issues found above the similarity threshold.