plugins: remove the python2 and python3 plugin when using a base
Metadata
Current evaluation
Merged changes remove deprecated python2 and python3 plugins when using a base, consolidating them into a single python plugin. Includes legacy mode checks. Approved, passed CI, and modified 13 files.
Suggested action: —
No scores available.
Issue body
The python2 and python3 plugins have been deprecated and consolidated
into a single python plugin.
The legacy_python spread tests are not base aware and should ensure
these plugins do not break when run in legacy mode.
LP: #1794797
Signed-off-by: Sergio Schvezov <sergio.schvezov@canonical.com>
- [ ] Have you followed the [guidelines for contributing](https://github.com/snapcore/snapcraft/blob/master/CONTRIBUTING.md)?
- [ ] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
- [ ] If this is a bugfix. Have you checked that there is a bug report open for the issue you are trying to fix on [bug reports](https://bugs.launchpad.net/snapcraft)?
- [ ] If this is a new feature. Have you discussed the design on the [forum](https://forum.snapcraft.io)?
- [ ] Have you successfully run `./runtests.sh static`?
- [ ] Have you successfully run `./runtests.sh tests/unit`?
-----
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Merged changes remove deprecated python2 and python3 plugins when using a base, consolidating them into a single python plugin. Includes legacy mode checks. Approved, passed CI, and modified 13 files. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged changes removing the deprecated python2 and python3 plugins when a base is specified. Consolidated functionality into a single python plugin while ensuring legacy spread tests remain compatible. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged. Removes deprecated python2 and python3 plugins when a base is specified, consolidating them into a single python plugin. Legacy spread tests were updated to maintain backward compatibility. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #2308 plugins: remove the copy plugin when using a base | snapcraft | merged | Merged into master. Removes the copy plugin when a base is specified. Updated spread tests to verify backwards compatibility. Approved by reviewer, passed CI, and integrated with a net reduction of 622 lines across eight files. | |
| #819 feat(plugins): create base Python plugin | craft-parts | merged | Merged a base Python plugin enabling multiple Python plugins with different build systems. Approved by two reviewers, passed CI, and modified five files with 384 additions and 164 deletions. | |
| #2319 plugins: remove the tar-content plugin when using a base | snapcraft | merged | Merged into master. Removes the tar-content plugin when a base is specified to preserve backwards compatibility. Approved by reviewer, passed CI checks, and increased coverage by 0.03%. |