← Back to issue list

python plugin: graceful ret when no packages set

View original Github issue

Metadata

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

Current evaluation

Merged PR #2498 in commit 47141bf5c, making the Python plugin return gracefully when no packages, requirements files, or setup.py are provided.

Resolution: closed resolved

Reason: PR #2498 was approved and merged as commit 47141bf5c. The change adds a graceful early return when the Python plugin has no packages to process.

Evaluated by: mr-cal-bot

No scores available.

Issue body

Return gracefully when no packages are provided in the package related commands, these are: - explicit python_packages - requirements files - setup.py directory LP: #1794216 Signed-off-by: Sergio Schvezov <sergio.schvezov@canonical.com> - [x] Have you followed the [guidelines for contributing](https://github.com/snapcore/snapcraft/blob/master/CONTRIBUTING.md)? - [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? - [x] Have you successfully run `./runtests.sh static`? - [x] Have you successfully run `./runtests.sh tests/unit`? -----

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged PR #2498 in commit 47141bf5c, making the Python plugin return gracefully when no packages, requirements files, or setup.py are provided.
stealth/space-bunny-alpha — closed resolved Merged PR #2498 (commit 47141bf5c), making the Python plugin return gracefully when no packages, requirements files, or setup.py directory are configured. Resolves LP: #1794216.
qwen/qwen3.6-35b-a3b — — Merged update to the Python plugin that gracefully returns when no packages are configured via explicit packages, requirements files, or setup.py. Approved, passed CI, and resolves LP: #1794216.
qwen3.6-35b-a3b-mtp-q6 — — Merged fix for the Python plugin to gracefully return when no packages are configured via explicit packages, requirements files, or setup.py. Resolves LP: #1794216. Achieved 100% diff coverage.

Update history

No update history recorded yet.

Related issues

No related issues found above the similarity threshold.