← Back to issue list

python2 plugin test coverage is lacking

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1603437
Type
issue
State
closed
Author
~s8m
Labels
—
Created
Updated
Closed

Current evaluation

Resolved by merged PR #663, “Improve python2 test coverage,” via commit 376c9e087.

Resolution: closed resolved

Reason: The maintainer linked PR #663 as the resolution. Commit 376c9e087, titled “Improve python2 test coverage (#663),” directly addressed the reported coverage gap.

Evaluated by: mr-cal-bot

No scores available.

Issue body

Coverage is showing >50% of the python2 code is not exercised preventing other patches from being able to merge due to missing coverage

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Resolved by merged PR #663, “Improve python2 test coverage,” via commit 376c9e087.
stealth/space-bunny-alpha — closed resolved Python 2 plugin coverage was addressed by snapcore/snapcraft#663, the PR linked in the closing maintainer comment.
stealth/space-bunny-alpha — closed stale Closed as stale without a recorded fix. No resolving PR or maintainer explanation is available; the Python 2 plugin was later removed with core/base support.
stealth/space-bunny-alpha — closed stale Closed without a recorded fix or explanation; the reported gap was that over 50% of Python 2 plugin code was untested, blocking patches due to coverage requirements.
qwen/qwen3.6-35b-a3b — — Abandoned. Python 2 support was discontinued following its end-of-life, superseding the coverage requirement. No patches were submitted or merged.
qwen/qwen3.6-35b-a3b — — Insufficient Python2 plugin test coverage blocking other patches was closed without resolution. No fixes or related pull requests were submitted, indicating the report was abandoned.
qwen/qwen3.6-35b-a3b — — Closed without resolution. The report highlighted insufficient test coverage for Python2 plugin code blocking other patches. With zero comments and no activity, the issue was abandoned.
qwen3.6-35b-a3b-mtp-q6 — — Closed without action or comments. The missing Python2 plugin test coverage blocking patch merges was not addressed and appears abandoned, likely due to Python 2 end-of-life.

Update history

Date Change
created

Related work

  • Likely Fixed By: snapcraft#663 (confidence 99%)

    The linked PR added tests to improve python2 plugin coverage.

Related issues

Issue Project State Summary Similarity
#935 Remove duplicated python-based plugin tests craft-parts closed Duplicated Python plugin tests were consolidated into BasePythonPlugin coverage by merged PR #947 (commit 1a2631e1).
73%
#1266 tests: report coverage only in unit tests snapcraft merged Merged PR #1266 as commit 0c64f0b31, restricting coverage reporting to unit tests and incorporating reviewer feedback for Python 2/3 compatibility.
70%