test: make tests work in python 3.12+
Metadata
Current evaluation
Merged to update the test suite for Python 3.12+ compatibility. Approved by two reviewers, the change modifies five files (+36/-26 lines) to resolve version-specific test failures.
Suggested action: —
No scores available.
Issue body
- [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
-----
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Merged to update the test suite for Python 3.12+ compatibility. Approved by two reviewers, the change modifies five files (+36/-26 lines) to resolve version-specific test failures. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged updates to the test suite ensuring compatibility with Python 3.12 and later. The maintainer signed the CLA and the changes were accepted without further discussion. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1567 test: enable python 3.12 tests | charmcraft | merged | Python 3.12 test configuration was merged following approval from two reviewers and successful CI checks. The update modified four files, adjusting five lines to enable testing for the new Python version. | |
| #316 ci(test): run on 3.12 instead of 3.11 | craft-cli | merged | Merged CI configuration update switching test execution from Python 3.11 to 3.12. Approved by three reviewers, passed all checks, and maintained 94.51% coverage across two modified files. | |
| #595 fix(tests): fix a test broken in Python 3.12.8 | craft-application | merged | Merged a fix for a test failing after Python 3.12.8 updated argparse choices quoting. Approved by two reviewers, passed CI, and adjusted one file to match the new standard library behavior. | |
| #1398 tests: fix issues with python 3.6 | snapcraft | merged | Merged fix for Python 3.6 test compatibility. Approved by one reviewer, modified three files (+34/-7). Resolves Launchpad bug #1699009. | |
| #2537 test(26.04): switch to Python 3.14 | charmcraft | merged | Merged after two approvals. Switches Ubuntu 26.04 test suite to Python 3.14, resolving issue #2479. CI passed with unrelated failures noted. Updates five files to align test configurations with the new Python version. | |
| #3206 tests: add missing asserts to python unit tests | snapcraft | merged | Merged update adding missing asserts to Python unit tests. Fixed broken tests after removing virtual environment activate usage. Approved by one reviewer, passed CI, and modified one file with 22 additions and 16 deletions. | |
| #6159 test: fix core26 python tests | snapcraft | merged | Merged update to core26 Python spread tests, switching to Python 3.14. The change modified four files, passed code review, and completed most CI checks. |