deps: make python-apt dependency optional
Metadata
Current evaluation
Merged PR #455 as commit 047a8e55, making python-apt optional with graceful notification and adding developer convenience extras.
Resolution: closed resolved
Reason: The maintainer-approved PR was merged as commit 047a8e55, removing the hard dependency while providing guidance and package-specific extras.
Evaluated by: mr-cal-bot
No scores available.
Issue body
- [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
-----
OK, so this is a different mechanism for hopefully making the python-apt dependency easier to deal with.
1. `python-apt` is made an optional dependency with a graceful notification about it.
2. Several optional extras are added to specify a specific package for developer convenience.
Unfortunately, the second would not work without the first, at least not in any way I could figure out, as `python-apt` without a specified location would get an attempted install before the version with the specified location (rather than being deduplicated).
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #455 as commit 047a8e55, making python-apt optional with graceful notification and adding developer convenience extras. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged after approval; made python-apt optional with a graceful dependency notification and added convenience extras. | |
| qwen/qwen3.6-35b-a3b | — | — | Merged PR making python-apt an optional dependency with graceful fallback notifications and added optional extras for developer convenience. Approved, passed CI, and applied across 5 files (+44/-18 lines). | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged changes making python-apt an optional dependency with a graceful fallback notification. Added optional extras for developer convenience, resolving pip installation order and package deduplication conflicts. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #453 deps: make python-apt hard dependencies only for dev | craft-parts | closed | Closed unmerged; #454 rolled back its hard python-apt dependency, while merged #455 (047a8e55) replaced it with an optional dependency and development extras. | |
| #550 deps: remove python-apt from setup.py | craft-parts | merged | Merged via commit 078b430d, removing the direct python-apt dependency from setup.py after maintainer approval. | |
| #259 deps: update python-apt dependencies | rockcraft | merged | Merged in commit 0a28e180, updating python-apt dependency URLs to durable Launchpad links to avoid Ubuntu archive 404s. | |
| #454 deps: rollback hard dependency link for python-apt | craft-parts | merged | Merged #454 in commit 4b57abd3, rolling back the hard python-apt dependency after reassessing its suitability for application packaging. | |
| #1205 deps: update python-apt | charmcraft | merged | Dependabot-style PR bumping the python-apt dependency in charmcraft was merged as commit d31cd0b4, changing 3 lines across 3 files (requirements files/wheel URL). | |
| #1068 build(deps): update python-apt for plucky | craft-parts | merged | Merged PR #1068 in commit f1550977, updating python-apt for Ubuntu Plucky after two approvals; all CI checks passed. |