deps: make python-apt dependency optional
Metadata
Current evaluation
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).
Suggested action: —
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 |
|---|---|---|---|---|
| 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 |
|---|---|---|---|---|
| #550 deps: remove python-apt from setup.py | craft-parts | merged | Merged a pull request removing the python-apt dependency from setup.py. Approved by a reviewer, passed CI checks, and modified 3 files. | |
| #450 deps: change python-apt dependencies to launchpad | craft-parts | merged | Merged an update replacing python-apt dependencies with launchpad. Approved by one reviewer, passed CI, and modified one file with three additions and three deletions. | |
| #1205 deps: update python-apt | charmcraft | merged | Successfully merged following single reviewer approval. The python-apt dependency update altered three files with three additions and three deletions, applying a routine package version bump. | |
| #259 deps: update python-apt dependencies | rockcraft | merged | Merged update to python-apt dependencies. Approved by two reviewers and passed CI. Maintainers confirmed merging regardless of pending craft-parts decisions, as stable Launchpad URLs prevent 404 errors. | |
| #1025 deps: update python-apt | charmcraft | merged | Merged maintainer lengau's dependency update for python-apt, integrating the latest source packages from each Ubuntu base's updates repository. Approved by one reviewer across three modified files. | |
| #453 deps: make python-apt hard dependencies only for dev | craft-parts | closed | Closed without merging. The change to restrict python-apt as a hard dependency only for development received zero reviews, comments, or CI checks over 1162 days and was abandoned due to inactivity. | |
| #454 deps: rollback hard dependency link for python-apt | craft-parts | merged | Merged a rollback of the hard dependency link for python-apt after the author realized the initial approach was over-optimistic for applications. Approved by one reviewer with passing CI checks, the change modifies one file with +1/-22 lines. | |
| #1068 build(deps): update python-apt for plucky | craft-parts | merged | Merged after approval from two reviewers and passing all CI checks. Updates the python-apt dependency for the Plucky release, modifying two files with 17 additions and 6 deletions. | |
| #1127 build(deps): update python-apt groups | rockcraft | merged | Merged after two approvals and passing CI checks. Updates python-apt groups to align with current Ubuntu distributions, removing oracular and plucky while adding resolute. |