← Back to issue list

python plugin: install from wheel for local setup.py

View original Github issue

Metadata

Project
snapcraft
Number
#861
Type
pull request
State
merged
Author
sergiusens
Labels
—
Created
Updated
Closed

Current evaluation

Merged as commit 652ac1238: the python plugin now builds a wheel from a local setup.py and installs it, avoiding rebuilds and fixing dependency data_files failures (LP #1631071).

Resolution: closed resolved

Reason: The PR was merged to master as commit 652ac1238 ("python plugin: install from wheel for local setup.py (#861)"). After follow-up commits addressing data_files in dependencies, reviewers confirmed the fix with integration and snap tests passing (blakerouse, come-maiz, sergiusens, Oct 2016).

Evaluated by: mr-cal-bot

No scores available.

Issue body

This will avoid a rebuild and dtrt wrt data_files. LP: #1631071 Signed-off-by: Sergio Schvezov sergio.schvezov@ubuntu.com

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged as commit 652ac1238: the python plugin now builds a wheel from a local setup.py and installs it, avoiding rebuilds and fixing dependency data_files failures (LP #1631071).
stealth/space-bunny-alpha — closed resolved Merged as commit 652ac1238: the Python plugin now installs local setup.py packages from wheels, avoiding rebuilds and fixing dependency data_files failures; integration and snap tests passed.
qwen/qwen3.6-35b-a3b — — Merged Python plugin updates to install local setup.py packages from wheels, preventing rebuilds and resolving data_files handling. Initial permission and path issues were addressed via testing, and integration tests passed.
qwen3.6-35b-a3b-mtp-q6 — — Merged. The python plugin now installs from wheels for local setup.py to avoid rebuilds and handle data_files. Path and permission issues were resolved via follow-up commits and the organize plugin. Tests passed, validating the fix.

Update history

No update history recorded yet.

Related work

  • Related To: canonical/snapcraft#883 (confidence 80%)

    Follow-up merged PR 28103a243 fixing the ordering of wheel build vs install for LP #1638389, a later regression from this wheel-based approach.

Related issues

Issue Project State Summary Similarity
#883 python plugin: wheel and install in the proper order snapcraft merged Merged as commit 28103a243, fixing LP #1638389 by building Python wheels before installing them.
73%