ci: fix failing tests
Metadata
Current evaluation
Merged after passing all CI checks and receiving two approvals. Fixed failing tests by adding an expected argument, pinning pygit2 below 1.15.0, and updating the Rust toolchain to 1.89 for maturin 1.12 compatibility.
Suggested action: —
No scores available.
Issue body
This PR:
- adds expected `ignore_outdated` arg in test_lifecycle.py
- pins max version of pygit2 to < 1.15.0 to work with libgit2-1.7
- updates rustc and cargo to 1.89 to work with maturin 1.12
IMAGECRAFT-103
---
- [x] I've followed the [contribution guidelines](https://github.com/canonical/imagecraft/blob/main/CONTRIBUTING.md).
- [x] I've signed the [CLA](http://www.ubuntu.com/legal/contributors/).
- [x] I've successfully run `make lint && make test`.
- [x] I've added or updated any relevant documentation.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Merged after passing all CI checks and receiving two approvals. Fixed failing tests by adding an expected argument, pinning pygit2 below 1.15.0, and updating the Rust toolchain to 1.89 for maturin 1.12 compatibility. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged. Resolved failing CI by adding the ignore_outdated argument to test_lifecycle.py, pinning pygit2 under 1.15.0 for libgit2-1.7 compatibility, and updating rustc and cargo to 1.89 for maturin 1.12. Addresses IMAGECRAFT-103. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged to fix failing CI tests. Added ignore_outdated arg to test_lifecycle.py, pinned pygit2 below 1.15.0 for libgit2-1.7, and updated rustc/cargo to 1.89 for maturin 1.12. Resolves IMAGECRAFT-103. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #4512 ci: pin pyright to 1.1.344 | snapcraft | merged | Merged a change pinning pyright to version 1.1.344 to prevent CI failures from breaking patch releases. Approved by two reviewers, passed all checks, and updated only the CI configuration file. | |
| #4420 ci: pin pyright | snapcraft | merged | Merged a one-line change pinning pyright in CI requirements for hotfix branches. Approved by one reviewer, passed all CI checks, and integrated successfully despite unrelated upstream test failures. |