← Back to issue list

setup.py with dependencies cannot be properly handled

View original Launchpad issue

Metadata

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

Current evaluation

Split setup.py handling so dependencies are processed first and separately from setup.py itself. Implemented in snapcraft PR #2409, merged as commit 6c8cb57b4 ("python plugin: process deps before and separately from setup.py").

Resolution: closed resolved

Reason: Maintainer closed the issue pointing to snapcore/snapcraft PR #2409, which merged as commit 6c8cb57b4 and reordered the python plugin to process dependencies before and separately from setup.py, excluding setup.py from the download phase.

Evaluated by: mr-cal-bot

No scores available.

Issue body

Everything is currently parsed together, split that out so that dependencies are handled first and then setup.py

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Split setup.py handling so dependencies are processed first and separately from setup.py itself. Implemented in snapcraft PR #2409, merged as commit 6c8cb57b4 ("python plugin: process deps before and separately from setup.py").
stealth/space-bunny-alpha — closed resolved Fixed by merged PR snapcore/snapcraft#2409 (commit 6c8cb57b4), which processes Python dependencies before handling setup.py separately.
stealth/space-bunny-alpha — closed stale Closed without a recorded fix as an abandoned parser refactor. PR #2771 later changed setup.py dependency processing, but no evidence links its merge to this closure.
qwen/qwen3.6-35b-a3b — — Closed without resolution. The proposed parser split to handle dependencies before setup.py was never implemented. The issue appears abandoned.
qwen/qwen3.6-35b-a3b — — Request to separate dependency and setup.py parsing was closed without resolution or linked pull requests, indicating the change was abandoned.

Update history

Date Change
created

Related work

  • Related To: snapcraft (launchpad)#1803573 (confidence 100%)

    This is the issue being resolved by PR #2409

  • Likely Fixed By: snapcore/snapcraft#2409 (confidence 95%)

    PR cited in the closing comment and merged as commit 6c8cb57b4 with a matching title to the issue request

Related issues

Issue Project State Summary Similarity
#2409 python plugin: process deps before and separately from setup.py snapcraft merged Merged PR #2409 in commit 6c8cb57b4, separating dependency processing from setup.py handling and excluding setup.py from the download phase.
72%
#550 Add python package dependencies to setup.py snapcraft merged Merged in canonical/snapcraft#550 (c20779ffb), adding Python dependencies to setup.py so bin/snapcraft-parser runs in a virtualenv.
70%