← Back to issue list

python2 pyc cache files are missed

View original Launchpad issue

Metadata

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

Current evaluation

Python 2 .pyc cache cleanup was fixed by PR snapcore/snapcraft#660 in commit 8bf22c2a1.

Resolution: closed resolved

Reason: The referenced implementation was merged as PR snapcore/snapcraft#660, with commit 8bf22c2a1 titled "Fix python2 compile cache removal".

Evaluated by: mr-cal-bot

No scores available.

Issue body

__pycache__ is python3. python2 generates .pyc files in the folders next to the origin .py file. These are not currently removed.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Python 2 .pyc cache cleanup was fixed by PR snapcore/snapcraft#660 in commit 8bf22c2a1.
stealth/space-bunny-alpha — closed resolved Fixed in snapcore/snapcraft#660 via commit 8bf22c2a1, correcting cleanup of Python 2 .pyc cache files.
stealth/space-bunny-alpha — closed stale Closed without a documented fix; the Python 2 .pyc cleanup gap was reported, but no resolving PR, commit, or maintainer explanation is linked.
qwen/qwen3.6-35b-a3b — — Python 2 .pyc cache file cleanup was not implemented. The report was closed without a fix or resolution, with zero comments indicating it was abandoned.
qwen/qwen3.6-35b-a3b — — Closed without resolution. The report was abandoned due to inactivity and Python 2 deprecation, with no fix implemented or comments recorded.
qwen/qwen3.6-35b-a3b — — Closed without action. The report highlighted that Python 2 .pyc cache files were not being removed, but received no comments and was closed without a fix.
qwen3.6-35b-a3b-mtp-q6 — — Python 2 .pyc cache files were not being cleaned up. The report was closed without comments or a fix, leaving the problem unresolved.

Update history

Date Change
created

Related work

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

    Commit 8bf22c2a1 implements the Python 2 compiled-bytecode cleanup fix.

Related issues

Issue Project State Summary Similarity
#2425 snap: re-add pyc files for snapcraft snapcraft merged Merged PR #2425 (commit da6cab6c2) restored .pyc inclusion in the Snapcraft snap, resolving LP bug #1808199.
71%
#1808199 snapcraft's pyc files went missing snapcraft (launchpad) closed PR #2425 restored Snapcraft's missing .pyc files after #2283 moved compilation out of the prime step.
71%