Not specifying a source for the python{2,3} plugins gives a confusing error message
Metadata
Current evaluation
Fixed by snapcore/snapcraft#771, correcting source handling for Python parts without an explicitly configured source.
Resolution: closed resolved
Reason: The issue was resolved through merged PR snapcore/snapcraft#771, linked by the maintainer in the closing discussion.
Evaluated by: mr-cal-bot
No scores available.
Issue body
When building a python{2,3} part, if you don't specify a source then you get the error message:
Directory '.' is not installable. File 'setup.py' not found.
This is given even if there is a setup.py in the current working directory (and in the same directory as snapcraft.yaml).
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Fixed by snapcore/snapcraft#771, correcting source handling for Python parts without an explicitly configured source. | |
| stealth/space-bunny-alpha | — | closed resolved | Resolved by merged Python plugin improvements in #771 (commit bb7bd40e1), correcting the confusing failure seen when python2/python3 parts omit a source. | |
| stealth/space-bunny-alpha | — | closed stale | Closed without a recorded fix or maintainer explanation; no directly linked resolving PR or commit was found for the misleading Python-plugin error. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed without comments or resolution. The confusing error message for unspecified python2/3 plugin sources was not addressed, indicating the issue was abandoned or marked stale. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed without resolution. The confusing error message for unspecified python plugin sources was not addressed or fixed, indicating the report was abandoned. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed without resolution or fix. The confusing error for unspecified python2/3 plugin sources remains unaddressed, likely due to staleness or project inactivity. |
Update history
| Date | Change |
|---|---|
| created |
Related work
-
Likely Fixed By:
snapcore/snapcraft#771
(confidence 99%)
The maintainer cited this pull request as the resolution.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1778716 snapcraft clean snapcraft fails as it cannot find python | snapcraft (launchpad) | closed | Fixed by snapcore/snapcraft PR #2171, which corrected Python plugin cleanup so `snapcraft clean snapcraft` no longer fails when python3 is unavailable. |