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

Bug #1794216 reported by 林博仁(Buo-ren, Lin)
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Snapcraft
Fix Released
High
Sergio Schvezov

Bug Description

```
$ 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.

Changed in snapcraft:
status: New → Triaged
importance: Undecided → High
assignee: nobody → Kyle Fazzari (kyrofa)
tags: added: 18.10-build-caching
Changed in snapcraft:
assignee: Kyle Fazzari (kyrofa) → Sergio Schvezov (sergiusens)
Changed in snapcraft:
milestone: none → 3.3
status: Triaged → In Progress
Revision history for this message
Sergio Schvezov (sergiusens) wrote :
Changed in snapcraft:
status: In Progress → Fix Committed
Changed in snapcraft:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.