← Back to issue list

fix(pytest_plugin): automatically reset craft-parts callbacks

View original Github issue

Metadata

Project
craft-application
Number
#874
Type
pull request
State
merged
Author
lengau
Labels
PR: Rebase
Created
Updated
Closed

Current evaluation

Merged #874 as commit 555dfef2, moving automatic craft-parts callback resets into the pytest plugin to fix duplicate callbacks; released in 5.7.1.

Resolution: closed resolved

Reason: PR #874 was approved with all CI checks passing and merged. Commit 555dfef2 moved callback reset logic into the pytest plugin, fixing #873, and release commit 8285197a documented version 5.7.1.

Evaluated by: mr-cal-bot

No scores available.

Issue body

This moves the automatic resetting of craft-parts callbacks from the local conftest.py to the pytest plugin. Fixes #873 I've also made a commit for releasing 5.7.1, which brings in the fixes from 5.6.5 as well as this fix. There is no need to backport this fix as the issue is primarily caused by new features in 5.7.0 - [x] Have you followed the guidelines for contributing? - [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? - [x] Have you successfully run `make lint && make test`? - [x] Have you added an entry to the changelog (`docs/reference/changelog.rst`)? ---

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged #874 as commit 555dfef2, moving automatic craft-parts callback resets into the pytest plugin to fix duplicate callbacks; released in 5.7.1.
stealth/space-bunny-alpha — closed resolved Merged pytest-plugin cleanup to reset craft-parts callbacks, preventing test state leakage. Included in 5.7.1 and fixes #873.
qwen/qwen3.6-35b-a3b — — Merged. Moves craft-parts callback reset logic to the pytest plugin, resolving issue #873. Included in release 5.7.1. All CI checks passed and reviewers approved.

Update history

No update history recorded yet.

Related work

Related issues

No related issues found above the similarity threshold.