build: pin python-apt for oracular
Metadata
Current evaluation
Merged fix for oracular build failures caused by an incompatible python-apt wheel. Pins the package version for oracular to prevent accidental upgrades. Approved by two reviewers, passed CI, and modified two files.
Suggested action: —
No scores available.
Issue body
- [x] Have you followed the guidelines for contributing?
- [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
- [x] Have you successfully run `make lint && make test`?
---
`make setup` currently fails on oracular with the following error:
```
uv sync "--group=dev" "--group=dev-oracular" "--group=lint" "--group=types" "--group=dev-oracular" "--group=docs" "--group=dev-oracular"
error: Distribution `python-apt==2.9.9 @ registry+https://people.canonical.com/~lengau/python-apt-ubuntu-wheels/` can't be installed because it doesn't have a source distribution or wheel for the current platform
```
This was caused by a new wheel being uploaded to the index for plucky, which incidentally was incompatible with oracular. This PR pins `python-apt` for oracular to avoid this upgrade.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Merged fix for oracular build failures caused by an incompatible python-apt wheel. Pins the package version for oracular to prevent accidental upgrades. Approved by two reviewers, passed CI, and modified two files. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged a change pinning python-apt for the oracular build environment. This resolves a dependency installation failure caused by an incompatible plucky wheel, restoring successful make setup execution. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged a change pinning python-apt for the oracular build environment. This resolves a make setup failure triggered by an incompatible plucky wheel, restoring stable dependency resolution. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #5377 build: pin python-apt for oracular | snapcraft | merged | Merged a cherry-pick from imagecraft and rockcraft to pin python-apt for the Oracular release. Approved by two reviewers and passed CI checks. | |
| #129 build: pin python-apt for oracular | imagecraft | merged | Merged a cherry-pick from rockcraft PR #854 to pin python-apt for oracular, resolving a dependency issue in Imagecraft. Approved by two reviewers and merged despite failing spread tests on Ubuntu 20.04, 22.04, and 24.04. | |
| #206 build(deps): swap out oracular for questing for python-apt | imagecraft | merged | Merged a dependency update replacing the oracular codename with questing for python-apt. Approved by two reviewers, passed all CI checks, and modified two files. | |
| #5643 build(deps): swap out oracular for questing for python-apt | snapcraft | merged | Merged after passing all CI checks and receiving approval from two reviewers. The pull request updated the python-apt dependency by replacing the oracular codename with questing. |