"You must give at least one requirement to install" on rebuild
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snapcraft |
Incomplete
|
Undecided
|
Unassigned |
Bug Description
$ snapcraft --shell-after
…
Snapped offlineimap_
$ snapcraft --shell-after
Launching a VM.
snap "core" has no updates available
SNAPCRAFT_
snap "snapcraft" has no updates available
snap "core18" has no updates available
Hit http://
Hit http://
Hit http://
Hit http://
Fetched 0 B in 0s (0 B/s)
Updating pull step for offlineimap (source changed)
Updating build step for offlineimap ('pull' step changed)
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.
Processing /root/parts/
Link is a directory, ignoring download_dir
Successfully downloaded offlineimap
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.
Looking in links: /root/parts/
Processing /root/parts/
Building wheels for collected packages: offlineimap
Building wheel for offlineimap (setup.py) ... done
Stored in directory: /tmp/tmp_t9tpbir
Successfully built offlineimap
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.
ERROR: You must give at least one requirement to install (maybe you meant "pip install /root/parts/
Failed to run '/root/
Run the same command again with --debug to shell into the environment if you wish to introspect this failure.
$ cat snapcraft.yaml
name: offlineimap
version: git
summary: OfflineIMAP
description: |
OfflineIMAP is software that downloads your email mailbox(es) as local
Maildirs. OfflineIMAP will synchronize both sides via IMAP.
confinement: devmode
base: core18
parts:
offlineimap:
plugin: python
python-version: python2
source: .
stage-packages:
- python-six
apps:
offlineimap:
command: bin/offlineimap
Changed in snapcraft: | |
milestone: | none → 3.4 |
Changed in snapcraft: | |
milestone: | 3.4 → 3.5 |
Also seen here: https:/ /forum. snapcraft. io/t/error- you-must- give-at- least-one- requirement- to-install- when-rebuilding -parts- with-python- plugin/ 9011/3