← Back to issue list

test(26.04): switch to Python 3.14

View original Github issue

Metadata

Project
charmcraft
Number
#2537
Type
pull request
State
merged
Author
lengau
Labels
Created
Updated
Closed

Current evaluation

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.

Suggested action:

No scores available.

Issue body

This switches the tests for the Ubuntu 26.04 base to use Python 3.14. Fixes: #2479 CHARMCRAFT-668 Failed lint & tests are unrelated --- - [x] I've followed the [contribution guidelines](https://github.com/canonical/charmcraft/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`. - [ ] I've added or updated any relevant documentation. - [ ] I've updated the relevant release notes.

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b 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.
qwen3.6-35b-a3b-mtp-q6 Merged update switching Ubuntu 26.04 test suite to Python 3.14. Resolves #2479 and CHARMCRAFT-668. Pre-existing lint and test failures were unrelated to these changes.
qwen3.6-35b-a3b-mtp-q6 Merged. Updated the Ubuntu 26.04 test suite to use Python 3.14, resolving issue #2479 and CHARMCRAFT-668. Initial lint and test failures were unrelated to this change.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#75 feat(test-python): Add Python 3.14 to the defaults starflow merged Merged after two approvals and passing all CI checks. The update adds Python 3.14 to the default test matrix to catch incompatibilities before core26. Modified one file with two line additions and two deletions.
80%
#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.
77%
#2479 Set Ubuntu 26.04 tests to use Python 3.14 charmcraft closed Closed and deferred. The test configuration update to Python 3.14 was postponed until the January 2026 default release, with no explicit resolution or merge details provided.
76%
#225 ci: test on Python 3.14 and Ubuntu 26.04 (Resolute) craft-archives merged Merged after two approvals and passing all CI checks. The update adds continuous integration testing for Python 3.14 and Ubuntu 26.04 (Resolute) using a dedicated self-hosted runner, modifying two files with minimal changes.
76%
#1605 Test on Python 3.14 and Ubuntu 26.04 (Resolute) craft-parts closed Abandoned. The requested CI updates for Python 3.14 and Ubuntu 26.04 were not implemented and the issue was closed.
74%
#189 ci: test on Python 3.14 and Ubuntu 26.04 (Resolute) craft-grammar open CI workflow update to add Python 3.14 and Ubuntu 26.04 testing; inactive for 79 days with 3 unresolved review comments and failing CI checks
74%
#90 ci: test on Python 3.14 and Ubuntu 26.04 (Resolute) craft-artifacts open Adds Python 3.14 and Ubuntu 26.04 (Resolute) CI testing. Approved by 1 reviewer but typecheck-with-ty CI check is failing and has been inactive for 91 days.
74%
#89 Test on Python 3.14 and Ubuntu 26.04 (Resolute) craft-artifacts open CI enhancement request to add Python 3.14 and Ubuntu 26.04 testing. Unlabelled, no maintainer engagement after 93 days.
73%
#617 test: make tests work in python 3.12+ craft-parts merged 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.
72%
#971 ci: test on Python 3.14 and Ubuntu 26.04 (Resolute) craft-providers closed Closed without merging due to unresolved review comments and multiple failing CI checks. The workflow updates for Python 3.14 and Ubuntu 26.04 remain abandoned.
72%