← Back to issue list

"You must give at least one requirement to install" on rebuild

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1821467
Type
issue
State
closed
Author
~ev
Labels
Created
Updated
Closed

Current evaluation

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.

Suggested action:

No scores available.

Issue body

$ snapcraft --shell-after … Snapped offlineimap_v7.1.1+git6.7067be9_amd64.snap $ snapcraft --shell-after Launching a VM. snap "core" has no updates available SNAPCRAFT_BUILD_ENVIRONMENT_CHANNEL_SNAPCRAFT is set: installing snapcraft from latest/stable snap "snapcraft" has no updates available snap "core18" has no updates available Hit http://archive.ubuntu.com/ubuntu bionic InRelease Hit http://archive.ubuntu.com/ubuntu bionic-updates InRelease Hit http://archive.ubuntu.com/ubuntu bionic-backports InRelease Hit http://security.ubuntu.com/ubuntu bionic-security InRelease 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/offlineimap/build 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/offlineimap/python-packages Processing /root/parts/offlineimap/build 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/offlineimap/python-packages"?) Failed to run '/root/stage/usr/bin/python2 -m pip install --user --no-compile --no-index --find-links /root/parts/offlineimap/python-packages --upgrade --no-deps': Exited with code 1. Run the same command again with --debug to shell into the environment if you wish to introspect this failure. An error occurred when trying to execute 'sudo -i snapcraft snap' with 'multipass': returned exit code 2. $ 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

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b 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.
qwen/qwen3.6-35b-a3b
Staleness: 98
Complexity: 45
Confidence: 95
Support Request: 30
close stale Snapcraft build fails with pip error during rebuild. Issue is over 7 years old, uses deprecated core18 base and Python 2.7, with zero maintainer interaction.
qwen/qwen3.6-35b-a3b
Staleness: 98
Complexity: 30
Confidence: 90
Support Request: 40
close stale Snapcraft build fails with pip error during rebuild. Issue is over 7 years old, uses deprecated Python 2 and core18, and has no maintainer interaction.
qwen3.6-35b-a3b-mtp-q6
Staleness: 98
Complexity: 20
Confidence: 95
Support Request: 10
close stale Snapcraft build fails with pip requirement error during rebuild. Issue is over 7 years old, references deprecated Python 2 and core18, with no maintainer activity or labels.
qwen3.6-35b-a3b-mtp-q6
Staleness: 95
Complexity: 20
Confidence: 90
Support Request: 85
close stale Snapcraft build fails with pip requirement error during rebuild. Unlabeled, zero comments, and uses deprecated Python 2 and core18 base. Stale and irrelevant to modern versions.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#1794216 python plugin parts errors with "ERROR: You must give at least one requirement to install" when rebuilding snapcraft (launchpad) closed Closed and fixed. The snapcraft python plugin rebuild failure with pip was resolved in a later release, addressing the build caching issue.
79%