← Back to issue list

python plugin parts errors with "ERROR: You must give at least one requirement to install" when rebuilding

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1794216
Type
issue
State
closed
Author
~brlin
Labels
18.10-build-caching
Created
Updated
Closed

Current evaluation

Closed and fixed. The snapcraft python plugin rebuild failure with pip was resolved in a later release, addressing the build caching issue.

Suggested action:

No scores available.

Issue body

``` $ snapcraft build epoxy 'epoxy' has dependencies that need to be staged: meson Updating pull step for meson (source changed) Updating build step for meson ('pull' step changed) Looking in links: /home/ubuntu/yad-snap/parts/meson/python-packages Collecting meson Saved /tmp/tmpjpf53h_a/meson-0.48.0-py3-none-any.whl Skipping meson, due to already being wheel. ERROR: You must give at least one requirement to install (maybe you meant "pip install /home/ubuntu/yad-snap/parts/meson/python-packages"?) Failed to run '/home/ubuntu/yad-snap/stage/usr/bin/python3 -m pip install --user --no-compile --no-index --find-links /home/ubuntu/yad-snap/parts/meson/python-packages --upgrade --no-deps': Exited with code 1. ``` Build after clean always succeed, but the rebuild will fail.

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Closed and fixed. The snapcraft python plugin rebuild failure with pip was resolved in a later release, addressing the build caching issue.
qwen/qwen3.6-35b-a3b Closed and likely abandoned. The snapcraft python plugin failed on rebuild due to a pip find-links error, but no fix was applied or merged.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#1821467 "You must give at least one requirement to install" on rebuild snapcraft (launchpad) closed Closed as stale. The snapcraft python plugin rebuild failure triggering a pip requirement error was not reproduced on version 3.3. No fix was applied due to inactivity.
79%
#1841861 Python plugins fails to build a snap when some parts depends on unpublished modules snapcraft (launchpad) closed Closed without resolution. The Python plugin fails to build snaps when parts depend on unpublished local modules because pip download fails to locate them on PyPI. No fix was implemented.
71%