feat: default to bare base for flask extension
Metadata
Current evaluation
Closed in favor of canonical/rockcraft#1086, which merged as commit 3fba20c2 and expanded the bare-base default to Flask, Django, and FastAPI extensions.
Resolution: closed superseded
Reason: PR #1087 was explicitly closed in favor of #1086 after discussion of compatibility and image-size motivation. PR #1086 was merged into main as commit 3fba20c2, implementing the broader bare-base default for Flask, Django, and FastAPI extensions.
Evaluated by: mr-cal-bot
No scores available.
Issue body
<!-- Describe your changes -->
Default to bare base for flask extension
---
- [ ] I've followed the [contribution guidelines](https://github.com/canonical/rockcraft/blob/main/CONTRIBUTING.md).
- [ ] I've signed the [CLA](http://www.ubuntu.com/legal/contributors/).
- [ ] I've successfully run `make lint && make test`.
- [ ] I've added or updated any relevant documentation.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed superseded | Closed in favor of canonical/rockcraft#1086, which merged as commit 3fba20c2 and expanded the bare-base default to Flask, Django, and FastAPI extensions. | |
| stealth/space-bunny-alpha | — | closed superseded | PR #1087 (flask-only bare base default) was closed unmerged by its author in favor of #1086, which extended the bare-base default to Flask, Django and FastAPI and merged as commit 3fba20c2. | |
| stealth/space-bunny-alpha | — | closed superseded | Closed in favor of #1086, which expanded the bare-base default to Flask, Django and FastAPI extensions and was merged into main. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed in favor of pull request 1086. The flask extension bare base default change was abandoned to consolidate efforts and address reviewer feedback regarding image size and potential project impacts. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Superseded by pull request #1086. The author closed this change to default the Flask extension to a bare base for smaller images, opting for an alternative implementation. |
Update history
No update history recorded yet.
Related work
-
Superseded By:
canonical/rockcraft#1086
(confidence 100%)
The author explicitly closed #1087 in favor of #1086; #1086 merged the broader implementation in commit 3fba20c2.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1083 feat: default to bare base for django extension | rockcraft | closed | Closed unmerged; its Django bare-base change was superseded by merged PR canonical/rockcraft#1086 (commit 3fba20c2), covering Django, Flask, and FastAPI. | |
| #1086 feat: default to bare base for flask, django and fastapi extensions | rockcraft | merged | Merged in rockcraft#1086 via commit 3fba20c2, making Flask, Django, and FastAPI extensions default to bare base to reduce image size and attack surface. | |
| #1084 feat: default to bare base for fastapi extension | rockcraft | closed | Superseded by #1086, merged in commit 3fba20c2 to default Flask, Django, and FastAPI extensions to bare bases. | |
| #1079 Default to bare base for django extension | rockcraft | closed | Closed unmerged and superseded by #1086, which merged commit 3fba20c2 to default the Flask, Django, and FastAPI extensions to a bare base. | |
| #1097 fix: spread tests and tutorials for extentions with default base bare | rockcraft | merged | Merged #1097 (commit a1505840), updating spread tests and tutorials after #1086 made bare the default base for Flask, Django, and FastAPI extensions. | |
| #1320 feat(extensions): support bare bases in V2 frameworks | rockcraft | merged | Merged #1320, adding bare-base support for FastAPI, Go, Flask, Django, and Spring Boot V2 extensions with tests for Ubuntu 24.04/V1 and 26.04/V2 selection. |