plugins: remove the python2 and python3 plugin when using a base
Metadata
Current evaluation
Merged #2325 in commit 958b58615, removing deprecated python2/python3 plugins for base builds and retaining legacy-mode regression coverage for the unified python plugin.
Resolution: closed resolved
Reason: The approved PR was merged as commit 958b58615. It consolidates base-based Python handling under the python plugin and adds spread coverage to protect legacy-mode behavior.
Evaluated by: mr-cal-bot
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 |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged #2325 in commit 958b58615, removing deprecated python2/python3 plugins for base builds and retaining legacy-mode regression coverage for the unified python plugin. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged in snapcore/snapcraft#2325 via commit 958b58615, removing deprecated Python 2/3 plugins in favor of the unified Python plugin when using a base, with legacy-mode test coverage. | |
| 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. |
Update history
No update history recorded yet.
Related work
-
Related To:
snapcraft (launchpad)#1794797
(confidence 100%)
The associated Launchpad bug closed through this change.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1794797 Remove python2 and python3 | snapcraft (launchpad) | closed | Deprecated python2 and python3 plugins were removed for base-based builds by merged PR canonical/snapcraft#2325 (commit 958b58615); legacy-mode coverage was retained. | |
| #2308 plugins: remove the copy plugin when using a base | snapcraft | merged | Merged PR #2308 via commit 360453fa6, removing the copy plugin for base-based builds while preserving and testing legacy no-base compatibility. | |
| #2324 plugins: remove the ament plugin when using a base | snapcraft | merged | Merged PR #2324 (745c4d311), removing deprecated ament plugin support for base-based builds while retaining legacy-mode reachability through spread tests. |